mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
(Android) Camera- take out excessive logging spam
This commit is contained in:
parent
c3eb6b1791
commit
4df7eabd79
@ -20,7 +20,6 @@ public final class RetroActivity extends NativeActivity
|
|||||||
|
|
||||||
public void onCameraStart()
|
public void onCameraStart()
|
||||||
{
|
{
|
||||||
Log.i("RetroActivity", "onCameraStart");
|
|
||||||
mCamera.startPreview();
|
mCamera.startPreview();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,7 +75,6 @@ public final class RetroActivity extends NativeActivity
|
|||||||
@SuppressLint("NewApi")
|
@SuppressLint("NewApi")
|
||||||
public void onCameraTextureInit(int gl_texid)
|
public void onCameraTextureInit(int gl_texid)
|
||||||
{
|
{
|
||||||
Log.e("RetroActivity", "onCameraTextureInit" + gl_texid);
|
|
||||||
texture = new SurfaceTexture(gl_texid);
|
texture = new SurfaceTexture(gl_texid);
|
||||||
texture.setOnFrameAvailableListener(onCameraFrameAvailableListener);
|
texture.setOnFrameAvailableListener(onCameraFrameAvailableListener);
|
||||||
}
|
}
|
||||||
@ -86,7 +84,6 @@ public final class RetroActivity extends NativeActivity
|
|||||||
new SurfaceTexture.OnFrameAvailableListener() {
|
new SurfaceTexture.OnFrameAvailableListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
public void onFrameAvailable(SurfaceTexture surfaceTexture) {
|
||||||
Log.e("RetroActivity", "onFrameAvailable");
|
|
||||||
updateSurface = true;
|
updateSurface = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -94,7 +91,6 @@ public final class RetroActivity extends NativeActivity
|
|||||||
@SuppressLint("NewApi")
|
@SuppressLint("NewApi")
|
||||||
public void onCameraSetTexture(int gl_texid) throws IOException
|
public void onCameraSetTexture(int gl_texid) throws IOException
|
||||||
{
|
{
|
||||||
Log.i("RetroActivity", "onCameraSetTexture: " + gl_texid);
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
|
||||||
{
|
{
|
||||||
if (texture == null)
|
if (texture == null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user