diff options
| author | 2013-07-16 20:11:18 +0000 | |
|---|---|---|
| committer | 2013-07-16 20:11:18 +0000 | |
| commit | 384f55fff01a9d0630b801abd016b82ded4c5984 (patch) | |
| tree | bd73507f8a3f61cfb7f8337e179698ed28245fd1 /libs | |
| parent | 65752b2b516204d890e59dbc395608d7dec0cff5 (diff) | |
| parent | b6a0ca7276017ac6d2e846a857d663941a5bd382 (diff) | |
Merge "Tweaks for forward compatibility" into stage-aosp-master
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/gui/GLConsumer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/gui/GLConsumer.cpp b/libs/gui/GLConsumer.cpp index bec0f9024a..dc46a51776 100644 --- a/libs/gui/GLConsumer.cpp +++ b/libs/gui/GLConsumer.cpp @@ -78,6 +78,13 @@ static float mtxRot90[16] = { static void mtxMul(float out[16], const float a[16], const float b[16]); +GLConsumer::GLConsumer(const sp<BufferQueue>& bq, GLuint tex, + GLenum texTarget, bool useFenceSync) : + ConsumerBase(bq), + mUseFenceSync(useFenceSync), + mTexTarget(texTarget) {} + + GLConsumer::GLConsumer(GLuint tex, bool allowSynchronousMode, GLenum texTarget, bool useFenceSync, const sp<BufferQueue> &bufferQueue) : ConsumerBase(bufferQueue == 0 ? new BufferQueue(allowSynchronousMode) : bufferQueue), |