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

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

Issue 1279703004: Ozone: HDC should only keep track of planes owned by it’s crtc controllers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments Created 5 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/drm/gpu/hardware_display_controller.h
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_controller.h b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
index 3772c35302fded3605564bbd3e5acc5bd312e819..71ddf229369fab8eb2564c3ad3e6fcffac4c0ee7 100644
--- a/ui/ozone/platform/drm/gpu/hardware_display_controller.h
+++ b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
@@ -140,6 +140,9 @@ class OZONE_EXPORT HardwareDisplayController {
scoped_ptr<CrtcController> RemoveCrtc(const scoped_refptr<DrmDevice>& drm,
uint32_t crtc);
bool HasCrtc(const scoped_refptr<DrmDevice>& drm, uint32_t crtc) const;
+ bool HasPlane(const scoped_refptr<DrmDevice>& drm,
+ uint32_t plane_id,
+ uint32_t crtc) const;
bool IsMirrored() const;
bool IsDisabled() const;
gfx::Size GetModeSize() const;

Powered by Google App Engine
This is Rietveld 408576698