diff options
author | 2010-05-07 15:58:44 -0700 | |
---|---|---|
committer | 2010-05-12 17:28:20 -0700 | |
commit | b5b7f260da2c1a2a82e0311e2015d49a82f43667 (patch) | |
tree | 69976a2b04a39bfce83035777ea8d35e4a5fc401 /libs/surfaceflinger/LayerBase.cpp | |
parent | d606de6bb6877dc4ab93ec0be0c6bda4a8ee1ce8 (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 7d8d43ffb6..63b9520e03 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) { |