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": "7.6", | 21 "version": "7.7", |
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 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1124 "op": "contains", | 1124 "op": "contains", |
1125 "value": "AMD" | 1125 "value": "AMD" |
1126 }, | 1126 }, |
1127 "driver_version": { | 1127 "driver_version": { |
1128 "op": "=", | 1128 "op": "=", |
1129 "value": "13.101" | 1129 "value": "13.101" |
1130 }, | 1130 }, |
1131 "features": [ | 1131 "features": [ |
1132 "all" | 1132 "all" |
1133 ] | 1133 ] |
| 1134 }, |
| 1135 { |
| 1136 "id": 96, |
| 1137 "description": "GPU rasterization is whitelisted on N4, N5, N7 and Moto X"
, |
| 1138 "cr_bugs": [362779], |
| 1139 "exceptions": [ |
| 1140 { |
| 1141 "machine_model": { |
| 1142 "name": { |
| 1143 "op": "=", |
| 1144 "value": "Nexus 4" |
| 1145 } |
| 1146 } |
| 1147 }, |
| 1148 { |
| 1149 "machine_model": { |
| 1150 "name": { |
| 1151 "op": "=", |
| 1152 "value": "Nexus 5" |
| 1153 } |
| 1154 } |
| 1155 }, |
| 1156 { |
| 1157 "machine_model": { |
| 1158 "name": { |
| 1159 "op": "=", |
| 1160 "value": "Nexus 7" |
| 1161 } |
| 1162 } |
| 1163 }, |
| 1164 { |
| 1165 "machine_model": { |
| 1166 "name": { |
| 1167 "op": "=", |
| 1168 "value": "XT1049" |
| 1169 } |
| 1170 } |
| 1171 }, |
| 1172 { |
| 1173 "machine_model": { |
| 1174 "name": { |
| 1175 "op": "=", |
| 1176 "value": "XT1050" |
| 1177 } |
| 1178 } |
| 1179 }, |
| 1180 { |
| 1181 "machine_model": { |
| 1182 "name": { |
| 1183 "op": "=", |
| 1184 "value": "XT1052" |
| 1185 } |
| 1186 } |
| 1187 }, |
| 1188 { |
| 1189 "machine_model": { |
| 1190 "name": { |
| 1191 "op": "=", |
| 1192 "value": "XT1053" |
| 1193 } |
| 1194 } |
| 1195 }, |
| 1196 { |
| 1197 "machine_model": { |
| 1198 "name": { |
| 1199 "op": "=", |
| 1200 "value": "XT1055" |
| 1201 } |
| 1202 } |
| 1203 }, |
| 1204 { |
| 1205 "machine_model": { |
| 1206 "name": { |
| 1207 "op": "=", |
| 1208 "value": "XT1056" |
| 1209 } |
| 1210 } |
| 1211 }, |
| 1212 { |
| 1213 "machine_model": { |
| 1214 "name": { |
| 1215 "op": "=", |
| 1216 "value": "XT1058" |
| 1217 } |
| 1218 } |
| 1219 }, |
| 1220 { |
| 1221 "machine_model": { |
| 1222 "name": { |
| 1223 "op": "=", |
| 1224 "value": "XT1060" |
| 1225 } |
| 1226 } |
| 1227 } |
| 1228 ], |
| 1229 "features": [ |
| 1230 "gpu_rasterization" |
| 1231 ] |
1134 } | 1232 } |
1135 ] | 1233 ] |
1136 } | 1234 } |
1137 | 1235 |
1138 ); // LONG_STRING_CONST macro | 1236 ); // LONG_STRING_CONST macro |
1139 | 1237 |
1140 } // namespace gpu | 1238 } // namespace gpu |
OLD | NEW |