Skip to content

Instantly share code, notes, and snippets.

Avatar

Luke Sleeman lukesleeman

View GitHub Profile
@lukesleeman
lukesleeman / Calling the code
Created Aug 5, 2013
Terrible hacks to GPUImage to get a bitmap of the rendered image on samsung galaxy Y
View Calling the code
GPUImageRenderer.SAVE_TO_BITMAP = true;
GPUImageRenderer.SAVED_CALLBACK = new Runnable() {
@Override
public void run() {
Utility.debugDumpBitmap(ResizeActivity.this, GPUImageRenderer.SAVED_BITMAP);
}
};
glSurfaceView.requestRender();
View GPUImageBulgeDistortionFilter.java
/*
* Copyright (C) 2012 CyberAgent
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software