summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2017-06-14 10:47:50 -0700
committerJohn Reck <jreck@google.com>2017-06-14 10:50:14 -0700
commita896306c38c4d11c43b967a21db6d74c251b2520 (patch)
treed02997fd55bdbfbd05a3d09a320aba505c6c887a /libs/hwui/Properties.cpp
parent890cb590039774969a79ac7d0b8f27f0bb227e9f (diff)
Add a workaround for simulate secondary display
To workaround a deadlock caused by bufferqueue locks we force RenderThread over to use async mode which we enable via eglSwapInterval(0) Bug: 38372997 Test: steps in the bug Change-Id: Ia305f73abbdd64ab0c25d1f7d32792cc6295a0ce
Diffstat (limited to 'libs/hwui/Properties.cpp')
-rw-r--r--libs/hwui/Properties.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp
index aad81df0b7e5..b5872485b136 100644
--- a/libs/hwui/Properties.cpp
+++ b/libs/hwui/Properties.cpp
@@ -69,6 +69,7 @@ bool Properties::waitForGpuCompletion = false;
bool Properties::forceDrawFrame = false;
bool Properties::filterOutTestOverhead = false;
+bool Properties::disableVsync = false;
static int property_get_int(const char* key, int defaultValue) {
char buf[PROPERTY_VALUE_MAX] = {'\0',};