diff options
author | Mathias Agopian <mathias@google.com> | 2010-05-21 17:24:35 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-05-24 18:26:01 -0700 |
commit | a138f89c5e78b7e8994823e97d6e860869762837 (patch) | |
tree | 9d11e5f9ee406798070a5cb335390147ae1dffa5 /include/private | |
parent | a0b3f1d2eb796eb90a7576c13890ab8df8516d9d (diff) | |
download | frameworks_native-a138f89c5e78b7e8994823e97d6e860869762837.zip frameworks_native-a138f89c5e78b7e8994823e97d6e860869762837.tar.gz frameworks_native-a138f89c5e78b7e8994823e97d6e860869762837.tar.bz2 |
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
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/surfaceflinger/SharedBufferStack.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |