OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 GPU_CONFIG_GPU_FEATURE_TYPE_H_ | 5 #ifndef GPU_CONFIG_GPU_FEATURE_TYPE_H_ |
6 #define GPU_CONFIG_GPU_FEATURE_TYPE_H_ | 6 #define GPU_CONFIG_GPU_FEATURE_TYPE_H_ |
7 | 7 |
8 namespace gpu { | 8 namespace gpu { |
9 | 9 |
10 // Provides flags indicating which gpu features are blacklisted for the system | 10 // Provides flags indicating which gpu features are blacklisted for the system |
11 // on which chrome is currently running. | 11 // on which chrome is currently running. |
12 // If a bit is set to 1, corresponding feature is blacklisted. | 12 // If a bit is set to 1, corresponding feature is blacklisted. |
13 enum GpuFeatureType { | 13 enum GpuFeatureType { |
14 GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS = 0, | 14 GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS = 0, |
15 GPU_FEATURE_TYPE_GPU_COMPOSITING, | 15 GPU_FEATURE_TYPE_GPU_COMPOSITING, |
16 GPU_FEATURE_TYPE_WEBGL, | 16 GPU_FEATURE_TYPE_ACCELERATED_WEBGL, |
17 GPU_FEATURE_TYPE_FLASH3D, | 17 GPU_FEATURE_TYPE_FLASH3D, |
18 GPU_FEATURE_TYPE_FLASH_STAGE3D, | 18 GPU_FEATURE_TYPE_FLASH_STAGE3D, |
19 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE, | 19 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE, |
20 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE, | 20 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE, |
21 GPU_FEATURE_TYPE_PANEL_FITTING, | 21 GPU_FEATURE_TYPE_PANEL_FITTING, |
22 GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE, | 22 GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE, |
23 GPU_FEATURE_TYPE_GPU_RASTERIZATION, | 23 GPU_FEATURE_TYPE_GPU_RASTERIZATION, |
24 GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE, | 24 GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE, |
25 GPU_FEATURE_TYPE_WEBGL2, | 25 GPU_FEATURE_TYPE_WEBGL2, |
26 NUMBER_OF_GPU_FEATURE_TYPES | 26 NUMBER_OF_GPU_FEATURE_TYPES |
27 }; | 27 }; |
28 | 28 |
29 } // namespace gpu | 29 } // namespace gpu |
30 | 30 |
31 #endif // GPU_CONFIG_GPU_FEATURE_TYPE_H_ | 31 #endif // GPU_CONFIG_GPU_FEATURE_TYPE_H_ |
OLD | NEW |