summaryrefslogtreecommitdiffstats
path: root/tests
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
commit83bac216a7ba8493a7916e40b2555e73c3a5cc1a (patch)
treeff57384d2f89f0dd958add05408179b537dc973f /tests
parentb799314e64d5afe050aeee394f0c29d7728c1e22 (diff)
downloadframeworks_base-83bac216a7ba8493a7916e40b2555e73c3a5cc1a.zip
frameworks_base-83bac216a7ba8493a7916e40b2555e73c3a5cc1a.tar.gz
frameworks_base-83bac216a7ba8493a7916e40b2555e73c3a5cc1a.tar.bz2
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 'tests')
0 files changed, 0 insertions, 0 deletions