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

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

Issue 2576263002: ozone: Allocate scanout buffer according to KMS modifiers (Closed)
Patch Set: ozone: Allocate scanout buffer according to KMS modifiers Created 4 years 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 11e39dd5f7abfe6069d0ff7695717ba06e2523b6..811e0a86d86d2d551867b3b17b9b1704c78b208c 100644
--- a/ui/ozone/platform/drm/gpu/crtc_controller.cc
+++ b/ui/ozone/platform/drm/gpu/crtc_controller.cc
@@ -120,6 +120,11 @@ bool CrtcController::IsFormatSupported(uint32_t fourcc_format,
crtc_);
}
+uint32_t CrtcController::GetFormatModifiers(uint32_t format,
+ uint64_t *modifiers, uint32_t count) {
+ return drm_->plane_manager()->GetFormatModifiers(crtc_, format, modifiers, count);
+}
+
void CrtcController::OnPageFlipEvent(unsigned int frame,
unsigned int seconds,
unsigned int useconds) {

Powered by Google App Engine
This is Rietveld 408576698