summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-02-02 15:31:47 -0800
committerJamie Gennis <jgennis@google.com>2011-02-02 15:31:47 -0800
commit1b20cde313b5ef8acdace742328df867956d24cb (patch)
tree7eeaecec6762584eb44c51a08e8e4a23b0dd8ef3 /opengl/tests/gl_basic/gl_basic.cpp
parent1aac40d85319665e5281e4f57c79984944dae5ee (diff)
Pass the IGraphicBufferAlloc to SurfaceTextureClient.
This change passes a reference to the IGraphicBufferAlloc binder object to SurfaceTextureClient objects. When STC objects are created they query their associated ISurfaceTexture object for the IGraphicBufferAlloc that the SurfaceTexture uses to allocate buffers. Having the SurfaceTextureClient hold this reference prevents the GraphicBufferAlloc in SurfaceFlinger from freeing the allocated buffers before the SurfaceTextureClient is done with them. Change-Id: Ib8e30e8b37fdd60438cbb4cb7e9174d0ba6d661c related-bug: 3362519
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions