commit | 68f929b84acf0c985b9ae3157322c022798e5eb2 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Fri May 21 14:51:33 2010 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon May 24 13:47:24 2010 -0700 |
tree | 07960003b243ae58aeecabf83a4e47c78e5d83b6 | |
parent | 1cb8fa1e670786bf83ccde7571c5ac1fc087d4f1 [diff] |
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
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 @@ : 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;