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.4", | 21 "version": "10.4", |
piman
2015/05/01 22:07:54
Oh, sorry, you need to bump this.
| |
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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1041 "value": "3.0" | 1041 "value": "3.0" |
1042 } | 1042 } |
1043 } | 1043 } |
1044 ], | 1044 ], |
1045 "features": [ | 1045 "features": [ |
1046 "gpu_rasterization", | 1046 "gpu_rasterization", |
1047 "accelerated_2d_canvas" | 1047 "accelerated_2d_canvas" |
1048 ] | 1048 ] |
1049 }, | 1049 }, |
1050 { | 1050 { |
1051 "id": 99, | |
1052 "description": "GPU rasterization is blacklisted on non-Android", | |
1053 "cr_bugs": [362779], | |
1054 "exceptions": [ | |
1055 { | |
1056 "os": { | |
1057 "type": "android" | |
1058 } | |
1059 } | |
1060 ], | |
1061 "features": [ | |
1062 "gpu_rasterization" | |
1063 ] | |
1064 }, | |
1065 { | |
1066 "id": 100, | 1051 "id": 100, |
1067 "description": "GPU rasterization and canvas is blacklisted on Nexus 10", | 1052 "description": "GPU rasterization and canvas is blacklisted on Nexus 10", |
1068 "cr_bugs": [407144], | 1053 "cr_bugs": [407144], |
1069 "os": { | 1054 "os": { |
1070 "type": "android" | 1055 "type": "android" |
1071 }, | 1056 }, |
1072 "gl_renderer": ".*Mali-T604.*", | 1057 "gl_renderer": ".*Mali-T604.*", |
1073 "features": [ | 1058 "features": [ |
1074 "gpu_rasterization", | 1059 "gpu_rasterization", |
1075 "accelerated_2d_canvas" | 1060 "accelerated_2d_canvas" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1150 "accelerated_2d_canvas", | 1135 "accelerated_2d_canvas", |
1151 "gpu_rasterization" | 1136 "gpu_rasterization" |
1152 ] | 1137 ] |
1153 } | 1138 } |
1154 ] | 1139 ] |
1155 } | 1140 } |
1156 | 1141 |
1157 ); // LONG_STRING_CONST macro | 1142 ); // LONG_STRING_CONST macro |
1158 | 1143 |
1159 } // namespace gpu | 1144 } // namespace gpu |
OLD | NEW |