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

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

Issue 2295923002: gfx: Struct traits for GpuMemoryBufferId and GpuMemoryBufferType. (Closed)
Patch Set: fix build Created 4 years, 4 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 | « services/ui/ws/gpu_service_proxy.cc ('k') | ui/gfx/mojo/buffer_types.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/buffer_types.mojom
diff --git a/ui/gfx/mojo/buffer_types.mojom b/ui/gfx/mojo/buffer_types.mojom
index 53ab13fafe6a56a2e4b46c9c7438857e2c8b88e4..3a352df62957959989b1522a5631400398a48c48 100644
--- a/ui/gfx/mojo/buffer_types.mojom
+++ b/ui/gfx/mojo/buffer_types.mojom
@@ -34,3 +34,18 @@ enum BufferUsage {
LAST = GPU_READ_CPU_READ_WRITE_PERSISTENT
};
+
+// gfx::GpuMemoryBufferType
+enum GpuMemoryBufferType {
+ EMPTY_BUFFER,
+ SHARED_MEMORY_BUFFER,
+ IO_SURFACE_BUFFER,
+ SURFACE_TEXTURE_BUFFER,
+ OZONE_NATIVE_PIXMAP,
+ LAST = OZONE_NATIVE_PIXMAP
+};
+
+// gfx::GpuMemoryBufferId
+struct GpuMemoryBufferId {
+ int32 id;
+};
« no previous file with comments | « services/ui/ws/gpu_service_proxy.cc ('k') | ui/gfx/mojo/buffer_types.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698