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

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

Issue 1598573002: Propagate supported scanout formats from driver to SurfaceFactoryOzone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/drm_thread_proxy.h
diff --git a/ui/ozone/platform/drm/gpu/drm_thread_proxy.h b/ui/ozone/platform/drm/gpu/drm_thread_proxy.h
index 05e4b53003922fcb91ba21c20678b65896897c5b..6f8c79ffed0f16465b7d9bfbf65b1174a2ef49b3 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread_proxy.h
+++ b/ui/ozone/platform/drm/gpu/drm_thread_proxy.h
@@ -33,6 +33,9 @@ class DrmThreadProxy {
gfx::BufferFormat format,
gfx::BufferUsage usage);
+ // Returns all formats which can be scanned out by this PlaneManager.
+ void GetSupportedFormats(std::vector<uint32_t>* support_formats);
+
private:
DrmThread drm_thread_;

Powered by Google App Engine
This is Rietveld 408576698