summaryrefslogtreecommitdiffstats
path: root/include/private/ui
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-09-14 15:48:42 -0700
committerMathias Agopian <mathias@google.com>2009-09-14 15:48:42 -0700
commitc7d56010815b0e7104dfc1d4bba6d16cdcbffec4 (patch)
treeb9b3a22c43414ae2dbd978252d4f8fda5b8b055f /include/private/ui
parent46cd3afb0228dd18c5d67d2ef7e3620fcc4cc239 (diff)
downloadframeworks_native-c7d56010815b0e7104dfc1d4bba6d16cdcbffec4.zip
frameworks_native-c7d56010815b0e7104dfc1d4bba6d16cdcbffec4.tar.gz
frameworks_native-c7d56010815b0e7104dfc1d4bba6d16cdcbffec4.tar.bz2
make sure to update the tail pointer when undoing a dequeue
Diffstat (limited to 'include/private/ui')
-rw-r--r--include/private/ui/SharedBufferStack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/ui/SharedBufferStack.h b/include/private/ui/SharedBufferStack.h
index 6181f55..8b0f154 100644
--- a/include/private/ui/SharedBufferStack.h
+++ b/include/private/ui/SharedBufferStack.h
@@ -228,6 +228,8 @@ private:
friend struct Condition;
friend struct DequeueCondition;
friend struct LockCondition;
+
+ int32_t computeTail() const;
struct QueueUpdate : public UpdateBase {
inline QueueUpdate(SharedBufferBase* sbb);