summaryrefslogtreecommitdiff
path: root/libs/gui/BufferItem.cpp
diff options
context:
space:
mode:
author Pablo Ceballos <pceballos@google.com> 2016-01-08 12:15:22 -0800
committer Pablo Ceballos <pceballos@google.com> 2016-02-02 11:15:47 -0800
commit23b4abe024ea88c45e0b94c80e1fb537a573b143 (patch)
tree410a141ea14a17a668076f28de3f5260cd43543d /libs/gui/BufferItem.cpp
parentc2a3d7aa1636d1fda62d65d7bd557a26428f1380 (diff)
BQ: Improved buffer/slot tracking
- Explicitly track active buffers and unused slots on top of the already existing tracking for free slots and free buffers. Change-Id: Ife2678678e96f0eb0b3fb21571058378134bd868
Diffstat (limited to 'libs/gui/BufferItem.cpp')
-rw-r--r--libs/gui/BufferItem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gui/BufferItem.cpp b/libs/gui/BufferItem.cpp
index de8ff70846..036ef1ecf7 100644
--- a/libs/gui/BufferItem.cpp
+++ b/libs/gui/BufferItem.cpp
@@ -39,7 +39,8 @@ BufferItem::BufferItem() :
mTransformToDisplayInverse(false),
mSurfaceDamage(),
mSingleBufferMode(false),
- mQueuedBuffer(true) {
+ mQueuedBuffer(true),
+ mIsStale(false) {
}
BufferItem::~BufferItem() {}