summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jared Duke <jdduke@google.com> 2023-02-28 19:32:31 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-02-28 19:32:31 +0000
commit02f47849c03201e6e352afc319a05db9b185e3ce (patch)
tree9eb8c80f106a6721a49ae3804cbf4dbb83bfd8b9
parent7d668ceda53806df91ee47175274bae0f2e8cbf1 (diff)
parentfbf5a55dc1e164b8cdd4736a367b739967a361b5 (diff)
Merge "Revert "Enable context dropping on stopped only"" into udc-dev
-rw-r--r--libs/hwui/MemoryPolicy.h4
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();