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

Unified Diff: gpu/ipc/common/gpu_feature_info.mojom

Issue 2781553002: gpu: Introduce separate mojo api for failed initialization. (Closed)
Patch Set: . Created 3 years, 9 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/BUILD.gn ('k') | gpu/ipc/common/gpu_feature_info.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/gpu_feature_info.mojom
diff --git a/gpu/ipc/common/gpu_feature_info.mojom b/gpu/ipc/common/gpu_feature_info.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..f7f6c14d5d9198a5de93a138e5e6ce7b716a6dfe
--- /dev/null
+++ b/gpu/ipc/common/gpu_feature_info.mojom
@@ -0,0 +1,23 @@
+// 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.
+
+// gpu/config/gpu_feature_info.h
+module gpu.mojom;
+
+// gpu::GpuFeatureStatus
+enum GpuFeatureStatus {
+ Enabled,
+ Blacklisted,
+ Disabled,
+ Undefined,
+ Max
+};
+
+// gpu:GpuFeatureInfo
+struct GpuFeatureInfo {
+ // The array should have one entry for each GpuFeatureType. The size of the
+ // array should be gpu::NUMBER_OF_GPU_FEATURE_TYPES. This is enforced during
+ // deserialization.
+ array<GpuFeatureStatus> status_values;
+};
« no previous file with comments | « gpu/ipc/common/BUILD.gn ('k') | gpu/ipc/common/gpu_feature_info.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698