summaryrefslogtreecommitdiffstats
path: root/include/surfaceflinger/IGraphicBufferAlloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/surfaceflinger/IGraphicBufferAlloc.h')
-rw-r--r--include/surfaceflinger/IGraphicBufferAlloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/surfaceflinger/IGraphicBufferAlloc.h b/include/surfaceflinger/IGraphicBufferAlloc.h
index 43c150b..7eadfd8 100644
--- a/include/surfaceflinger/IGraphicBufferAlloc.h
+++ b/include/surfaceflinger/IGraphicBufferAlloc.h
@@ -45,6 +45,9 @@ public:
* the server is referencing, then all buffers are freed.
*/
virtual void freeAllGraphicBuffersExcept(int bufIndex) = 0;
+
+ /* Free the GraphicBuffer at the specified index */
+ virtual void freeGraphicBufferAtIndex(int bufIndex) = 0;
#endif
};