OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_COMMON_GPU_FEATURE_FLAGS_H__ | 5 #ifndef CONTENT_COMMON_GPU_FEATURE_FLAGS_H_ |
6 #define CHROME_COMMON_GPU_FEATURE_FLAGS_H__ | 6 #define CONTENT_COMMON_GPU_FEATURE_FLAGS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // Provides flags indicating which gpu features are blacklisted for the system | 9 // Provides flags indicating which gpu features are blacklisted for the system |
10 // on which chrome is currently running. | 10 // on which chrome is currently running. |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 | 15 |
16 class GpuFeatureFlags { | 16 class GpuFeatureFlags { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 static const char kGpuFeatureNameAccelerated2dCanvas[]; | 51 static const char kGpuFeatureNameAccelerated2dCanvas[]; |
52 static const char kGpuFeatureNameAcceleratedCompositing[]; | 52 static const char kGpuFeatureNameAcceleratedCompositing[]; |
53 static const char kGpuFeatureNameWebgl[]; | 53 static const char kGpuFeatureNameWebgl[]; |
54 static const char kGpuFeatureNameMultisampling[]; | 54 static const char kGpuFeatureNameMultisampling[]; |
55 static const char kGpuFeatureNameAll[]; | 55 static const char kGpuFeatureNameAll[]; |
56 | 56 |
57 // If a bit is set to 1, corresponding feature is blacklisted. | 57 // If a bit is set to 1, corresponding feature is blacklisted. |
58 uint32 flags_; | 58 uint32 flags_; |
59 }; | 59 }; |
60 | 60 |
61 #endif // CHROME_COMMON_GPU_FEATURE_FLAGS_H__ | 61 #endif // CONTENT_COMMON_GPU_FEATURE_FLAGS_H_ |
62 | |
OLD | NEW |