diff options
author | Jesse Hall <jessehall@google.com> | 2014-10-08 16:59:38 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-10-08 16:59:38 +0000 |
commit | 20fca75fbd9141ebae6c9a28f5c09a837eb9caad (patch) | |
tree | b3c5f9167c190f591bb82e8900a3285d9f255155 /include | |
parent | e19c39dccd0cdbbcbe27dd90f224b2012b7dfb74 (diff) | |
parent | b7702c5ce7f010fa5f19646fd79f28ff04e7014b (diff) | |
download | frameworks_native-20fca75fbd9141ebae6c9a28f5c09a837eb9caad.zip frameworks_native-20fca75fbd9141ebae6c9a28f5c09a837eb9caad.tar.gz frameworks_native-20fca75fbd9141ebae6c9a28f5c09a837eb9caad.tar.bz2 |
am b7702c5c: Merge "BufferQueueProducer: Throttle EGL frame production." into lmp-mr1-dev
* commit 'b7702c5ce7f010fa5f19646fd79f28ff04e7014b':
BufferQueueProducer: Throttle EGL frame production.
Diffstat (limited to 'include')
-rw-r--r-- | include/gui/BufferQueueProducer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gui/BufferQueueProducer.h b/include/gui/BufferQueueProducer.h index 3fc5de2..c619a11 100644 --- a/include/gui/BufferQueueProducer.h +++ b/include/gui/BufferQueueProducer.h @@ -197,6 +197,12 @@ private: uint32_t mStickyTransform; + // This saves the fence from the last queueBuffer, such that the + // next queueBuffer call can throttle buffer production. The prior + // queueBuffer's fence is not nessessarily available elsewhere, + // since the previous buffer might have already been acquired. + sp<Fence> mLastQueueBufferFence; + }; // class BufferQueueProducer } // namespace android |