summaryrefslogtreecommitdiff
path: root/include/gui/SurfaceTexture.h
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-04-15 18:15:13 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-04-15 18:15:13 -0700
commita36a302e92f4b6367663dec4ead42b67be4f9a5c (patch)
tree2d57b9bc5270941430eb6a9a2425a4b5c6902292 /include/gui/SurfaceTexture.h
parentecdd04ce8761fa42dbbf3802dc4d51ca767ff4f5 (diff)
parent4cb18881b55b82a24873ccd8e298bc2d5a9c17e5 (diff)
Merge "Fix a GraphicBuffer leak in SurfaceTexture"
Diffstat (limited to 'include/gui/SurfaceTexture.h')
-rw-r--r--include/gui/SurfaceTexture.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h
index 585d288ed2..340daaf14e 100644
--- a/include/gui/SurfaceTexture.h
+++ b/include/gui/SurfaceTexture.h
@@ -248,12 +248,6 @@ private:
// allocate new GraphicBuffer objects.
sp<IGraphicBufferAlloc> mGraphicBufferAlloc;
- // mAllocdBuffers is mirror of the list of buffers that SurfaceFlinger is
- // referencing. This is kept so that gralloc implementations do not need to
- // properly handle the case where SurfaceFlinger no longer holds a reference
- // to a buffer, but other processes do.
- Vector<sp<GraphicBuffer> > mAllocdBuffers;
-
// mFrameAvailableListener is the listener object that will be called when a
// new frame becomes available. If it is not NULL it will be called from
// queueBuffer.