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

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

Issue 2298003002: gfx: Struct traits for GpuMemoryBufferHandle. (Closed)
Patch Set: . Created 4 years, 3 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/gfx/mojo/buffer_types.mojom ('k') | ui/gfx/mojo/buffer_types_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/buffer_types.typemap
diff --git a/ui/gfx/mojo/buffer_types.typemap b/ui/gfx/mojo/buffer_types.typemap
index 514e9c529c030c80b40e1349b1e6055f6cb37faa..d35745863298e53465c680346d1d5a069c2d6f22 100644
--- a/ui/gfx/mojo/buffer_types.typemap
+++ b/ui/gfx/mojo/buffer_types.typemap
@@ -6,14 +6,21 @@ mojom = "//ui/gfx/mojo/buffer_types.mojom"
public_headers = [
"//ui/gfx/buffer_types.h",
"//ui/gfx/gpu_memory_buffer.h",
+ "//ui/gfx/native_pixmap_handle.h",
]
traits_headers = [ "//ui/gfx/mojo/buffer_types_traits.h" ]
+sources = [
+ "//ui/gfx/mojo/buffer_types_traits.cc",
+]
public_deps = [
"//ui/gfx",
]
type_mappings = [
"gfx.mojom.BufferFormat=gfx::BufferFormat",
"gfx.mojom.BufferUsage=gfx::BufferUsage",
+ "gfx.mojom.GpuMemoryBufferHandle=gfx::GpuMemoryBufferHandle",
"gfx.mojom.GpuMemoryBufferId=gfx::GpuMemoryBufferId[copyable_pass_by_value]",
"gfx.mojom.GpuMemoryBufferType=gfx::GpuMemoryBufferType",
+ "gfx.mojom.NativePixmapHandle=gfx::NativePixmapHandle",
+ "gfx.mojom.NativePixmapPlane=gfx::NativePixmapPlane",
]
« no previous file with comments | « ui/gfx/mojo/buffer_types.mojom ('k') | ui/gfx/mojo/buffer_types_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698