summaryrefslogtreecommitdiff
path: root/include/gui/SurfaceTextureClient.h
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2011-02-02 15:53:33 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2011-02-02 15:53:33 -0800
commitecb4b3f02340e21eefabbea78559e85ec7ee0089 (patch)
tree82004007e17620d7e1278f34612df79a8a990984 /include/gui/SurfaceTextureClient.h
parentd31fed90f8fdf854cade08af94918066af921d74 (diff)
parent83bac216a7ba8493a7916e40b2555e73c3a5cc1a (diff)
Merge "Pass the IGraphicBufferAlloc to SurfaceTextureClient." into honeycomb
Diffstat (limited to 'include/gui/SurfaceTextureClient.h')
-rw-r--r--include/gui/SurfaceTextureClient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gui/SurfaceTextureClient.h b/include/gui/SurfaceTextureClient.h
index dd1d490aebb9..ff2251d893a8 100644
--- a/include/gui/SurfaceTextureClient.h
+++ b/include/gui/SurfaceTextureClient.h
@@ -83,6 +83,10 @@ private:
// interactions with the server using this interface.
sp<ISurfaceTexture> mSurfaceTexture;
+ // mAllocator is the binder object that is referenced to prevent the
+ // dequeued buffers from being freed prematurely.
+ sp<IBinder> mAllocator;
+
// mSlots stores the buffers that have been allocated for each buffer slot.
// It is initialized to null pointers, and gets filled in with the result of
// ISurfaceTexture::requestBuffer when the client dequeues a buffer from a