bonito: enable GL comp backpressure
Enable backpressure for client composition to avoid jank due to
HWC queue stuffing.
Test: 1. Open Camera
2. Swipe horizontally to go back to previous app.
Bug: 138083790
Change-Id: I3d26aa470c1660b23bd97133f39858f92638aca8
(cherry picked from commit 147e1065fe3ce2c36166ed39c9c4bd0c341ba73c)
diff --git a/device.mk b/device.mk
index a900c36..1ef8e07 100644
--- a/device.mk
+++ b/device.mk
@@ -853,6 +853,10 @@
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.early_gl_app_phase_offset_ns=15000000
+# Enable backpressure for GL comp
+PRODUCT_PROPERTY_OVERRIDES += \
+ debug.sf.enable_gl_backpressure=1
+
# Do not skip init trigger by default
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
vendor.skip.init=0