diff options
author | 2010-05-07 15:58:44 -0700 | |
---|---|---|
committer | 2010-05-12 17:28:20 -0700 | |
commit | 59751dbf7d8f12aeb5c4c07719b7dbbf1f9b5d4b (patch) | |
tree | a1f1d7119a8109d06cfc2f24b26284ff7627de7a /libs/surfaceflinger/LayerBase.cpp | |
parent | 9f2c4fd9a14ea79e4cbbd3ab8925794711a6411c (diff) |
SharedBufferStack now can grow up to 16 buffers.
there is a new resize() api, which currently only allows growing.
Change-Id: Ia37b81b73be466d2491ffed7f3a23cd8e113c6fe
Diffstat (limited to 'libs/surfaceflinger/LayerBase.cpp')
-rw-r--r-- | libs/surfaceflinger/LayerBase.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp index 7d8d43ffb601..63b9520e03af 100644 --- a/libs/surfaceflinger/LayerBase.cpp +++ b/libs/surfaceflinger/LayerBase.cpp @@ -621,6 +621,11 @@ sp<GraphicBuffer> LayerBaseClient::Surface::requestBuffer(int index, int usage) return NULL; } +status_t LayerBaseClient::Surface::setBufferCount(int bufferCount) +{ + return INVALID_OPERATION; +} + status_t LayerBaseClient::Surface::registerBuffers( const ISurface::BufferHeap& buffers) { |