Index: ui/ozone/platform/drm/gpu/drm_thread_proxy.cc |
diff --git a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc |
index b46e11624ab33268f802299a1f8e5a4ca4986a18..6b4c0174d354924afcfb81b4ee4b6ebca977cde6 100644 |
--- a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc |
+++ b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc |
@@ -39,4 +39,11 @@ scoped_refptr<GbmBuffer> DrmThreadProxy::CreateBuffer( |
return buffer; |
} |
+void DrmThreadProxy::GetSupportedFormats( |
+ std::vector<uint32_t>* support_formats) { |
spang
2016/01/20 18:52:24
Be consistent with naming: supported_formats
william.xie
2016/01/21 02:14:02
Done.
|
+ PostSyncTask(drm_thread_.task_runner(), |
+ base::Bind(&DrmThread::GetSupportedFormats, |
+ base::Unretained(&drm_thread_), support_formats)); |
+} |
+ |
} // namespace ui |