Chromium Code Reviews
Descriptionozone: Add an opaque fb to ScanoutBuffer for primary planes.
While all planes on rockchip support alpha, scanning out a primary
plane with an fb that was created with a format with alpha will result
in black pixels.
This patch adds an additional fb to a ScanoutBuffer to be used for the
primary plane.
When a buffer is created with a format that has alpha (e.g: RGBA),
an additional fb with a format without alpha (e.g. RGBX) will be added for
the same buffer.
In this way, when the buffer is scheduled for scanout as primary plane
we can use the fb added with a format without alpha and actually see
colors on the screen, instead of having everything black.
BUG=695296
Review-Url: https://codereview.chromium.org/2743403005
Cr-Commit-Position: refs/heads/master@{#457482}
Committed: https://chromium.googlesource.com/chromium/src/+/9d7a8aef95959ab06d2b565fe129fd27ed42b963
Patch Set 1 #Patch Set 2 : Make legacy pageflip use primary plane fb. #Patch Set 3 : Fix DrmOverlayValidatorTest unittests. #Patch Set 4 : Replace PrimaryPlane with Opaque. #Messages
Total messages: 29 (18 generated)
|