summaryrefslogtreecommitdiffstats
path: root/include/gui
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-11-21 21:08:21 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-11-21 21:08:21 -0800
commit185a0a0420f54f9588ec1c7230313023a7a2259b (patch)
tree23d876bbd016d646640bb987af569b461637c09f /include/gui
parent74f99062628d053037538f51eb4e83824269aae0 (diff)
parentf59fa92c300754fb5e203892bf28167459733289 (diff)
downloadframeworks_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.h4
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