OSDN Git Service

SolidColor type: release fence fix
authorLin Johnson <johnson.lin@intel.com>
Thu, 25 Oct 2018 10:28:00 +0000 (18:28 +0800)
committerLin Johnson <johnson.lin@intel.com>
Tue, 30 Oct 2018 00:54:30 +0000 (08:54 +0800)
commit6281d80fe9d49bce709ea919cba587646722ddc0
tree7b8ed460c352c64d220d71798baefef8f72a28a9
parent1f97d7d41f2f967af481f50064e2f063c1b29dbf
SolidColor type: release fence fix

As the layer is a render target of GPU, we should still
set the release fence of it. SurfaceFlinger need the fence to sync.
The acquire fence is not necessary since the layer has no buffer at all

Jira: https://jira01.devtools.intel.com/browse/OAM-70347
Test: Android UI normal and no fd leak
Signed-off-by: Lin Johnson <johnson.lin@intel.com>
common/core/hwclayer.cpp
os/android/iahwc2.cpp