diff options
Diffstat (limited to 'ui/ozone/platform/drm/gpu/screen_manager.h')
-rw-r--r-- | ui/ozone/platform/drm/gpu/screen_manager.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/ozone/platform/drm/gpu/screen_manager.h b/ui/ozone/platform/drm/gpu/screen_manager.h index 2732769..4e8123d 100644 --- a/ui/ozone/platform/drm/gpu/screen_manager.h +++ b/ui/ozone/platform/drm/gpu/screen_manager.h @@ -104,7 +104,8 @@ class OZONE_EXPORT ScreenManager { // Perform modesetting in |controller| using |origin| and |mode|. bool ModesetDisplayController(HardwareDisplayController* controller, const gfx::Point& origin, - const drmModeModeInfo& mode); + const drmModeModeInfo& mode, + bool fill_mode_set_buffer); // Tries to set the controller identified by (|crtc|, |connector|) to mirror // those in |mirror|. |original| is an iterator to the HDC where the @@ -115,6 +116,9 @@ class OZONE_EXPORT ScreenManager { uint32_t crtc, uint32_t connector); + // Aquire pending frames from the time the controller was disabled. + bool EnableController(HardwareDisplayController* controller); + DrmWindow* FindWindowAt(const gfx::Rect& bounds) const; ScanoutBufferGenerator* buffer_generator_; // Not owned. |