This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Galaxy S4 | |
---------- | |
01-08 15:33:18.620: V/RenderScript_jni(29270): RS native mode | |
01-08 15:33:18.640: V/RenderScript(29270): 0x72dba378 Launching thread(s), CPUs 4 | |
01-08 15:33:18.650: E/bcc(29270): Invalid RS info file /data/data/com.dss.renderscripttest/cache/com.android.renderscript.cache/grayscalefilter.o.info! (No such file or directory) | |
01-08 15:33:18.831: A/libc(29270): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 29283 (enderscripttest) | |
Galaxy S3 | |
--------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jp.co.cyberagent.android.gpuimage; | |
import static jp.co.cyberagent.android.gpuimage.GPUImageRenderer.CUBE; | |
import static jp.co.cyberagent.android.gpuimage.utils.TextureRotationUtils.TEXTURE_NO_ROTATION; | |
import java.nio.ByteBuffer; | |
import java.nio.ByteOrder; | |
import java.nio.FloatBuffer; | |
import java.nio.IntBuffer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//First, create a new class to be used as a callback. I have renamed this from javier's original source, to be in english | |
/////////GPUImageCallback.java | |
package jp.co.cyberagent.android.gpuimage; | |
import android.graphics.Bitmap; | |
public interface GPUImageCallback { | |
void callback(Bitmap image); | |
} |