Skip to content

Commit

Permalink
vince: Disable VSync for CPU rendered apps
Browse files Browse the repository at this point in the history
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: I93cfa7c588f1ab80803940c8059073075fd49506
  • Loading branch information
Hazari PraveenKumar authored and mdeejay committed Mar 16, 2019
1 parent 3485edf commit 64ae088
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prop.mk
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
debug.mdpcomp.logs=0 \
debug.sf.enable_hwc_vds=1 \
debug.sf.hw=0 \
debug.cpurend.vsync=false \
debug.sf.recomputecrop=0 \
dev.pm.dyn_samplingrate=1 \
persist.debug.wfd.enable=1 \
Expand Down

0 comments on commit 64ae088

Please sign in to comment.