From 5c23a2c72d1c3d2c423355ae301e0822e1662b9f Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Tue, 19 Jul 2011 14:32:36 -0700 Subject: SurfaceTexture: remove getAllocator This change removes the SurfaceTexture::getAllocator method, as it's no longer needed. Proper refcounting of the Gralloc buffers is now handled by the IGraphicBufferAlloc binder marshalling code. Change-Id: I5cffa6ebfc1bc5828fb7ce0e0a5b2f55cd8479da --- include/gui/SurfaceTextureClient.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/gui/SurfaceTextureClient.h') diff --git a/include/gui/SurfaceTextureClient.h b/include/gui/SurfaceTextureClient.h index 829d8abf7057..56f029f0c254 100644 --- a/include/gui/SurfaceTextureClient.h +++ b/include/gui/SurfaceTextureClient.h @@ -106,10 +106,6 @@ private: // interactions with the server using this interface. sp mSurfaceTexture; - // mAllocator is the binder object that is referenced to prevent the - // dequeued buffers from being freed prematurely. - sp 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 -- cgit v1.2.3-59-g8ed1b