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

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

Issue 2930143004: Add DIRECT_COMPOSITION GpuMemoryBuffer type.
Patch Set: fix build Created 3 years, 6 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
« ui/gl/gl_image.h ('K') | « ui/gl/gl_image.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_thread.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.cc b/ui/ozone/platform/drm/gpu/drm_thread.cc
index 8df0ba7136c659829baa05733fc23178cfbc5464..dddcc7298d23041898414b81e03f18c51bad03ef 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.cc
+++ b/ui/ozone/platform/drm/gpu/drm_thread.cc
@@ -116,6 +116,7 @@ void DrmThread::CreateBuffer(gfx::AcceleratedWidget widget,
case gfx::BufferUsage::GPU_READ:
break;
case gfx::BufferUsage::SCANOUT:
+ case gfx::BufferUsage::SCANOUT_ASYNC:
flags = GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING;
break;
case gfx::BufferUsage::SCANOUT_CPU_READ_WRITE:
« ui/gl/gl_image.h ('K') | « ui/gl/gl_image.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698