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

Skip to content
Commit 40773d93 authored by Yichi Chen's avatar Yichi Chen
Browse files

SF: Include fence returned from renderScreen into layers' release fence

In previous SurfaceFlinger implementation, the release fence generated
from the call of renderScreen was returned to its callers only. However,
the access of those rendered buffers from other components wasn't aware
of the extra work inside renderScreen. This patch includes the fence
into layers' release fence to allow the GPU to finish reading the buffer
before codec writes new context into the buffer.

Bug: 149962883
Bug: 152292389
Test: Rotate video on youtube over 1 hour without fence leakge

Change-Id: I17cc3e816236d2695f30b45a0be560fb6741f16f
parent 5ea5df56
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