summaryrefslogtreecommitdiffstats
path: root/include/gui
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2012-06-28 14:27:53 -0700
committerJesse Hall <jessehall@google.com>2012-06-30 21:38:51 -0700
commitb42b1ac1587aebda5e2f334d95b620271fafba4e (patch)
tree5852fb46f80587194d109b3baa04a91af443181b /include/gui
parentc777b0b3b9b0ea5d8e378fccde6935765e28e329 (diff)
downloadframeworks_native-b42b1ac1587aebda5e2f334d95b620271fafba4e.zip
frameworks_native-b42b1ac1587aebda5e2f334d95b620271fafba4e.tar.gz
frameworks_native-b42b1ac1587aebda5e2f334d95b620271fafba4e.tar.bz2
Return fence from acquireBuffer
Change-Id: Iab22054c1dc4fd84affab3cc5bbdcd5a1e689666
Diffstat (limited to 'include/gui')
-rw-r--r--include/gui/BufferQueue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/BufferQueue.h b/include/gui/BufferQueue.h
index 7c1fcb9..0d36baa 100644
--- a/include/gui/BufferQueue.h
+++ b/include/gui/BufferQueue.h
@@ -202,6 +202,9 @@ public:
// mBuf is the slot index of this buffer
int mBuf;
+
+ // mFence is a fence that will signal when the buffer is idle.
+ sp<Fence> mFence;
};
// The following public functions is the consumer facing interface