summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-04-30 12:58:11 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-04-30 12:58:11 -0700
commit30c4c182ec4b35964460dcd74c541bfd9e6afbdc (patch)
tree6eb9aa4445569e01aeb8938a4fb9c419b135c7c6 /include
parentbfe2180f5c097417eb70d97a0cb3834b6398b335 (diff)
parentc0a9164e9ea5d1d0ee6fbf9ea2ff51318bd78e23 (diff)
downloadframeworks_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.h4
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];
};