summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.cpp
diff options
context:
space:
mode:
author Nader Jawad <njawad@google.com> 2021-09-20 21:22:50 -0700
committer Nader Jawad <njawad@google.com> 2021-09-22 02:27:33 +0000
commit4a6b60a5a8438dcb1421c0fc59aebb40b10322aa (patch)
tree08c5f898683e58578ce42e81ffed90a1fc42d8c4 /libs/hwui/Properties.cpp
parent509c8c269c1af150d559e77689a27e5dc75f928d (diff)
Conditionally cache RenderEffect results
Added property to conditionally cache SkImage instances with SkImageFilters applied. Some GL vendor implementations invoke Fence::waitForver without signalling, leading to ANRs throughout the system. Bug: 193145089 Test: manual Change-Id: I3e478b11b66205d96e9499a362f7412a1d6e952d
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 109b5352fe30..35449875d324 100644
--- a/libs/hwui/Properties.cpp
+++ b/libs/hwui/Properties.cpp
@@ -50,6 +50,7 @@ bool Properties::showDirtyRegions = false;
bool Properties::skipEmptyFrames = true;
bool Properties::useBufferAge = true;
bool Properties::enablePartialUpdates = true;
+bool Properties::enableRenderEffectCache = false;
DebugLevel Properties::debugLevel = kDebugDisabled;
OverdrawColorSet Properties::overdrawColorSet = OverdrawColorSet::Default;