Index: ui/ozone/platform/dri/screen_manager.h |
diff --git a/ui/ozone/platform/dri/screen_manager.h b/ui/ozone/platform/dri/screen_manager.h |
index 46cbd66133f48a8727fb1bbf212dc758f5191eb4..604ed3f9f73010e5c752db74f9be724c320a5290 100644 |
--- a/ui/ozone/platform/dri/screen_manager.h |
+++ b/ui/ozone/platform/dri/screen_manager.h |
@@ -29,13 +29,16 @@ class ScreenManager { |
ScreenManager(DriWrapper* dri, ScanoutBufferGenerator* surface_generator); |
virtual ~ScreenManager(); |
+ // Register a display controller. This must be called before trying to |
+ // configure it. |
+ void AddDisplayController(uint32_t crtc, uint32_t connector); |
+ |
// Remove a display controller from the list of active controllers. The |
// controller is removed since it was disconnected. |
void RemoveDisplayController(uint32_t crtc); |
- // Configure (and add if not present) a display controller. The display |
- // controller is identified by (|crtc|, |connector|) and the controller is |
- // modeset using |mode|. |
+ // Configure a display controller. The display controller is identified by |
+ // (|crtc|, |connector|) and the controller is modeset using |mode|. |
bool ConfigureDisplayController(uint32_t crtc, |
uint32_t connector, |
const gfx::Point& origin, |