Merge "Revert "Enable context dropping on stopped only"" into udc-dev
This commit is contained in:
@@ -53,8 +53,8 @@ struct MemoryPolicy {
|
|||||||
// Whether or not to only purge scratch resources when triggering UI Hidden or background
|
// Whether or not to only purge scratch resources when triggering UI Hidden or background
|
||||||
// collection
|
// collection
|
||||||
bool purgeScratchOnly = true;
|
bool purgeScratchOnly = true;
|
||||||
// Whether or not to trigger releasing GPU context when all contexts are stopped
|
// EXPERIMENTAL: Whether or not to trigger releasing GPU context when all contexts are stopped
|
||||||
bool releaseContextOnStoppedOnly = true;
|
bool releaseContextOnStoppedOnly = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
const MemoryPolicy& loadMemoryPolicy();
|
const MemoryPolicy& loadMemoryPolicy();
|
||||||
|
|||||||
Reference in New Issue
Block a user