diff options
| author | 2020-04-01 10:10:18 +0800 | |
|---|---|---|
| committer | 2020-04-06 16:11:57 +0800 | |
| commit | 40773d938215e0f4387951a4ce5608cb2e4dfe49 (patch) | |
| tree | 43e06deade749c58707b6270eb48247fe14863db /opengl/libagl/TextureObjectManager.cpp | |
| parent | 5ea5df566c65074a7f405d8a31ed894f169785cd (diff) | |
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
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions