• Nicolás Peña Moreno's avatar
    Revert "ozone/drm: Render primary framebuffers as RGBA" · 63642262
    Nicolás Peña Moreno authored
    This reverts commit 48d1ecaf.
    
    Reason for revert: This CL causes several problems documented at crbug.com/821944
    
    Original change's description:
    > 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.
    > 
    > Bug: 789288
    > Change-Id: I2fc94e524e250ec9b7e11cd6801e1c8308046a10
    > Reviewed-on: https://chromium-review.googlesource.com/801974
    > 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>
    > Commit-Queue: Kristian H. Kristensen <hoegsberg@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#542877}
    
    TBR=marcheu@chromium.org,reveman@chromium.org,sky@chromium.org,danakj@chromium.org,alexst@chromium.org,dcastagna@chromium.org,piman@chromium.org,hoegsberg@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 789288
    Change-Id: I3005e3cb37a1385c5a1cd72bad76d1ffbad1cc63
    Reviewed-on: https://chromium-review.googlesource.com/965721Reviewed-by: default avatarNicolás Peña Moreno <npm@chromium.org>
    Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#543627}
    63642262
gbm_surface.cc 4.57 KB