summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2015-05-27 17:39:17 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2015-05-27 17:39:18 +0000
commit302abd22468367bcdeb1f85ea8014fe05ed95610 (patch)
tree293b9ffe0fd0159931e39e9867bd36a393040ad1 /libs/hwui/Properties.cpp
parent165229ba417fd77ccbb4feb3bc3c664d2cac7ce5 (diff)
parent4cd44f8110c3b648a7eeb526152b2a50e0a376a1 (diff)
Merge "Enable swapBuffersWithDamage by default" into mnc-dev
Diffstat (limited to 'libs/hwui/Properties.cpp')
-rw-r--r--libs/hwui/Properties.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp
index 723a177317fc..7dbe3b78839c 100644
--- a/libs/hwui/Properties.cpp
+++ b/libs/hwui/Properties.cpp
@@ -29,7 +29,7 @@ bool Properties::debugLayersUpdates = false;
bool Properties::debugOverdraw = false;
bool Properties::showDirtyRegions = false;
bool Properties::skipEmptyFrames = true;
-bool Properties::swapBuffersWithDamage = false;
+bool Properties::swapBuffersWithDamage = true;
DebugLevel Properties::debugLevel = kDebugDisabled;
OverdrawColorSet Properties::overdrawColorSet = OverdrawColorSet::Default;
@@ -104,7 +104,7 @@ bool Properties::load() {
}
skipEmptyFrames = property_get_bool(PROPERTY_SKIP_EMPTY_DAMAGE, true);
- swapBuffersWithDamage = property_get_bool(PROPERTY_SWAP_WITH_DAMAGE, false);
+ swapBuffersWithDamage = property_get_bool(PROPERTY_SWAP_WITH_DAMAGE, true);
return (prevDebugLayersUpdates != debugLayersUpdates)
|| (prevDebugOverdraw != debugOverdraw)