diff options
author | Dan Stoza <stoza@google.com> | 2014-06-25 17:03:50 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-06-25 03:38:12 +0000 |
commit | 0479c3b23efdff9892f307172a2f261a2129acc8 (patch) | |
tree | c62a0c048f4f8702e467813de80930704090a010 /media | |
parent | 6e45f30718e6dd08b6bb5c5f432c8266241252fc (diff) | |
parent | ffdbe97f8e8e6381ab1c794c26386060acbc9bbe (diff) | |
download | frameworks_base-0479c3b23efdff9892f307172a2f261a2129acc8.zip frameworks_base-0479c3b23efdff9892f307172a2f261a2129acc8.tar.gz frameworks_base-0479c3b23efdff9892f307172a2f261a2129acc8.tar.bz2 |
Merge "GLConsumer: Stop using default constructor params"
Diffstat (limited to 'media')
-rw-r--r-- | media/mca/filterfw/native/core/gl_env.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/mca/filterfw/native/core/gl_env.cpp b/media/mca/filterfw/native/core/gl_env.cpp index f092af8..c9d33da 100644 --- a/media/mca/filterfw/native/core/gl_env.cpp +++ b/media/mca/filterfw/native/core/gl_env.cpp @@ -165,7 +165,8 @@ bool GLEnv::InitWithNewContext() { sp<IGraphicBufferProducer> producer; sp<IGraphicBufferConsumer> consumer; BufferQueue::createBufferQueue(&producer, &consumer); - surfaceTexture_ = new GLConsumer(consumer, 0); + surfaceTexture_ = new GLConsumer(consumer, 0, GLConsumer::TEXTURE_EXTERNAL, + true, false); window_ = new Surface(producer); surfaces_[0] = SurfaceWindowPair(eglCreateWindowSurface(display(), config, window_.get(), NULL), NULL); |