crosshatch: 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 4e8a210c0e3e6854cd34f432f52e3f4821e7b2d5)
diff --git a/device.mk b/device.mk
index ad62482..fb96cf2 100644
--- a/device.mk
+++ b/device.mk
@@ -806,6 +806,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