From ac5ca759976c65486b76c4c473643bd88cf190db Mon Sep 17 00:00:00 2001 From: tangrobin Date: Mon, 8 Jun 2020 23:11:12 +0800 Subject: [PATCH] dre: Use phase offsets as duration In Android R, the SurfaceFlinger calculate phase offsets based on duration. Adopt the new way of specifying phase offsets to SurfaceFlinger. Bug: 158464992 Test: scrolling, app launching/closing, playing video Change-Id: Ia717f5c0075b6adaedaf20dd6be689737edc1415 --- vendor.prop | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/vendor.prop b/vendor.prop index b1efb3a..9ceb987 100644 --- a/vendor.prop +++ b/vendor.prop @@ -119,12 +119,15 @@ vendor.gatekeeper.disable_spu=true # Graphics debug.sf.disable_client_composition_cache=1 +debug.sf.early.sf.duration=21000000 +debug.sf.early.app.duration=16500000 +debug.sf.earlyGl.app.duration=21000000 +debug.sf.earlyGl.sf.duration=13500000 debug.sf.enable_gl_backpressure=1 -debug.sf.high_fps_early_gl_phase_offset_ns=-2000000 -debug.sf.high_fps_early_phase_offset_ns=-4000000 -debug.sf.high_fps_late_app_phase_offset_ns=1000000 -debug.sf.high_fps_late_sf_phase_offset_ns=-2000000 debug.sf.latch_unsignaled=1 +debug.sf.late.app.duration=20500000 +debug.sf.late.sf.duration=10500000 +debug.sf.use_phase_offsets_as_durations=1 ro.hardware.egl=adreno ro.hardware.vulkan=adreno ro.opengles.version=196610