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 "gpu/config/gpu_feature_type.h" |
| 9 #include "gpu/gpu_export.h" |
| 10 |
| 11 namespace gpu { |
| 12 |
| 13 // Flags indicating the status of a GPU feature (see gpu_feature_type.h). |
| 14 enum GpuFeatureStatus { |
| 15 kGpuFeatureStatusEnabled, |
| 16 kGpuFeatureStatusBlacklisted, |
| 17 kGpuFeatureStatusDisabled, |
| 18 kGpuFeatureStatusUndefined, |
| 19 kGpuFeatureStatusMax |
| 20 }; |
| 21 |
| 22 // A vector of GpuFeatureStatus values, one per GpuFeatureType. By default, all |
| 23 // features are disabled. |
| 24 struct GPU_EXPORT GpuFeatureInfo { |
| 25 GpuFeatureInfo(); |
| 26 GpuFeatureStatus status_values[NUMBER_OF_GPU_FEATURE_TYPES]; |
| 27 }; |
| 28 |
| 29 } // namespace gpu |
| 30 |
| 31 #endif // GPU_CONFIG_GPU_FEATURE_INFO_H_ |
OLD | NEW |