summaryrefslogtreecommitdiffstats
path: root/include/gui/BufferQueueCore.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/BufferQueueCore.h')
-rw-r--r--include/gui/BufferQueueCore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gui/BufferQueueCore.h b/include/gui/BufferQueueCore.h
index 9a43516..e3624b7 100644
--- a/include/gui/BufferQueueCore.h
+++ b/include/gui/BufferQueueCore.h
@@ -270,6 +270,10 @@ private:
// mAllowAllocation determines whether dequeueBuffer is allowed to allocate
// new buffers
bool mAllowAllocation;
+
+ // mBufferAge tracks the age of the contents of the most recently dequeued
+ // buffer as the number of frames that have elapsed since it was last queued
+ uint64_t mBufferAge;
}; // class BufferQueueCore
} // namespace android