diff options
author | Mathias Agopian <mathias@google.com> | 2010-04-30 12:58:11 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-04-30 12:58:11 -0700 |
commit | 30c4c182ec4b35964460dcd74c541bfd9e6afbdc (patch) | |
tree | 6eb9aa4445569e01aeb8938a4fb9c419b135c7c6 /include | |
parent | bfe2180f5c097417eb70d97a0cb3834b6398b335 (diff) | |
parent | c0a9164e9ea5d1d0ee6fbf9ea2ff51318bd78e23 (diff) | |
download | frameworks_native-30c4c182ec4b35964460dcd74c541bfd9e6afbdc.zip frameworks_native-30c4c182ec4b35964460dcd74c541bfd9e6afbdc.tar.gz frameworks_native-30c4c182ec4b35964460dcd74c541bfd9e6afbdc.tar.bz2 |
Merge "Add support for enqueuing buffers in arbitrary order" into kraken
Diffstat (limited to 'include')
-rw-r--r-- | include/private/surfaceflinger/SharedBufferStack.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/private/surfaceflinger/SharedBufferStack.h b/include/private/surfaceflinger/SharedBufferStack.h index dc53d6a..2504d39 100644 --- a/include/private/surfaceflinger/SharedBufferStack.h +++ b/include/private/surfaceflinger/SharedBufferStack.h @@ -118,9 +118,10 @@ public: // not part of the conditions volatile int32_t reallocMask; + volatile int8_t index[NUM_BUFFER_MAX]; int32_t identity; // surface's identity (const) - int32_t reserved32[6]; + int32_t reserved32[2]; Statistics stats; int32_t reserved; BufferData buffers[NUM_BUFFER_MAX]; // 960 bytes @@ -249,6 +250,7 @@ private: int32_t tail; int32_t undoDequeueTail; + int32_t queued_head; // statistics... nsecs_t mDequeueTime[NUM_BUFFER_MAX]; }; |