From 4a6b60a5a8438dcb1421c0fc59aebb40b10322aa Mon Sep 17 00:00:00 2001 From: Nader Jawad Date: Mon, 20 Sep 2021 21:22:50 -0700 Subject: 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 --- libs/hwui/Properties.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/hwui/Properties.h') 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; -- cgit v1.2.3-59-g8ed1b