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

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

Issue 2627193003: ozone: Allocate scanout buffers according to KMS modifiers. (Closed)
Patch Set: Created 3 years, 11 months 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_controller.h
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_controller.h b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
index 3738cf27d4459d4026e10f755c1b3ccc31d4cf6a..b4898f4f0ab4d13d639b9de0b6d7a6e067bd65d4 100644
--- a/ui/ozone/platform/drm/gpu/hardware_display_controller.h
+++ b/ui/ozone/platform/drm/gpu/hardware_display_controller.h
@@ -127,6 +127,10 @@ class HardwareDisplayController {
bool IsFormatSupported(uint32_t fourcc_format, uint32_t z_order) const;
+ // Return the supported modifiers for |fourcc_format| for this
+ // controller.
+ std::vector<uint64_t> GetFormatModifiers(uint32_t fourcc_format);
+
// Set the hardware cursor to show the contents of |surface|.
bool SetCursor(const scoped_refptr<ScanoutBuffer>& buffer);
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_buffer_base.cc ('k') | ui/ozone/platform/drm/gpu/hardware_display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698