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

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

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.h
diff --git a/ui/ozone/platform/drm/gpu/crtc_controller.h b/ui/ozone/platform/drm/gpu/crtc_controller.h
index f332ce54da613cce9e2520be4ae71ff6669768d1..c3a7104b546749279e123b3aa890874d16a84753 100644
--- a/ui/ozone/platform/drm/gpu/crtc_controller.h
+++ b/ui/ozone/platform/drm/gpu/crtc_controller.h
@@ -58,6 +58,8 @@ class CrtcController : public base::SupportsWeakPtr<CrtcController> {
// |fourcc_format| format.
bool IsFormatSupported(uint32_t fourcc_format, uint32_t z_order) const;
+ std::vector<uint64_t> GetFormatModifiers(uint32_t format);
Daniele Castagna 2016/12/20 18:03:28 nit: a comment explaining what a modifier for a fo
hoegsberg1 2016/12/22 23:05:20 Acknowledged.
+
// 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