diff options
author | John Reck <jreck@google.com> | 2015-05-08 10:04:36 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-05-08 10:48:57 -0700 |
commit | d04794a9a3f9edc8b7ca336175d66eb81a8f55fa (patch) | |
tree | b1fb28d9c72377bc981e5242ad58210cf2bd33bf /libs/hwui/Properties.cpp | |
parent | a0698b617f1efc71d5301f98aead822e266ec5d6 (diff) | |
download | frameworks_base-d04794a9a3f9edc8b7ca336175d66eb81a8f55fa.zip frameworks_base-d04794a9a3f9edc8b7ca336175d66eb81a8f55fa.tar.gz frameworks_base-d04794a9a3f9edc8b7ca336175d66eb81a8f55fa.tar.bz2 |
Add eglSwapBuffersWithDamageKHR support
BUG: 20761426
Disabled temporarily
Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5
Diffstat (limited to 'libs/hwui/Properties.cpp')
-rw-r--r-- | libs/hwui/Properties.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp index fd32b6f..723a177 100644 --- a/libs/hwui/Properties.cpp +++ b/libs/hwui/Properties.cpp @@ -28,6 +28,8 @@ bool Properties::drawReorderDisabled = false; bool Properties::debugLayersUpdates = false; bool Properties::debugOverdraw = false; bool Properties::showDirtyRegions = false; +bool Properties::skipEmptyFrames = true; +bool Properties::swapBuffersWithDamage = false; DebugLevel Properties::debugLevel = kDebugDisabled; OverdrawColorSet Properties::overdrawColorSet = OverdrawColorSet::Default; @@ -101,6 +103,9 @@ bool Properties::load() { debugLevel = (DebugLevel) atoi(property); } + skipEmptyFrames = property_get_bool(PROPERTY_SKIP_EMPTY_DAMAGE, true); + swapBuffersWithDamage = property_get_bool(PROPERTY_SWAP_WITH_DAMAGE, false); + return (prevDebugLayersUpdates != debugLayersUpdates) || (prevDebugOverdraw != debugOverdraw) || (prevDebugStencilClip != debugStencilClip); |