Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abdb4eb6 authored by Jared Duke's avatar Jared Duke
Browse files

Revert "Enable context dropping on stopped only"

This reverts commit 1bcdc4fe.

Reason for revert: Needs additional refinement to avoid regressing
performance for UI in more persistent processes like Launcher. See also b/269425983. 

Change-Id: I7397c775162f084cb073de5fc04bd4b95dd5ccd5
parent eb7af7ba
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();