diff options
Diffstat (limited to 'ui/ozone/platform/drm/gpu/hardware_display_controller.h')
-rw-r--r-- | ui/ozone/platform/drm/gpu/hardware_display_controller.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_controller.h b/ui/ozone/platform/drm/gpu/hardware_display_controller.h index 52095d5..196b2dd 100644 --- a/ui/ozone/platform/drm/gpu/hardware_display_controller.h +++ b/ui/ozone/platform/drm/gpu/hardware_display_controller.h @@ -98,14 +98,9 @@ class OZONE_EXPORT HardwareDisplayController // framebuffer for |primary| with |mode|. bool Modeset(const OverlayPlane& primary, drmModeModeInfo mode); - // Reconfigures the CRTC with the current surface and mode. - bool Enable(); - // Disables the CRTC. void Disable(); - void QueueOverlayPlane(const OverlayPlane& plane); - // Schedules the |overlays|' framebuffers to be displayed on the next vsync // event. The event will be posted on the graphics card file descriptor |fd_| // and it can be read and processed by |drmHandleEvent|. That function can @@ -122,7 +117,9 @@ class OZONE_EXPORT HardwareDisplayController // called again before the page flip occurrs. // // Returns true if the page flip was successfully registered, false otherwise. - bool SchedulePageFlip(bool is_sync, const base::Closure& callback); + bool SchedulePageFlip(const OverlayPlaneList& plane_list, + bool is_sync, + const base::Closure& callback); // Set the hardware cursor to show the contents of |surface|. bool SetCursor(const scoped_refptr<ScanoutBuffer>& buffer); |