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

Commit 587ce533 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Enable context dropping on stopped only"

parents 5415ba56 1bcdc4fe
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;
    // EXPERIMENTAL: Whether or not to trigger releasing GPU context when all contexts are stopped
    bool releaseContextOnStoppedOnly = false;
    // Whether or not to trigger releasing GPU context when all contexts are stopped
    bool releaseContextOnStoppedOnly = true;
};

const MemoryPolicy& loadMemoryPolicy();