summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-05-21 14:51:33 -0700
committerMathias Agopian <mathias@google.com>2010-05-24 13:47:24 -0700
commit57d89899c9fb978a1c097f298aa94c5db1f61bb6 (patch)
tree85e1c021f67a2fdb5ed33547872a769b7d55fba6 /include/private
parent884372842bac11f854aa42a9c4de05a3a22cb11f (diff)
downloadframeworks_base-57d89899c9fb978a1c097f298aa94c5db1f61bb6.zip
frameworks_base-57d89899c9fb978a1c097f298aa94c5db1f61bb6.tar.gz
frameworks_base-57d89899c9fb978a1c097f298aa94c5db1f61bb6.tar.bz2
fix a bug when reallocating a window's buffers is needed
we need to mark the buffers that need to be reallocated, NOT the buffer's indices. Change-Id: I809e2e1b03b56c4d2ab983c25523dae99aa1da74
Diffstat (limited to 'include/private')
-rw-r--r--include/private/surfaceflinger/SharedBufferStack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/private/surfaceflinger/SharedBufferStack.h b/include/private/surfaceflinger/SharedBufferStack.h
index c3ac317..de54870 100644
--- a/include/private/surfaceflinger/SharedBufferStack.h
+++ b/include/private/surfaceflinger/SharedBufferStack.h
@@ -303,6 +303,7 @@ private:
: mCapacity(c), mList(0) { }
status_t add(int value);
status_t remove(int value);
+ uint32_t getMask() const { return mList; }
class const_iterator {
friend class BufferList;