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

Skip to content
Commit 6f209e2d authored by Vishnu Nair's avatar Vishnu Nair
Browse files

[sf] Fix wakeup related to CE#needsAnotherUpdate

Layers track if they have a frame ready to be latched using
hasReadyFrame. Once the buffer is latched for a layer,
the states are cleared so hasReadyFrame is only true
if we have another buffer to be latched (not possible)
or if the auto refresh flag is set. In post composition,
this flag is checked to schedule a commit.

With the new frontend, we update the snapshot
once every commit. This means hasReadyFrame
should only track the auto refresh state.

Bug: 238781169
Test: atest android.graphics.cts.FrameRateOverrideTest#testAppBackpressure --rerun-until-failure with mixed gsi builds

Change-Id: I73fe6d69c5f34e4ce5d0efc6b7f39ae72c50b8aa
parent 04c9ef13
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