summaryrefslogtreecommitdiffstats
path: root/include/private
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
commit5a37cc51551efff88c780088ae8280f87b496472 (patch)
tree0669d146299c77fca34017150df537c1bfc49552 /include/private
parent803d1ab94a74d6205e749909633cec56c742ca44 (diff)
downloadframeworks_av-5a37cc51551efff88c780088ae8280f87b496472.zip
frameworks_av-5a37cc51551efff88c780088ae8280f87b496472.tar.gz
frameworks_av-5a37cc51551efff88c780088ae8280f87b496472.tar.bz2
make sure to update the tail pointer when undoing a dequeue
Diffstat (limited to 'include/private')
-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);