OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // Determines whether certain gpu-related features are blacklisted or not. | 5 // Determines whether certain gpu-related features are blacklisted or not. |
6 // The format of a valid software_rendering_list.json file is defined in | 6 // The format of a valid software_rendering_list.json file is defined in |
7 // <gpu/config/gpu_control_list_format.txt>. | 7 // <gpu/config/gpu_control_list_format.txt>. |
8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>. | 8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>. |
9 | 9 |
10 #include "gpu/config/gpu_control_list_jsons.h" | 10 #include "gpu/config/gpu_control_list_jsons.h" |
11 | 11 |
12 #define LONG_STRING_CONST(...) #__VA_ARGS__ | 12 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
13 | 13 |
14 namespace gpu { | 14 namespace gpu { |
15 | 15 |
16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( | 16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( |
17 | 17 |
18 { | 18 { |
19 "name": "software rendering list", | 19 "name": "software rendering list", |
20 // Please update the version number whenever you change this file. | 20 // Please update the version number whenever you change this file. |
21 "version": "10.0", | 21 "version": "10.1", |
22 "entries": [ | 22 "entries": [ |
23 { | 23 { |
24 "id": 1, | 24 "id": 1, |
25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", | 25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", |
26 "webkit_bugs": [47028], | 26 "webkit_bugs": [47028], |
27 "os": { | 27 "os": { |
28 "type": "macosx" | 28 "type": "macosx" |
29 }, | 29 }, |
30 "vendor_id": "0x1002", | 30 "vendor_id": "0x1002", |
31 "device_id": ["0x7249"], | 31 "device_id": ["0x7249"], |
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 "description": "Blacklist GPU raster/canvas on all except known good GPUs
and newer Android releases", | 996 "description": "Blacklist GPU raster/canvas on all except known good GPUs
and newer Android releases", |
997 "cr_bugs": [362779,424970], | 997 "cr_bugs": [362779,424970], |
998 "os": { | 998 "os": { |
999 "type": "android" | 999 "type": "android" |
1000 }, | 1000 }, |
1001 "exceptions": [ | 1001 "exceptions": [ |
1002 { | 1002 { |
1003 "os": { | 1003 "os": { |
1004 "type": "android" | 1004 "type": "android" |
1005 }, | 1005 }, |
1006 "gl_renderer": "Adreno (TM) 3.*" | 1006 "gl_renderer": "Adreno \\(TM\\) 3.*" |
1007 }, | 1007 }, |
1008 { | 1008 { |
1009 "os": { | 1009 "os": { |
1010 "type": "android" | 1010 "type": "android" |
1011 }, | 1011 }, |
1012 "gl_renderer": "NVIDIA.*" | 1012 "gl_renderer": "NVIDIA.*" |
1013 }, | 1013 }, |
1014 { | 1014 { |
1015 "os": { | 1015 "os": { |
1016 "type": "android" | 1016 "type": "android" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1146 "accelerated_2d_canvas", | 1146 "accelerated_2d_canvas", |
1147 "gpu_rasterization" | 1147 "gpu_rasterization" |
1148 ] | 1148 ] |
1149 } | 1149 } |
1150 ] | 1150 ] |
1151 } | 1151 } |
1152 | 1152 |
1153 ); // LONG_STRING_CONST macro | 1153 ); // LONG_STRING_CONST macro |
1154 | 1154 |
1155 } // namespace gpu | 1155 } // namespace gpu |
OLD | NEW |