From 1da94dfed674e94edc37cdc8ef68530520edf169 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 27 Feb 2017 18:17:44 -0800 Subject: get rid of IGraphicBufferAlloc buffers can now be allocated in-process. Test: compile & run Bug: cleanup Change-Id: I3d4317a9bed20a6d8be2b7ac8fbb85738efb3657 --- cmds/flatland/GLHelper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmds/flatland/GLHelper.cpp') diff --git a/cmds/flatland/GLHelper.cpp b/cmds/flatland/GLHelper.cpp index 5c04f6cf19..dfc3e581fd 100644 --- a/cmds/flatland/GLHelper.cpp +++ b/cmds/flatland/GLHelper.cpp @@ -25,7 +25,6 @@ namespace android { GLHelper::GLHelper() : - mGraphicBufferAlloc(new GraphicBufferAlloc()), mDisplay(EGL_NO_DISPLAY), mContext(EGL_NO_CONTEXT), mDummySurface(EGL_NO_SURFACE), @@ -203,7 +202,7 @@ bool GLHelper::createNamedSurfaceTexture(GLuint name, uint32_t w, uint32_t h, sp* glConsumer, EGLSurface* surface) { sp producer; sp consumer; - BufferQueue::createBufferQueue(&producer, &consumer, mGraphicBufferAlloc); + BufferQueue::createBufferQueue(&producer, &consumer); sp glc = new GLConsumer(consumer, name, GL_TEXTURE_EXTERNAL_OES, false, true); glc->setDefaultBufferSize(w, h); -- cgit v1.2.3-59-g8ed1b