• Sunny Sachanandani's avatar
    viz: Remove support for non-root direct composition overlays · 556b103a
    Sunny Sachanandani authored
    DCLayerOverlayProcessor supports non-root with a disabled by default
    finch flag. This hasn't shipped in the last 3+ years and it's unlikely
    it would ever ship in the current form. Meanwhile, any refactoring of
    the overlay processor for implementing real performance optimizations
    like partial quad aggregation becomes a lot more complicated due to
    handling the corner case of non-root render passes.
    
    Also remove support for non axis-aligned transforms since those rely on
    non-root render pass support as well.  Remove the misleading unit tests
    for non axis-aligned transforms since those only test video quads in
    root render pass which doesn't occur in practice since non axis-aligned
    video surfaces don't get merged to the root render pass.
    
    Bug: 1100690, 1077210
    Change-Id: Idc012d29d9e4effd3b3e4194ad0cfcdf9083d71f
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2277321Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
    Reviewed-by: default avatarMaggie Chen <magchen@chromium.org>
    Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#785906}
    556b103a
gl_switches.cc 9.31 KB