Enable dimming in gamma space in screenshots for adaptive mode

This fixes a flicker during screen rotation

Bug: 293560925
Test: Youtube HDR playback
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:33171da4fbae416c9243dc6d036988418dd4f4fd)
Merged-In: I30cc2373acc089bac066c731bdd48632a7a79da3
Change-Id: I30cc2373acc089bac066c731bdd48632a7a79da3
This commit is contained in:
Alec Mouri 2023-08-17 21:45:30 +00:00 committed by Cherrypicker Worker
parent 6ea9de413c
commit 11e675bb97

View file

@ -658,7 +658,8 @@ endif
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.disable_backpressure=0 \
debug.sf.enable_gl_backpressure=1 \
debug.sf.enable_sdr_dimming=1
debug.sf.enable_sdr_dimming=1 \
debug.sf.dim_in_gamma_in_enhanced_screenshots=1
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.use_phase_offsets_as_durations=1
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.late.sf.duration=10500000