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

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

Issue 1147553003: ozone: Add atomic initialization path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove flag for now Created 5 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/drm/gpu/gbm_device.cc ('k') | ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h b/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h
index 415961164485cac69eb5261d71349fa957554fa8..b699f634e385ebbdb5d62bc6d0da8246642e7760 100644
--- a/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h
+++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h
@@ -11,6 +11,7 @@
namespace ui {
+class CrtcController;
class DrmDevice;
class HardwareDisplayPlaneAtomic : public HardwareDisplayPlane {
@@ -27,6 +28,9 @@ class HardwareDisplayPlaneAtomic : public HardwareDisplayPlane {
// HardwareDisplayPlane:
bool Initialize(DrmDevice* drm) override;
+ void set_crtc(CrtcController* crtc) { crtc_ = crtc; }
dnicoara 2015/05/19 19:36:20 As a separate change, could you go over HardwareDi
+ CrtcController* crtc() const { return crtc_; }
+
private:
struct Property {
Property();
@@ -46,6 +50,7 @@ class HardwareDisplayPlaneAtomic : public HardwareDisplayPlane {
Property src_y_prop_;
Property src_w_prop_;
Property src_h_prop_;
+ CrtcController* crtc_;
};
} // namespace ui
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_device.cc ('k') | ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698