From 13af2ab0bfd79f7a43cd4de7151c926055f46696 Mon Sep 17 00:00:00 2001 From: PainKiller3 Date: Mon, 11 Apr 2022 04:43:59 +0000 Subject: [PATCH] sdm660-common: props: Disable vsync for CPU rendered Apps * Choreographer VSync has some performance impact for CPU rendered apps as the app has to wait for VSync to start a new frame draw. When the frame draw time exceeds one VSync, this has a direct impact on the FPS. debug.cpurend.vsync property controls the VSync for CPU rendered apps. Disable VSync for CPU rendered app, by setting this property to false. Signed-off-by: ImPrashantt Signed-off-by: pix106 --- properties/system.prop | 3 +++ 1 file changed, 3 insertions(+) diff --git a/properties/system.prop b/properties/system.prop index 7c0e4d0e..fe13e5a5 100644 --- a/properties/system.prop +++ b/properties/system.prop @@ -30,6 +30,9 @@ persist.vendor.data.profile_update=true # Disable GC freed lines dalvik.vm.debug.alloc=0 +# Disable vsync for cpu rendered apps +debug.cpurend.vsync=false + # Display debug.performance.tuning=1 debug.renderengine.backend=skiaglthreaded