summaryrefslogtreecommitdiffstats
path: root/libs/gui/tests/SurfaceTextureGL.h
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2014-06-24 13:09:19 -0700
committerDan Stoza <stoza@google.com>2014-06-24 13:09:19 -0700
commite49ba8e2ed8e17156eb00c8fc8e2285df62bc018 (patch)
tree75c16e16f849b08d9f377c75bad708d6510e7388 /libs/gui/tests/SurfaceTextureGL.h
parentb410863d6aae1e923ff163942adef01ff6a2ea81 (diff)
downloadframeworks_native-e49ba8e2ed8e17156eb00c8fc8e2285df62bc018.zip
frameworks_native-e49ba8e2ed8e17156eb00c8fc8e2285df62bc018.tar.gz
frameworks_native-e49ba8e2ed8e17156eb00c8fc8e2285df62bc018.tar.bz2
GLConsumer: Stop using default constructor params
Removes the dependency on default constructor parameters for GLConsumer so that a different constructor prototype can safely be added. Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680
Diffstat (limited to 'libs/gui/tests/SurfaceTextureGL.h')
-rw-r--r--libs/gui/tests/SurfaceTextureGL.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gui/tests/SurfaceTextureGL.h b/libs/gui/tests/SurfaceTextureGL.h
index 3bff192..53eb68c 100644
--- a/libs/gui/tests/SurfaceTextureGL.h
+++ b/libs/gui/tests/SurfaceTextureGL.h
@@ -39,7 +39,8 @@ protected:
GLTest::SetUp();
sp<IGraphicBufferProducer> producer;
BufferQueue::createBufferQueue(&producer, &mConsumer);
- mST = new GLConsumer(mConsumer, TEX_ID);
+ mST = new GLConsumer(mConsumer, TEX_ID, GLConsumer::TEXTURE_EXTERNAL,
+ true, false);
mSTC = new Surface(producer);
mANW = mSTC;
mTextureRenderer = new TextureRenderer(TEX_ID, mST);