• Andres Calderon Jaramillo's avatar
    Revert "Viz/Ozone/DRM: Provide NativePixmap for the primary plane" · 6e96a1a1
    Andres Calderon Jaramillo authored
    This reverts commit 0ea41733.
    
    Reason for revert: In this CL, GetOverlayMailbox() calls BufferQueue::GetCurrentBuffer(). Unfortunately, it turns out there are cases where this causes the GPU to draw to a buffer that's being scanned out (see https://crbug.com/1047030 for an example). It may also cause problems with damage tracking. Reverting this CL to try to fix the issue before the M81 branch point :(
    
    Original change's description:
    > Viz/Ozone/DRM: Provide NativePixmap for the primary plane
    > 
    > Plumb mailbox for the primary plane to OverlayProcessorOzone and use
    > SharedImageInterface to obtain the corresponding NativePixmap.
    > 
    > Bug: 756454
    > Change-Id: Ic537d05253bc68c27a8fed961de8547ace359e82
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2016327
    > Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
    > Commit-Queue: Saman Sami <samans@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#736065}
    
    TBR=rjkroege@chromium.org,samans@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 756454
    Change-Id: I6f42b94d1939597f7c34f0d0433d45a02716aa58
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2031723Reviewed-by: default avatarAndres Calderon Jaramillo <andrescj@chromium.org>
    Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#737238}
    6e96a1a1
overlay_processor_ozone.h 1.69 KB