summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2011-06-22 23:05:40 -0700
committerGrace Kloba <klobag@google.com>2011-06-22 23:05:40 -0700
commitcf559377b750271472aa0a717bf3b7d34abc0b39 (patch)
treed7559dc48209ea1fe84c134ec5b83803dd5a1377 /tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java
parentea5f51909be34bdaec9d17320aaf25ffa56e76e9 (diff)
downloadframeworks_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.java4
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";