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

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

Issue 1426993003: Ozone: Dont hardcode format to YUV when using Overlay Composition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cosmetic fixes Created 5 years, 1 month 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/crtc_controller.h
diff --git a/ui/ozone/platform/drm/gpu/crtc_controller.h b/ui/ozone/platform/drm/gpu/crtc_controller.h
index 676f052a2168151ff1d22f3c7a3546f04d4be05b..b99eb62f0fd3fb19911d27b0c97d4787a6562265 100644
--- a/ui/ozone/platform/drm/gpu/crtc_controller.h
+++ b/ui/ozone/platform/drm/gpu/crtc_controller.h
@@ -59,6 +59,10 @@ class OZONE_EXPORT CrtcController
std::vector<uint32_t> GetCompatibleHardwarePlaneIds(
const OverlayPlane& plane) const;
+ // Returns true if hardware plane with z_order equal to |z_order| can support
+ // |fourcc_format| format.
+ bool IsFormatSupported(uint32_t fourcc_format, uint32_t z_order) const;
+
// Called if the page flip event wasn't scheduled (ie: page flip fails). This
// will then signal the request such that the caller doesn't wait for the
// event forever.

Powered by Google App Engine
This is Rietveld 408576698