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

Unified Diff: ui/ozone/platform/drm/gpu/drm_thread.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.h
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.h b/ui/ozone/platform/drm/gpu/drm_thread.h
index 130b0dc4e332ad9c8ae428b8cd3bdedeb5678e77..6299b83752b4f3e0b94a43b7f777d77e9fcc620b 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.h
+++ b/ui/ozone/platform/drm/gpu/drm_thread.h
@@ -59,6 +59,7 @@ class DrmThread : public base::Thread {
gfx::BufferUsage usage,
scoped_refptr<GbmBuffer>* buffer);
+ void GetSupportedFormats(std::vector<uint32_t>* support_formats);
spang 2016/01/20 18:52:24 Document what the uint32_t means. In fact, could
william.xie 2016/01/21 02:14:02 Done.
void SchedulePageFlip(gfx::AcceleratedWidget widget,
const std::vector<OverlayPlane>& planes,
const SwapCompletionCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698