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

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

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: 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.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) {

Powered by Google App Engine
This is Rietveld 408576698