diff options
Diffstat (limited to 'graphics/java/android/renderscript/RSTextureView.java')
-rw-r--r-- | graphics/java/android/renderscript/RSTextureView.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/java/android/renderscript/RSTextureView.java b/graphics/java/android/renderscript/RSTextureView.java index f63ae8d..6046ee1 100644 --- a/graphics/java/android/renderscript/RSTextureView.java +++ b/graphics/java/android/renderscript/RSTextureView.java @@ -94,6 +94,12 @@ public class RSTextureView extends TextureView implements TextureView.SurfaceTex } } + @Override + public void onSurfaceTextureUpdated(SurfaceTexture surface) { + //Log.e(RenderScript.LOG_TAG, "onSurfaceTextureUpdated"); + mSurfaceTexture = surface; + } + /** * Inform the view that the activity is paused. The owner of this view must * call this method when the activity is paused. Calling this method will |