diff options
author | Mathias Agopian <mathias@google.com> | 2009-09-14 15:48:42 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-09-14 15:48:42 -0700 |
commit | 5a37cc51551efff88c780088ae8280f87b496472 (patch) | |
tree | 0669d146299c77fca34017150df537c1bfc49552 | |
parent | 803d1ab94a74d6205e749909633cec56c742ca44 (diff) | |
download | frameworks_av-5a37cc51551efff88c780088ae8280f87b496472.zip frameworks_av-5a37cc51551efff88c780088ae8280f87b496472.tar.gz frameworks_av-5a37cc51551efff88c780088ae8280f87b496472.tar.bz2 |
make sure to update the tail pointer when undoing a dequeue
-rw-r--r-- | include/private/ui/SharedBufferStack.h | 2 |
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); |