summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.h
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.h
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.h')
-rw-r--r--libs/hwui/Properties.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h
index 7df6e2c92247..d224a547ab4d 100644
--- a/libs/hwui/Properties.h
+++ b/libs/hwui/Properties.h
@@ -224,6 +224,7 @@ public:
static bool skipEmptyFrames;
static bool useBufferAge;
static bool enablePartialUpdates;
+ static bool enableRenderEffectCache;
// TODO: Move somewhere else?
static constexpr float textGamma = 1.45f;