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

Skip to content
Commit 3a49f0a4 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

CE: Pass the fence with the cached client composition buffer

Composition cache checks the buffer id with the client
composition request to see if we can reuse a buffer if the
request has not changed. We never bothered with a fence
here because by the time the cache was accessed, we
would have sent the buffer to the display at least once.

With composition strategy prediction, our assumption
breaks. There is a chance we fail to predict the strategy
but the new strategy results in the same client
composition request so we can reuse the client
composition work that was submitted in the beginning
of the frame.

Test: Repro steps in bug
Test: go/wm-smoke
Bug: 239944175

Change-Id: Idbe6a9bb3bba889aa7b459b1046890ea3960982f
parent 4830cd6a
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