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
1 file changed