From 2be352adab7f11646fda7c0240e496bbb37f7bd1 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 21 May 2010 17:24:35 -0700 Subject: added the notion of fixed-size buffers the new native_window_set_buffers_geometry allows to specify a size and format for all buffers to be dequeued. the buffer will be scalled to the window's size. Change-Id: I2c378b85c88d29cdd827a5f319d5c704d79ba381 --- include/private/surfaceflinger/SharedBufferStack.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/private') diff --git a/include/private/surfaceflinger/SharedBufferStack.h b/include/private/surfaceflinger/SharedBufferStack.h index de54870..ea8391d 100644 --- a/include/private/surfaceflinger/SharedBufferStack.h +++ b/include/private/surfaceflinger/SharedBufferStack.h @@ -279,7 +279,8 @@ public: ssize_t retireAndLock(); status_t unlock(int buffer); void setStatus(status_t status); - status_t reallocate(); + status_t reallocateAll(); + status_t reallocateAllExcept(int buffer); status_t assertReallocate(int buffer); int32_t getQueuedCount() const; Region getDirtyRegion(int buffer) const; -- cgit v1.1