Chromium Code Reviews| Index: gpu/config/gpu_feature_status.h |
| diff --git a/gpu/config/gpu_feature_status.h b/gpu/config/gpu_feature_status.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..675ccaf0044fc18bfc87aa1ff3c5e251d8905002 |
| --- /dev/null |
| +++ b/gpu/config/gpu_feature_status.h |
| @@ -0,0 +1,19 @@ |
| +// Copyright (c) 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. |
| + |
| +#ifndef GPU_CONFIG_GPU_FEATURE_STATUS_H_ |
| +#define GPU_CONFIG_GPU_FEATURE_STATUS_H_ |
| + |
| +#include <set> |
| + |
| +namespace gpu { |
| + |
| +struct GPUFeatureStatus { |
| + std::set<int> blacklisted_features; |
| + std::set<int> enabled_features; |
|
Zhenyao Mo
2017/01/25 22:37:09
I suggest to defined an enum of {Blacklisted, Enab
ericrk
2017/01/30 15:36:07
sgtm
|
| +}; |
| + |
| +} // namespace gpu |
| + |
| +#endif // GPU_CONFIG_GPU_FEATURE_STATUS_H_ |