From c2f720193110b38877e77bda56ef204f7f3037bb Mon Sep 17 00:00:00 2001 From: John Reck Date: Tue, 21 Mar 2023 09:38:56 -0400 Subject: [PATCH] Add instability warning to flag Bug: 266626090 Test: n/a Change-Id: I0ec2801cd4e8580adc70697b1935e6532895c32b --- libs/hwui/MemoryPolicy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/hwui/MemoryPolicy.h b/libs/hwui/MemoryPolicy.h index 41ced8cebf832..139cdde5c0d21 100644 --- a/libs/hwui/MemoryPolicy.h +++ b/libs/hwui/MemoryPolicy.h @@ -54,6 +54,7 @@ struct MemoryPolicy { // collection bool purgeScratchOnly = true; // EXPERIMENTAL: Whether or not to trigger releasing GPU context when all contexts are stopped + // WARNING: Enabling this option can lead to instability, see b/266626090 bool releaseContextOnStoppedOnly = false; };