ozone/drm: Render primary framebuffers as RGBA
In preparation for hardware plane underlay support in ChromeOS, we need to allow for RGBA primary framebuffers. When using an underlay, we cut out a transparent rectangle in the primary framebuffer to allow the underlay to show through, while still allowing for RGBA content on top of the underlay (for example, video controls or annotations). When not using an underlay, the primary framebuffer will be displayed as RGBX (opaque) to avoid unnecessary blending in the display controller. Previously review and landed as CL:801974 and then reverted and relanded a few times as we added support for ARGB+AFBC to the mali driver and reverted CL:985033 which broke ozone on older boards without ARGB scanout support. As of this new CL, the patch has been tested succesfully on all boards that previously regressed, but the chromeos bvt bots are still stuck on an old image (see https://bugs.chromium.org/p/chromium/issues/detail?id=826973#c18). Bug: 789288 Reviewed-by:Alex Sakhartchouk <alexst@chromium.org> Reviewed-by:
Stéphane Marchesin <marcheu@chromium.org> Reviewed-by:
David Reveman <reveman@chromium.org> Reviewed-by:
danakj <danakj@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Reviewed-by:
Daniele Castagna <dcastagna@chromium.org> TBR=avi@chromium.org,marcheu@chromium.org,reveman@chromium.org,sky@chromium.org,danakj@chromium.org,alexst@chromium.org,alemate@chromium.org,dcastagna@chromium.org,piman@chromium.org,hoegsberg@chromium.org Change-Id: I9ffb41e8f475ba6e4075b2abbe46c05456a5413a Reviewed-on: https://chromium-review.googlesource.com/991261Reviewed-by:
Kristian H. Kristensen <hoegsberg@chromium.org> Commit-Queue: Kristian H. Kristensen <hoegsberg@chromium.org> Cr-Commit-Position: refs/heads/master@{#547582}
Showing
Please register or sign in to comment