diff options
author | Grace Kloba <klobag@google.com> | 2011-06-22 23:05:40 -0700 |
---|---|---|
committer | Grace Kloba <klobag@google.com> | 2011-06-22 23:05:40 -0700 |
commit | cf559377b750271472aa0a717bf3b7d34abc0b39 (patch) | |
tree | d7559dc48209ea1fe84c134ec5b83803dd5a1377 /tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java | |
parent | ea5f51909be34bdaec9d17320aaf25ffa56e76e9 (diff) | |
download | frameworks_base-cf559377b750271472aa0a717bf3b7d34abc0b39.zip frameworks_base-cf559377b750271472aa0a717bf3b7d34abc0b39.tar.gz frameworks_base-cf559377b750271472aa0a717bf3b7d34abc0b39.tar.bz2 |
Add onSurfaceTextureUpdated to the TextureView listener.
The app needs a way to throttle the producer side. Expose this to enable it.
Change-Id: I04b6a3fc444117a9fc2449fb87c3c834247c8ef1
Diffstat (limited to 'tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java')
-rw-r--r-- | tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java index 9bb5ba8..723f3e8 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java +++ b/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java @@ -85,6 +85,10 @@ public class GLTextureViewActivity extends Activity implements TextureView.Surfa } } + @Override + public void onSurfaceTextureUpdated(SurfaceTexture surface) { + } + private static class RenderThread extends Thread { private static final String LOG_TAG = "GLTextureView"; |