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

Side by Side Diff: gpu/config/gpu_feature_info.h

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: Feedback + add rest of logic back in 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 unified diff | Download patch
OLDNEW
(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 <vector>
9
10 #include "gpu/config/gpu_feature_type.h"
11
12 namespace gpu {
13
14 // Flags indicating the status of a GPU feature (see gpu_feature_type.h).
15 enum GpuFeatureStatus {
16 kGpuFeatureStatusEnabled,
17 kGpuFeatureStatusBlacklisted,
18 kGpuFeatureStatusDisabled,
19 kGpuFeatureStatusMax
20 };
21
22 // A vector of GpuFeatureStatus values, one per GpuFeatureType. By default, all
23 // features are disabled.
24 struct GpuFeatureInfo {
25 GpuFeatureInfo()
26 : status_values(NUMBER_OF_GPU_FEATURE_TYPES, kGpuFeatureStatusDisabled) {}
27 std::vector<GpuFeatureStatus> status_values;
28 };
29
30 } // namespace gpu
31
32 #endif // GPU_CONFIG_GPU_FEATURE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698