summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-07-29 11:04:51 -0400
committerDerek Sollenberger <djsollen@google.com>2011-07-29 11:06:24 -0400
commit0e4afa1fb10c0ab0878b136a1c11ea27129c7e81 (patch)
treef08822735b4dc61978a1a65592f26420ddfc0885
parentbd1dee94dfe2e1d7564cae3c8c6be53cc4e66998 (diff)
downloadframeworks_base-0e4afa1fb10c0ab0878b136a1c11ea27129c7e81.zip
frameworks_base-0e4afa1fb10c0ab0878b136a1c11ea27129c7e81.tar.gz
frameworks_base-0e4afa1fb10c0ab0878b136a1c11ea27129c7e81.tar.bz2
Adding an optional param to the SurfaceTexture constructor.
Change-Id: I0fdbccf483a16af8039b85c0562f19a34ebce536
-rw-r--r--include/gui/SurfaceTexture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h
index 5a9e86f..946afb9 100644
--- a/include/gui/SurfaceTexture.h
+++ b/include/gui/SurfaceTexture.h
@@ -22,7 +22,7 @@ namespace android {
struct SurfaceTexture {
struct FrameAvailableListener : public virtual RefBase {};
- SurfaceTexture(GLuint) {}
+ SurfaceTexture(GLuint, bool allowSynchronousMode = true) {}
void updateTexImage() {}
void decStrong(android::sp<android::SurfaceTexture>* const) {}
void incStrong(android::sp<android::SurfaceTexture>* const) {}