diff options
author | 2023-02-28 19:32:31 +0000 | |
---|---|---|
committer | 2023-02-28 19:32:31 +0000 | |
commit | 02f47849c03201e6e352afc319a05db9b185e3ce (patch) | |
tree | 9eb8c80f106a6721a49ae3804cbf4dbb83bfd8b9 | |
parent | 7d668ceda53806df91ee47175274bae0f2e8cbf1 (diff) | |
parent | fbf5a55dc1e164b8cdd4736a367b739967a361b5 (diff) |
Merge "Revert "Enable context dropping on stopped only"" into udc-dev
-rw-r--r-- | libs/hwui/MemoryPolicy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/MemoryPolicy.h b/libs/hwui/MemoryPolicy.h index 2f0f7f506447..41ced8cebf83 100644 --- a/libs/hwui/MemoryPolicy.h +++ b/libs/hwui/MemoryPolicy.h @@ -53,8 +53,8 @@ struct MemoryPolicy { // Whether or not to only purge scratch resources when triggering UI Hidden or background // collection bool purgeScratchOnly = true; - // Whether or not to trigger releasing GPU context when all contexts are stopped - bool releaseContextOnStoppedOnly = true; + // EXPERIMENTAL: Whether or not to trigger releasing GPU context when all contexts are stopped + bool releaseContextOnStoppedOnly = false; }; const MemoryPolicy& loadMemoryPolicy(); |