intel / IA-Hardware-Composer

35 stars 81 forks source link

Update the alpha blending logic for composing. #651

Closed Shao-Feng closed 5 years ago

Shao-Feng commented 5 years ago

When layer alpha become 0xff(blending is Premult), re-validate for composing or scanout. when the alpha(Premult) become 0, still need to compose, otherwise, a alpha 255 surface will be shown(for alpha=0) in scanout.

Change-Id: I97bd1321c5122fc05d7b68cbd23c4fc1692ea7d4 Tests: Work well on Android Q Tracked-On: https://jira.devtools.intel.com/browse/OAM-85651 Signed-off-by: Shaofeng Tang shaofeng.tang@intel.com

Shao-Feng commented 5 years ago

This patch also work for the black line at the end of video playing