summaryrefslogtreecommitdiffstats
path: root/include/surfaceflinger/ISurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/surfaceflinger/ISurface.h')
-rw-r--r--include/surfaceflinger/ISurface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/surfaceflinger/ISurface.h b/include/surfaceflinger/ISurface.h
index 472f759..9476686 100644
--- a/include/surfaceflinger/ISurface.h
+++ b/include/surfaceflinger/ISurface.h
@@ -47,12 +47,14 @@ protected:
POST_BUFFER, // one-way transaction
CREATE_OVERLAY,
REQUEST_BUFFER,
+ SET_BUFFER_COUNT,
};
public:
DECLARE_META_INTERFACE(Surface);
virtual sp<GraphicBuffer> requestBuffer(int bufferIdx, int usage) = 0;
+ virtual status_t setBufferCount(int bufferCount) = 0;
class BufferHeap {
public: