mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
(Android) Camera - add logs
This commit is contained in:
parent
1cbe95858d
commit
05b70bab87
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user