diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2013-07-16 09:38:03 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2013-07-16 09:38:03 -0700 |
commit | b6a0ca7276017ac6d2e846a857d663941a5bd382 (patch) | |
tree | a14816ba758516137334023f1127c75da66d241d /include | |
parent | 9da67a9427f695128b5da61c8f987fd9198a5e05 (diff) | |
download | frameworks_native-b6a0ca7276017ac6d2e846a857d663941a5bd382.zip frameworks_native-b6a0ca7276017ac6d2e846a857d663941a5bd382.tar.gz frameworks_native-b6a0ca7276017ac6d2e846a857d663941a5bd382.tar.bz2 |
Tweaks for forward compatibility
Change-Id: Id6a96521b3fd5bd2a034fe89cfa4d3a179a66328
Diffstat (limited to 'include')
-rw-r--r-- | include/gui/GLConsumer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/GLConsumer.h b/include/gui/GLConsumer.h index f0a75dc..1ef54f5 100644 --- a/include/gui/GLConsumer.h +++ b/include/gui/GLConsumer.h @@ -85,6 +85,9 @@ public: // purely to allow a GLConsumer to be transferred from one consumer // context to another. If such a transfer is not needed there is no // requirement that either of these methods be called. + GLConsumer(const sp<BufferQueue>& bq, + GLuint tex, GLenum texTarget = GL_TEXTURE_EXTERNAL_OES, + bool useFenceSync = true); GLConsumer(GLuint tex, bool allowSynchronousMode = true, GLenum texTarget = GL_TEXTURE_EXTERNAL_OES, bool useFenceSync = true, const sp<BufferQueue> &bufferQueue = 0); |