• Michael Spang's avatar
    ozone: drm: Rename ui::OverlayPlane to ui::DrmOverlayPlane · b069c93a
    Michael Spang authored
    The OverlayPlane struct uses the ScanoutBuffer class, which was
    originally a DRM platform implementation detail. This struct was moved
    into common code with the intent to share it with other linux platforms.
    
    However, exposing ScanoutBuffer is probably not what we want to do - it
    contains several methods that are specific to DRM. Instead, a public
    ui::OverlayPlane should be using the gfx::NativePixmap interface, which
    is already public.
    
    Move ui::OverlayPlane back into DRM, and rename it to DrmOverlayPlane. A
    followup CL will add a new version of ui::OverlayPlane that uses
    gfx::NativePixmap instead.
    
    Bug: 851997
    Test: compile
    
    Change-Id: I1f4dbc11419aaacabb2a63eb692eb6a3892a3be3
    Reviewed-on: https://chromium-review.googlesource.com/1097208
    Commit-Queue: Michael Spang <spang@chromium.org>
    Reviewed-by: default avatarRobert Kroeger <rjkroege@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#569702}
    b069c93a
crtc_controller.cc 6.34 KB