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

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

Issue 2248973005: mojo: Struct traits for gpu buffer types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« 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
new file mode 100644
index 0000000000000000000000000000000000000000..df21a6fa84407ad2cbb07736e7aabe5b85e0bc0c
--- /dev/null
+++ b/ui/gfx/mojo/buffer_types.typemap
@@ -0,0 +1,14 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# 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_deps = [
+ "//ui/gfx",
+]
+type_mappings = [
+ "gfx.mojom.BufferFormat=gfx::BufferFormat",
+ "gfx.mojom.BufferUsage=gfx::BufferUsage",
+]
« 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