Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f974ea1 authored by Su Hong Koo's avatar Su Hong Koo
Browse files

SF: Force GPU composition of slower follower displays

Buffers may prematurely release if they are device composited on a
display slower than the composition rate as set by the pacesetter's
refresh rate. To work around this, this CL forces client composition of
all layers presenting on a display that is configured on a lower refresh
rate than the pacesetter. Existing member of CompositionRefreshArgs used
to force client composition on *all displays*
(devOptForceClientComposition) is changed to be a list of displays
forced to client composite.

Refer to go/pdarr-buffer for more details.

Flag: com.android.graphics.surfaceflinger.flags.force_slower_follower_gpu_composition
Bug: 435235974
Test: Existing OutputTest coverage on forced client composition
Test: Manually verified on comet w/ connected display via dumpsys SF
Change-Id: Ifdfb60b00068d432afe9e35b99c5577ec91b6f95
parent ecb943b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment