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

Skip to content
Commit 9ff8bcc4 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Don't increment layer state sequence id when setting setFrameTimelineVsyncForTransaction

Layer state sequence id should only change when the visible region
can change. The id is used to set the mVisibleRegionDirty flag which
triggers geom calculations and updates to InputDispatcher.

setFrameTimelineVsyncForTransaction is called for every layer
transaction and this is worse for Blast since buffers come via
transactions as well.

Test: adb shell dumpsys SurfaceFlinger --frametimeline and check prediction state is valid
Change-Id: Ib8ba61a706d122e3e2d77730dcabf29c7480529b
parent f06dc6d7
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