Index: ui/ozone/platform/drm/gpu/crtc_controller.cc |
diff --git a/ui/ozone/platform/drm/gpu/crtc_controller.cc b/ui/ozone/platform/drm/gpu/crtc_controller.cc |
index 46efd4609b8cd194dbda90e75f1aaa0478ae4013..2cec94bb232dd8829ccde243e17da2fe7b857c9d 100644 |
--- a/ui/ozone/platform/drm/gpu/crtc_controller.cc |
+++ b/ui/ozone/platform/drm/gpu/crtc_controller.cc |
@@ -119,6 +119,12 @@ std::vector<uint32_t> CrtcController::GetCompatibleHardwarePlaneIds( |
return drm_->plane_manager()->GetCompatibleHardwarePlaneIds(plane, crtc_); |
} |
+bool CrtcController::IsFormatSupported(uint32_t fourcc_format, |
+ uint32_t z_order) const { |
+ return drm_->plane_manager()->IsFormatSupported(fourcc_format, z_order, |
+ crtc_); |
+} |
+ |
void CrtcController::OnPageFlipEvent(unsigned int frame, |
unsigned int seconds, |
unsigned int useconds) { |