Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: ui/ozone/platform/drm/gpu/screen_manager.h

Issue 1338843002: [Ozone-DRM] Use CRTC's mode when configuring it for mirror mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-scanout3
Patch Set: Removed get_mode() from HDC per dbehr@'s comment Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/drm/gpu/screen_manager.h
diff --git a/ui/ozone/platform/drm/gpu/screen_manager.h b/ui/ozone/platform/drm/gpu/screen_manager.h
index f9c5bc0cfdecc0761c4a70376e745cc1c4dfa266..6c067ba2b3186438a8a07c2c795730c0db643cc5 100644
--- a/ui/ozone/platform/drm/gpu/screen_manager.h
+++ b/ui/ozone/platform/drm/gpu/screen_manager.h
@@ -108,13 +108,19 @@ class OZONE_EXPORT ScreenManager {
HardwareDisplayControllers::iterator mirror,
const scoped_refptr<DrmDevice>& drm,
uint32_t crtc,
- uint32_t connector);
+ uint32_t connector,
+ const drmModeModeInfo& mode);
+
+ OverlayPlane GetModesetBuffer(HardwareDisplayController* controller,
+ const gfx::Rect& bounds);
+
+ bool EnableController(HardwareDisplayController* controller);
// Modeset the |controller| using |origin| and |mode|. If there is a window at
// the controller location, then we'll re-use the current buffer.
- bool EnableController(HardwareDisplayController* controller,
- const gfx::Point& origin,
- const drmModeModeInfo& mode);
+ bool ModesetController(HardwareDisplayController* controller,
+ const gfx::Point& origin,
+ const drmModeModeInfo& mode);
DrmWindow* FindWindowAt(const gfx::Rect& bounds) const;
« no previous file with comments | « ui/ozone/platform/drm/gpu/hardware_display_controller.cc ('k') | ui/ozone/platform/drm/gpu/screen_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698