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

Unified Diff: ui/ozone/platform/dri/screen_manager.h

Issue 908993003: [Ozone-Dri] Rename DriWrapper to DrmDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@udl3-pass-drm-fd
Patch Set: rebased Created 5 years, 10 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
« no previous file with comments | « ui/ozone/platform/dri/scanout_buffer.h ('k') | ui/ozone/platform/dri/screen_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5eaaa4681b05507970be712a49f4945ac8adafe5..bf8fed9a25210646cdad7648c855939c962c5a8f 100644
--- a/ui/ozone/platform/dri/screen_manager.h
+++ b/ui/ozone/platform/dri/screen_manager.h
@@ -22,7 +22,7 @@ class Size;
namespace ui {
-class DriWrapper;
+class DrmDevice;
class ScanoutBufferGenerator;
// Responsible for keeping track of active displays and configuring them.
@@ -33,18 +33,18 @@ class OZONE_EXPORT ScreenManager {
// Register a display controller. This must be called before trying to
// configure it.
- void AddDisplayController(const scoped_refptr<DriWrapper>& dri,
+ void AddDisplayController(const scoped_refptr<DrmDevice>& drm,
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(const scoped_refptr<DriWrapper>& dri,
+ void RemoveDisplayController(const scoped_refptr<DrmDevice>& drm,
uint32_t crtc);
// Configure a display controller. The display controller is identified by
// (|crtc|, |connector|) and the controller is modeset using |mode|.
- bool ConfigureDisplayController(const scoped_refptr<DriWrapper>& dri,
+ bool ConfigureDisplayController(const scoped_refptr<DrmDevice>& drm,
uint32_t crtc,
uint32_t connector,
const gfx::Point& origin,
@@ -52,7 +52,7 @@ class OZONE_EXPORT ScreenManager {
// Disable the display controller identified by |crtc|. Note, the controller
// may still be connected, so this does not remove the controller.
- bool DisableDisplayController(const scoped_refptr<DriWrapper>& dri,
+ bool DisableDisplayController(const scoped_refptr<DrmDevice>& drm,
uint32_t crtc);
// Returns a reference to the display controller configured to display within
@@ -69,7 +69,7 @@ class OZONE_EXPORT ScreenManager {
// Returns an iterator into |controllers_| for the controller identified by
// (|crtc|, |connector|).
HardwareDisplayControllers::iterator FindDisplayController(
- const scoped_refptr<DriWrapper>& drm,
+ const scoped_refptr<DrmDevice>& drm,
uint32_t crtc);
// Returns an iterator into |controllers_| for the controller located at
@@ -87,7 +87,7 @@ class OZONE_EXPORT ScreenManager {
// controller is currently present.
bool HandleMirrorMode(HardwareDisplayControllers::iterator original,
HardwareDisplayControllers::iterator mirror,
- const scoped_refptr<DriWrapper>& drm,
+ const scoped_refptr<DrmDevice>& drm,
uint32_t crtc,
uint32_t connector);
« no previous file with comments | « ui/ozone/platform/dri/scanout_buffer.h ('k') | ui/ozone/platform/dri/screen_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698