| Index: ui/ozone/platform/drm/gpu/hardware_display_controller.h
|
| diff --git a/ui/ozone/platform/drm/gpu/hardware_display_controller.h b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
|
| index 3772c35302fded3605564bbd3e5acc5bd312e819..830a357ce59b6be0d9d6c983fcb74b4ccf004fc1 100644
|
| --- a/ui/ozone/platform/drm/gpu/hardware_display_controller.h
|
| +++ b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
|
| @@ -98,6 +98,9 @@ class OZONE_EXPORT HardwareDisplayController {
|
| // framebuffer for |primary| with |mode|.
|
| bool Modeset(const OverlayPlane& primary, drmModeModeInfo mode);
|
|
|
| + // Performs a CRTC configuration re-using the modes from the CRTCs.
|
| + bool Enable(const OverlayPlane& primary);
|
| +
|
| // Disables the CRTC.
|
| void Disable();
|
|
|
| @@ -147,8 +150,6 @@ class OZONE_EXPORT HardwareDisplayController {
|
| gfx::Point origin() const { return origin_; }
|
| void set_origin(const gfx::Point& origin) { origin_ = origin; }
|
|
|
| - const drmModeModeInfo& get_mode() const { return mode_; };
|
| -
|
| uint64_t GetTimeOfLastFlip() const;
|
|
|
| const std::vector<CrtcController*>& crtc_controllers() const {
|
| @@ -168,9 +169,6 @@ class OZONE_EXPORT HardwareDisplayController {
|
| // Location of the controller on the screen.
|
| gfx::Point origin_;
|
|
|
| - // The mode used by the last modesetting operation.
|
| - drmModeModeInfo mode_;
|
| -
|
| bool is_disabled_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(HardwareDisplayController);
|
|
|