From 149173d28c0843aba86b0810ce75b34be6a0d08f Mon Sep 17 00:00:00 2001 From: John Reck Date: Mon, 10 Aug 2015 09:52:29 -0700 Subject: Support new EGL extensions Bug: 21753739 Includes a revert of 13d1b4ab10fbee5e81a2ba1ac59cfae1e51d3ef0 as that only supported EGL_EXT_buffer_age Change-Id: Ia86a47d19e3355c067934d7764c330b640c6958d --- libs/hwui/Properties.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/hwui/Properties.cpp') diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp index 2e63793f6ffe..b8f8585e5af6 100644 --- a/libs/hwui/Properties.cpp +++ b/libs/hwui/Properties.cpp @@ -30,6 +30,8 @@ bool Properties::debugOverdraw = false; bool Properties::showDirtyRegions = false; bool Properties::skipEmptyFrames = true; bool Properties::swapBuffersWithDamage = true; +bool Properties::useBufferAge = true; +bool Properties::enablePartialUpdates = true; DebugLevel Properties::debugLevel = kDebugDisabled; OverdrawColorSet Properties::overdrawColorSet = OverdrawColorSet::Default; @@ -105,6 +107,8 @@ bool Properties::load() { skipEmptyFrames = property_get_bool(PROPERTY_SKIP_EMPTY_DAMAGE, true); swapBuffersWithDamage = property_get_bool(PROPERTY_SWAP_WITH_DAMAGE, true); + useBufferAge = property_get_bool(PROPERTY_USE_BUFFER_AGE, true); + enablePartialUpdates = property_get_bool(PROPERTY_ENABLE_PARTIAL_UPDATES, true); return (prevDebugLayersUpdates != debugLayersUpdates) || (prevDebugOverdraw != debugOverdraw) -- cgit v1.2.3-59-g8ed1b