summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-04-29 17:21:49 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-29 17:21:51 +0000
commit8de71a2408f632407c25942a39c31f78c7f64ffd (patch)
tree0cce3d9d5ed8c64b1b83f0394fc71ba8cd623561 /include
parentca8c569598d79b4bbe4fc08a4ea97619df3b7262 (diff)
parent81cde67a5528af6fbb7a3d49930fd3ca8ff49b34 (diff)
downloadframeworks_native-8de71a2408f632407c25942a39c31f78c7f64ffd.zip
frameworks_native-8de71a2408f632407c25942a39c31f78c7f64ffd.tar.gz
frameworks_native-8de71a2408f632407c25942a39c31f78c7f64ffd.tar.bz2
Merge "BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE query"
Diffstat (limited to 'include')
-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