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

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

Issue 2800653003: SurfaceFactoryOzone: expose scanout supported GpuMemoryBufferAttribs
Patch Set: use uint64_t modifiers, get modifiers for primary plane Created 3 years, 8 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
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread_proxy.h ('k') | ui/ozone/platform/drm/gpu/gbm_surface_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dccef01e78328127185556c45c65b0d94aad5aba..3dcf3fca9baf82f60adc1f94e4934c6f0278dccc 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
+++ b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
@@ -63,6 +63,15 @@ void DrmThreadProxy::GetScanoutFormats(
widget, scanout_formats));
}
+void DrmThreadProxy::GetScanoutFormatsWithModifiers(
+ gfx::AcceleratedWidget widget,
+ gfx::GpuMemoryBufferAttribVector* scanout_combinations) {
+ PostSyncTask(
+ drm_thread_.task_runner(),
+ base::Bind(&DrmThread::GetScanoutFormatsWithModifiers,
+ base::Unretained(&drm_thread_), widget, scanout_combinations));
+}
+
void DrmThreadProxy::AddBinding(ozone::mojom::DeviceCursorRequest request) {
drm_thread_.task_runner()->PostTask(
FROM_HERE,
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread_proxy.h ('k') | ui/ozone/platform/drm/gpu/gbm_surface_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698