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

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

Issue 15745014: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « gpu/config/gpu_dx_diagnostics_win.cc ('k') | gpu/config/gpu_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CONTENT_PUBLIC_COMMON_GPU_FEATURE_TYPE_H_ 5 #ifndef GPU_CONFIG_GPU_FEATURE_TYPE_H_
6 #define CONTENT_PUBLIC_COMMON_GPU_FEATURE_TYPE_H_ 6 #define GPU_CONFIG_GPU_FEATURE_TYPE_H_
7 7
8 namespace content { 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_ACCELERATED_COMPOSITING, 15 GPU_FEATURE_TYPE_ACCELERATED_COMPOSITING,
16 GPU_FEATURE_TYPE_WEBGL, 16 GPU_FEATURE_TYPE_WEBGL,
17 GPU_FEATURE_TYPE_MULTISAMPLING, 17 GPU_FEATURE_TYPE_MULTISAMPLING,
18 GPU_FEATURE_TYPE_FLASH3D, 18 GPU_FEATURE_TYPE_FLASH3D,
19 GPU_FEATURE_TYPE_FLASH_STAGE3D, 19 GPU_FEATURE_TYPE_FLASH_STAGE3D,
20 GPU_FEATURE_TYPE_TEXTURE_SHARING, 20 GPU_FEATURE_TYPE_TEXTURE_SHARING,
21 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE, 21 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE,
22 GPU_FEATURE_TYPE_3D_CSS, 22 GPU_FEATURE_TYPE_3D_CSS,
23 GPU_FEATURE_TYPE_ACCELERATED_VIDEO, 23 GPU_FEATURE_TYPE_ACCELERATED_VIDEO,
24 GPU_FEATURE_TYPE_PANEL_FITTING, 24 GPU_FEATURE_TYPE_PANEL_FITTING,
25 GPU_FEATURE_TYPE_FORCE_COMPOSITING_MODE, 25 GPU_FEATURE_TYPE_FORCE_COMPOSITING_MODE,
26 GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE, 26 GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE,
27 NUMBER_OF_GPU_FEATURE_TYPES 27 NUMBER_OF_GPU_FEATURE_TYPES
28 }; 28 };
29 29
30 } // namespace content 30 } // namespace gpu
31 31
32 #endif // CONTENT_PUBLIC_COMMON_GPU_FEATURE_TYPE_H_ 32 #endif // GPU_CONFIG_GPU_FEATURE_TYPE_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_dx_diagnostics_win.cc ('k') | gpu/config/gpu_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698