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

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

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 | « ui/gfx/mojo/buffer_types.mojom ('k') | ui/gfx/mojo/buffer_types_enum_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 df21a6fa84407ad2cbb07736e7aabe5b85e0bc0c..514e9c529c030c80b40e1349b1e6055f6cb37faa 100644
--- a/ui/gfx/mojo/buffer_types.typemap
+++ b/ui/gfx/mojo/buffer_types.typemap
@@ -3,12 +3,17 @@
# found in the LICENSE file.
mojom = "//ui/gfx/mojo/buffer_types.mojom"
-public_headers = [ "//ui/gfx/buffer_types.h" ]
-traits_headers = [ "//ui/gfx/mojo/buffer_types_enum_traits.h" ]
+public_headers = [
+ "//ui/gfx/buffer_types.h",
+ "//ui/gfx/gpu_memory_buffer.h",
+]
+traits_headers = [ "//ui/gfx/mojo/buffer_types_traits.h" ]
public_deps = [
"//ui/gfx",
]
type_mappings = [
"gfx.mojom.BufferFormat=gfx::BufferFormat",
"gfx.mojom.BufferUsage=gfx::BufferUsage",
+ "gfx.mojom.GpuMemoryBufferId=gfx::GpuMemoryBufferId[copyable_pass_by_value]",
+ "gfx.mojom.GpuMemoryBufferType=gfx::GpuMemoryBufferType",
]
« no previous file with comments | « ui/gfx/mojo/buffer_types.mojom ('k') | ui/gfx/mojo/buffer_types_enum_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698