Skip to content

Instantly share code, notes, and snippets.

View lukesleeman's full-sized avatar

Luke Sleeman lukesleeman

View GitHub Profile
@lukesleeman
lukesleeman / Calling the code
Created August 5, 2013 01:19
Terrible hacks to GPUImage to get a bitmap of the rendered image on samsung galaxy Y
GPUImageRenderer.SAVE_TO_BITMAP = true;
GPUImageRenderer.SAVED_CALLBACK = new Runnable() {
@Override
public void run() {
Utility.debugDumpBitmap(ResizeActivity.this, GPUImageRenderer.SAVED_BITMAP);
}
};
glSurfaceView.requestRender();
/*
* 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