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

Unified Diff: ui/gfx/mojo/buffer_types.mojom

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
Index: ui/gfx/mojo/buffer_types.mojom
diff --git a/ui/gfx/mojo/buffer_types.mojom b/ui/gfx/mojo/buffer_types.mojom
index 057831195cb1a521bbf6ddcbf35e4a2eb6fcb131..251fe1c40f4755bb8ebe2908f8f3c82bec6283c2 100644
--- a/ui/gfx/mojo/buffer_types.mojom
+++ b/ui/gfx/mojo/buffer_types.mojom
@@ -31,6 +31,7 @@ enum BufferFormat {
enum BufferUsage {
GPU_READ,
SCANOUT,
+ SCANOUT_ASYNC,
SCANOUT_CPU_READ_WRITE,
GPU_READ_CPU_READ_WRITE,
GPU_READ_CPU_READ_WRITE_PERSISTENT,
@@ -44,7 +45,8 @@ enum GpuMemoryBufferType {
SHARED_MEMORY_BUFFER,
IO_SURFACE_BUFFER,
NATIVE_PIXMAP,
- LAST = NATIVE_PIXMAP
+ DIRECT_COMPOSITION,
+ LAST = DIRECT_COMPOSITION
};
// gfx::GpuMemoryBufferId

Powered by Google App Engine
This is Rietveld 408576698