Merge "Revert "Enable context dropping on stopped only"" into udc-dev

This commit is contained in:
Jared Duke
2023-02-28 19:32:31 +00:00
committed by Android (Google) Code Review

View File

@@ -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();