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

Unified Diff: gpu/ipc/common/memory_stats.typemap

Issue 2717233003: gpu: Use mojom API for getting video memory usage. (Closed)
Patch Set: . Created 3 years, 10 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 | « gpu/ipc/common/memory_stats.mojom ('k') | gpu/ipc/common/memory_stats_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/memory_stats.typemap
diff --git a/gpu/ipc/common/memory_stats.typemap b/gpu/ipc/common/memory_stats.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..df882eae59d6904bc844958801c8fe382ce3da97
--- /dev/null
+++ b/gpu/ipc/common/memory_stats.typemap
@@ -0,0 +1,11 @@
+# Copyright 2017 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 = "//gpu/ipc/common/memory_stats.mojom"
+public_headers = [ "//gpu/ipc/common/memory_stats.h" ]
+traits_headers = [ "//gpu/ipc/common/memory_stats_struct_traits.h" ]
+type_mappings = [
+ "gpu.mojom.VideoMemoryProcessStats=gpu::VideoMemoryUsageStats::ProcessStats",
+ "gpu.mojom.VideoMemoryUsageStats=gpu::VideoMemoryUsageStats",
+]
« no previous file with comments | « gpu/ipc/common/memory_stats.mojom ('k') | gpu/ipc/common/memory_stats_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698