(Android) Camera - add logs

This commit is contained in:
twinaphex 2013-11-20 23:57:35 +01:00
parent 1cbe95858d
commit 05b70bab87

View File

@ -76,6 +76,7 @@ public final class RetroActivity extends NativeActivity
@SuppressLint("NewApi")
public void onCameraTextureInit(int gl_texid)
{
Log.e("RetroActivity", "onCameraTextureInit" + gl_texid);
texture = new SurfaceTexture(gl_texid);
texture.setOnFrameAvailableListener(onCameraFrameAvailableListener);
}
@ -85,6 +86,7 @@ public final class RetroActivity extends NativeActivity
new SurfaceTexture.OnFrameAvailableListener() {
@Override
public void onFrameAvailable(SurfaceTexture surfaceTexture) {
Log.e("RetroActivity", "onFrameAvailable");
updateSurface = true;
}
};