From 38a646e5e7b96c36e1b09a7c8619fb394874f14e Mon Sep 17 00:00:00 2001 From: PainKiller3 Date: Sun, 9 Oct 2022 14:11:00 +0700 Subject: [PATCH] sdm710-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. --- product.prop | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product.prop b/product.prop index 63f19cd..9ae3134 100644 --- a/product.prop +++ b/product.prop @@ -35,6 +35,9 @@ ro.vendor.fm.use_audio_session=true # Gboard ro.com.google.ime.kb_pad_port_b=1 +# Disable vsync for cpu rendered apps +debug.cpurend.vsync=false + # Graphics debug.egl.hw=1 debug.sf.hw=1