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.typemap

Issue 2295923002: gfx: Struct traits for GpuMemoryBufferId and GpuMemoryBufferType. (Closed)
Patch Set: . 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
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..7b2c43a6cf4c6bf03fc28034a8d058abac760080 100644
--- a/ui/gfx/mojo/buffer_types.typemap
+++ b/ui/gfx/mojo/buffer_types.typemap
@@ -3,7 +3,10 @@
# found in the LICENSE file.
mojom = "//ui/gfx/mojo/buffer_types.mojom"
-public_headers = [ "//ui/gfx/buffer_types.h" ]
+public_headers = [
+ "//ui/gfx/buffer_types.h",
+ "//ui/gfx/gpu_memory_buffer.h",
+]
traits_headers = [ "//ui/gfx/mojo/buffer_types_enum_traits.h" ]
public_deps = [
"//ui/gfx",
@@ -11,4 +14,6 @@ public_deps = [
type_mappings = [
"gfx.mojom.BufferFormat=gfx::BufferFormat",
"gfx.mojom.BufferUsage=gfx::BufferUsage",
+ "gfx.mojom.GpuMemoryBufferId=gfx::GpuMemoryBufferId",
Fady Samuel 2016/08/30 18:27:07 use copyable_pass_by_value to avoid extra const re
sadrul 2016/08/30 18:35:23 Done.
+ "gfx.mojom.GpuMemoryBufferType=gfx::GpuMemoryBufferType",
]

Powered by Google App Engine
This is Rietveld 408576698