From 9a48c665f4d9e3c118ba6ff33bbf234be5e79fd8 Mon Sep 17 00:00:00 2001 From: PainKiller3 Date: Tue, 18 Feb 2025 11:34:15 +0000 Subject: [PATCH] sm6150-common: properties: 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. Change-Id: If8c6f9e182eac6d015dbb69fe2a74fc9b3a85c1f Signed-off-by: PainKiller3 Signed-off-by: therealmharc --- vendor.prop | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor.prop b/vendor.prop index 86f5aa7..280c1e0 100644 --- a/vendor.prop +++ b/vendor.prop @@ -178,6 +178,9 @@ persist.sys.sf.color_saturation=1.0 persist.sys.sf.native_mode=2 persist.sys.sf.color_mode=9 +# Disable vsync for cpu rendered apps +debug.cpurend.vsync=false + # FRP ro.frp.pst=/dev/block/bootdevice/by-name/frp