diff options
author | Jamie Gennis <jgennis@google.com> | 2011-11-21 21:08:21 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-11-21 21:08:21 -0800 |
commit | 185a0a0420f54f9588ec1c7230313023a7a2259b (patch) | |
tree | 23d876bbd016d646640bb987af569b461637c09f /include/gui | |
parent | 74f99062628d053037538f51eb4e83824269aae0 (diff) | |
parent | f59fa92c300754fb5e203892bf28167459733289 (diff) | |
download | frameworks_native-185a0a0420f54f9588ec1c7230313023a7a2259b.zip frameworks_native-185a0a0420f54f9588ec1c7230313023a7a2259b.tar.gz frameworks_native-185a0a0420f54f9588ec1c7230313023a7a2259b.tar.bz2 |
am c2597295: am 53cf2020: Merge changes I37fd43b5,I91eb29db,I0491ce35 into ics-mr1
* commit 'c25972950c2ea62fb085524dbe737c2bf0f08f4a':
SurfaceTexture: fix a couple tests
EGL: default to swap interval 1
SurfaceTexture: clean up some tests
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/SurfaceTexture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h index 27d863d..15c2bab 100644 --- a/include/gui/SurfaceTexture.h +++ b/include/gui/SurfaceTexture.h @@ -202,6 +202,10 @@ public: // getCurrentScalingMode returns the scaling mode of the current buffer uint32_t getCurrentScalingMode() const; + // isSynchronousMode returns whether the SurfaceTexture is currently in + // synchronous mode. + bool isSynchronousMode() const; + // abandon frees all the buffers and puts the SurfaceTexture into the // 'abandoned' state. Once put in this state the SurfaceTexture can never // leave it. When in the 'abandoned' state, all methods of the |