Hi All,
I started to play with SurfaceTexture as Camera preview output but I'm seeing
tons of these warnings on LogCat console (I'm guessing it's per frame at pretty
close to 60FPS);
05-16 12:36:03.620: W/SurfaceTexture(12842): [unnamed-12842-0] updateTexImage:
clearing GL error: 0x502
I'm a bit uncertain whether this is a problem with Samsung Galaxy S2 I'm using,
or the way I'm utilizing SurfaceTexture, which is simply a flag for triggering
SurfaceTexture.updateTexImage() once new frame is available (I'm using
RENDER_WHEN_DIRTY);
@Override
public synchronized void onDrawFrame(GL10 unused) {
…
if (mSurfaceTextureUpdate) {
mSurfaceTexture.updateTexImage();
mSurfaceTexture.getTransformMatrix(mTransformM);
mSurfaceTextureUpdate = false;
…
}
@Override
public synchronized void onFrameAvailable(SurfaceTexture surfaceTexture) {
mSurfaceTextureUpdate = true;
requestRender();
}
Any ideas what might be causing this, and most importantly, should I pay much
attention to this at all as application seems to work 100% ok?
--
H
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en