Index: gpu/ipc/common/gpu_info.mojom |
diff --git a/gpu/ipc/common/gpu_info.mojom b/gpu/ipc/common/gpu_info.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ba927e51080240abf0606ddacac374880f6a4a5e |
--- /dev/null |
+++ b/gpu/ipc/common/gpu_info.mojom |
@@ -0,0 +1,22 @@ |
+// Copyright 2014 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. |
+ |
+module gpu.mojom; |
+ |
+import "mojo/common/common_custom_types.mojom"; |
Fady Samuel
2016/07/12 01:27:30
nit: Unnecessary include
Alex Z.
2016/07/12 13:58:15
Done.
|
+ |
+struct GpuDevice { |
Fady Samuel
2016/07/12 01:27:30
nit: Add comment about where the C++ type is defin
Alex Z.
2016/07/12 13:58:15
Done.
|
+ uint32 vendor_id; |
Fady Samuel
2016/07/12 01:27:29
nit: spacing.
Alex Z.
2016/07/12 13:58:15
Done.
|
+ uint32 device_id; |
+ bool active; |
+ string vendor_string; |
+ string device_string; |
+}; |
+ |
+enum CollectInfoResult { |
+ kCollectInfoNone = 0, |
+ kCollectInfoSuccess = 1, |
+ kCollectInfoNonFatalFailure = 2, |
+ kCollectInfoFatalFailure = 3 |
+}; |