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

Unified Diff: ui/ozone/platform/dri/hardware_display_controller.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/gbm_wrapper.cc ('k') | ui/ozone/platform/dri/hardware_display_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/hardware_display_controller.h
diff --git a/ui/ozone/platform/dri/hardware_display_controller.h b/ui/ozone/platform/dri/hardware_display_controller.h
index 7f015a5b44170b0ccb8c9d7b9124858e822bb9e5..e32ba6301ff9ddcad662b7ebb25f970acf7a552d 100644
--- a/ui/ozone/platform/dri/hardware_display_controller.h
+++ b/ui/ozone/platform/dri/hardware_display_controller.h
@@ -31,7 +31,7 @@ namespace ui {
class CrtcController;
class ScanoutBuffer;
-class DriWrapper;
+class DrmDevice;
// The HDCOz will handle modesettings and scannout operations for hardware
// devices.
@@ -134,9 +134,9 @@ class OZONE_EXPORT HardwareDisplayController
bool MoveCursor(const gfx::Point& location);
void AddCrtc(scoped_ptr<CrtcController> controller);
- scoped_ptr<CrtcController> RemoveCrtc(const scoped_refptr<DriWrapper>& drm,
+ scoped_ptr<CrtcController> RemoveCrtc(const scoped_refptr<DrmDevice>& drm,
uint32_t crtc);
- bool HasCrtc(const scoped_refptr<DriWrapper>& drm, uint32_t crtc) const;
+ bool HasCrtc(const scoped_refptr<DrmDevice>& drm, uint32_t crtc) const;
bool IsMirrored() const;
bool IsDisabled() const;
gfx::Size GetModeSize() const;
@@ -152,7 +152,7 @@ class OZONE_EXPORT HardwareDisplayController
return crtc_controllers_.get();
}
- scoped_refptr<DriWrapper> GetAllocationDriWrapper() const;
+ scoped_refptr<DrmDevice> GetAllocationDrmDevice() const;
private:
// Returns true if any of the CRTCs is waiting for a page flip.
@@ -185,7 +185,7 @@ class OZONE_EXPORT HardwareDisplayController
std::deque<PageFlipRequest> requests_;
scoped_refptr<ScanoutBuffer> cursor_buffer_;
- base::ScopedPtrHashMap<DriWrapper*, HardwareDisplayPlaneList>
+ base::ScopedPtrHashMap<DrmDevice*, HardwareDisplayPlaneList>
owned_hardware_planes_;
// Stores the CRTC configuration. This is used to identify monitors and
« no previous file with comments | « ui/ozone/platform/dri/gbm_wrapper.cc ('k') | ui/ozone/platform/dri/hardware_display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698