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

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

Issue 469343003: [Ozone-GBM] Pumb DriWindowDelegate throughout the platform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 4 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/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 9c6bb1296e9c7aec14d2a73282c26500ff273b62..a69cbde1bdb94dda407b673f7ece3752c1bce13c 100644
--- a/ui/ozone/platform/dri/hardware_display_controller.h
+++ b/ui/ozone/platform/dri/hardware_display_controller.h
@@ -165,8 +165,8 @@ class HardwareDisplayController
void AddCrtc(scoped_ptr<CrtcState> state);
scoped_ptr<CrtcState> RemoveCrtc(uint32_t crtc);
bool HasCrtc(uint32_t crtc) const;
- bool HasCrtcs() const;
- void RemoveMirroredCrtcs();
+ bool IsMirrored() const;
+ bool IsDisabled() const;
gfx::Point origin() const { return origin_; }
void set_origin(const gfx::Point& origin) { origin_ = origin; }
@@ -199,6 +199,7 @@ class HardwareDisplayController
ScopedVector<CrtcState> crtc_states_;
gfx::Point origin_;
drmModeModeInfo mode_;
+ bool is_disabled_;
uint64_t time_of_last_flip_;
// Keeps track of the number of page flips scheduled but not yet serviced (in

Powered by Google App Engine
This is Rietveld 408576698