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

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

Issue 106633002: GBM Ozone implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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_surface_factory.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 11320b307113ba8e9d70e508082b46578d9a166b..812f084aaf1eed2b1a5710c89cfe337b01d6db61 100644
--- a/ui/ozone/platform/dri/hardware_display_controller.h
+++ b/ui/ozone/platform/dri/hardware_display_controller.h
@@ -22,7 +22,7 @@ class Point;
namespace ui {
-class DriSurface;
+class ScanoutSurface;
// The HDCOz will handle modesettings and scannout operations for hardware
// devices.
@@ -91,7 +91,7 @@ class OZONE_EXPORT HardwareDisplayController
~HardwareDisplayController();
// Associate the HDCO with a surface implementation and initialize it.
- bool BindSurfaceToController(scoped_ptr<DriSurface> surface,
+ bool BindSurfaceToController(scoped_ptr<ScanoutSurface> surface,
drmModeModeInfo mode);
void UnbindSurfaceFromController();
@@ -132,7 +132,7 @@ class OZONE_EXPORT HardwareDisplayController
unsigned int useconds);
// Set the hardware cursor to show the contents of |surface|.
- bool SetCursor(DriSurface* surface);
+ bool SetCursor(ScanoutSurface* surface);
bool UnsetCursor();
@@ -142,7 +142,7 @@ class OZONE_EXPORT HardwareDisplayController
const drmModeModeInfo& get_mode() const { return mode_; };
uint32_t connector_id() const { return connector_id_; }
uint32_t crtc_id() const { return crtc_id_; }
- DriSurface* surface() const {
+ ScanoutSurface* surface() const {
return surface_.get();
};
@@ -163,7 +163,7 @@ class OZONE_EXPORT HardwareDisplayController
// TODO(dnicoara) Need to store all the modes.
drmModeModeInfo mode_;
- scoped_ptr<DriSurface> surface_;
+ scoped_ptr<ScanoutSurface> surface_;
uint64_t time_of_last_flip_;
« no previous file with comments | « ui/ozone/platform/dri/gbm_surface_factory.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