summaryrefslogtreecommitdiffstats
path: root/libs/gui
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-08-29 16:03:50 -0700
committerJesse Hall <jessehall@google.com>2013-08-29 16:09:11 -0700
commit8db92553e9e6263cd41eaf1a1ebc9e3f88f92b5f (patch)
tree638613f449621b2fffb5b1d51ec68c9596d59086 /libs/gui
parentf2e4fcd96c11861bd0af1a9525344c1b691c9de9 (diff)
downloadframeworks_native-8db92553e9e6263cd41eaf1a1ebc9e3f88f92b5f.zip
frameworks_native-8db92553e9e6263cd41eaf1a1ebc9e3f88f92b5f.tar.gz
frameworks_native-8db92553e9e6263cd41eaf1a1ebc9e3f88f92b5f.tar.bz2
Force async behavior for the virtual display output BufferQueue
Bug: 10551087 Change-Id: I40bbb2b87d64420939a0ea309254f281437dab56
Diffstat (limited to 'libs/gui')
-rw-r--r--libs/gui/BufferQueue.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/gui/BufferQueue.cpp b/libs/gui/BufferQueue.cpp
index 65007fa..57a41f2 100644
--- a/libs/gui/BufferQueue.cpp
+++ b/libs/gui/BufferQueue.cpp
@@ -637,7 +637,8 @@ void BufferQueue::cancelBuffer(int buf, const sp<Fence>& fence) {
status_t BufferQueue::connect(int api, bool producerControlledByApp, QueueBufferOutput* output) {
ATRACE_CALL();
- ST_LOGV("connect: api=%d", api);
+ ST_LOGV("connect: api=%d producerControlledByApp=%s", api,
+ producerControlledByApp ? "true" : "false");
Mutex::Autolock lock(mMutex);
if (mAbandoned) {
@@ -1001,7 +1002,8 @@ status_t BufferQueue::releaseBuffer(
status_t BufferQueue::consumerConnect(const sp<IConsumerListener>& consumerListener,
bool controlledByApp) {
- ST_LOGV("consumerConnect");
+ ST_LOGV("consumerConnect controlledByApp=%s",
+ controlledByApp ? "true" : "false");
Mutex::Autolock lock(mMutex);
if (mAbandoned) {