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

Unified Diff: content/browser/gpu/gpu_internals_ui.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
« no previous file with comments | « no previous file | gpu/ipc/client/BUILD.gn » ('j') | gpu/ipc/service/gpu_memory_buffer_factory_win.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_internals_ui.cc
diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
index 066f6d030d3e83f2da2b6eea6766a6b836e5e27d..dcb9e465b750e0654f407115d3c5588d9f03b4b1 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
@@ -306,6 +306,8 @@ const char* BufferUsageToString(gfx::BufferUsage usage) {
return "GPU_READ";
case gfx::BufferUsage::SCANOUT:
return "SCANOUT";
+ case gfx::BufferUsage::SCANOUT_ASYNC:
+ return "SCANOUT_ASYNC";
case gfx::BufferUsage::SCANOUT_CPU_READ_WRITE:
return "SCANOUT_CPU_READ_WRITE";
case gfx::BufferUsage::GPU_READ_CPU_READ_WRITE:
« no previous file with comments | « no previous file | gpu/ipc/client/BUILD.gn » ('j') | gpu/ipc/service/gpu_memory_buffer_factory_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698