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

Unified Diff: ui/ozone/platform/drm/gpu/hardware_display_plane_manager.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/hardware_display_plane_manager.h
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h
index 40141f7d46ef45df4698b88ca7209beb3dcef900..cd60d89498ceff9797218dad5d14d253a8207242 100644
--- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h
+++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h
@@ -97,6 +97,10 @@ class OZONE_EXPORT HardwareDisplayPlaneManager {
std::vector<uint32_t> GetCompatibleHardwarePlaneIds(const OverlayPlane& plane,
uint32_t crtc_id) const;
+ bool IsFormatSupported(uint32_t fourcc_format,
+ uint32_t z_order,
+ uint32_t crtc_id) const;
+
protected:
virtual bool SetPlaneData(HardwareDisplayPlaneList* plane_list,
HardwareDisplayPlane* hw_plane,

Powered by Google App Engine
This is Rietveld 408576698