OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef GPU_CONFIG_GPU_FEATURE_INFO_H_ | |
6 #define GPU_CONFIG_GPU_FEATURE_INFO_H_ | |
7 | |
8 #include <array> | |
dcheng
2017/02/08 22:33:11
Nit: Not used?
ericrk
2017/02/10 19:27:46
removed.
| |
9 | |
10 #include "gpu/config/gpu_feature_type.h" | |
11 #include "gpu/gpu_export.h" | |
12 | |
13 namespace gpu { | |
14 | |
15 // Flags indicating the status of a GPU feature (see gpu_feature_type.h). | |
16 enum GpuFeatureStatus { | |
17 kGpuFeatureStatusEnabled, | |
18 kGpuFeatureStatusBlacklisted, | |
19 kGpuFeatureStatusDisabled, | |
20 kGpuFeatureStatusUndefined, | |
21 kGpuFeatureStatusMax | |
22 }; | |
23 | |
24 // A vector of GpuFeatureStatus values, one per GpuFeatureType. By default, all | |
25 // features are disabled. | |
26 struct GPU_EXPORT GpuFeatureInfo { | |
27 GpuFeatureInfo(); | |
28 GpuFeatureStatus status_values[NUMBER_OF_GPU_FEATURE_TYPES]; | |
29 }; | |
30 | |
31 } // namespace gpu | |
32 | |
33 #endif // GPU_CONFIG_GPU_FEATURE_INFO_H_ | |
OLD | NEW |