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": "12.18", | 21 "version": "12.19", |
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 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1228 "0x1916", "0x1917", "0x191a", "0x191b", "0x191d", | 1228 "0x1916", "0x1917", "0x191a", "0x191b", "0x191d", |
1229 "0x191e", "0x1921", "0x1923", "0x1926", "0x1927", | 1229 "0x191e", "0x1921", "0x1923", "0x1926", "0x1927", |
1230 "0x192a", "0x192b", "0x192d", "0x1932", "0x193a", | 1230 "0x192a", "0x192b", "0x192d", "0x1932", "0x193a", |
1231 "0x193b", "0x193d"], | 1231 "0x193b", "0x193d"], |
1232 "features": [ | 1232 "features": [ |
1233 "accelerated_vpx_decode" | 1233 "accelerated_vpx_decode" |
1234 ] | 1234 ] |
1235 }, | 1235 }, |
1236 { | 1236 { |
1237 "id": 122, | 1237 "id": 122, |
1238 "description": "GPU rasterization should only be enabled on NVIDIA Pascal
and Maxwell, Intel Haswell+, and AMD RX-R2 GPUs for now.", | 1238 "description": "GPU rasterization should only be enabled on NVIDIA and Int
el DX11+, and AMD RX-R2 GPUs for now.", |
1239 "cr_bugs": [643850], | 1239 "cr_bugs": [643850], |
1240 "os": { | 1240 "os": { |
1241 "type": "win" | 1241 "type": "win" |
1242 }, | 1242 }, |
1243 "features": [ | 1243 "features": [ |
1244 "gpu_rasterization" | 1244 "gpu_rasterization" |
1245 ], | 1245 ], |
1246 "exceptions": [ | 1246 "exceptions": [ |
1247 { | 1247 { |
1248 "vendor_id": "0x10de", | 1248 "vendor_id": "0x10de", |
1249 "pixel_shader_version": { | 1249 "pixel_shader_version": { |
1250 "op": ">=", | 1250 "op": ">=", |
1251 "value": "5.0" | 1251 "value": "5.0" |
1252 }, | 1252 } |
1253 "device_id": ["0x1340", "0x1341", "0x1344", "0x1346", "0x1347", | |
1254 "0x1348", "0x1349", "0x134d", "0x134e", "0x134f", | |
1255 "0x137a", "0x137d", "0x1380", "0x1381", "0x1382", | |
1256 "0x1389", "0x1390", "0x1391", "0x1392", "0x1393", | |
1257 "0x1398", "0x139a", "0x139b", "0x139c", "0x139d", | |
1258 "0x13b0", "0x13b1", "0x13b2", "0x13b9", "0x13ba", | |
1259 "0x13bb", "0x13bc", "0x13bd", "0x13c0", "0x13c1", | |
1260 "0x13c2", "0x13c3", "0x13d7", "0x13d8", "0x13d9", | |
1261 "0x13da", "0x13f0", "0x13f1", "0x13f2", "0x13f3", | |
1262 "0x13f8", "0x13f9", "0x13fa", "0x1401", "0x1402", | |
1263 "0x1406", "0x1407", "0x1427", "0x1430", "0x1431", | |
1264 "0x1617", "0x1618", "0x1619", "0x161a", "0x1667", | |
1265 "0x17c2", "0x17c8", "0x17f0", "0x17fd", "0x15f0", | |
1266 "0x15f1", "0x15f8", "0x15f9", "0x1725", "0x172e", | |
1267 "0x172f", "0x1b00", "0x1b01", "0x1b70", "0x1b78", | |
1268 "0x1b80", "0x1b81", "0x1b82", "0x1b83", "0x1bb0", | |
1269 "0x1bb1", "0x1bb4", "0x1c00", "0x1c01", "0x1c02", | |
1270 "0x1c03", "0x1c30", "0x1c70", "0x1c80", "0x1c81", | |
1271 "0x1c82", "0x1ca7", "0x1ca8", "0x1caa", "0x1d01"] | |
1272 | |
1273 }, | 1253 }, |
1274 { | 1254 { |
1275 "vendor_id": "0x8086", | 1255 "vendor_id": "0x8086", |
1276 "pixel_shader_version": { | 1256 "pixel_shader_version": { |
1277 "op": ">=", | 1257 "op": ">=", |
1278 "value": "5.0" | 1258 "value": "5.0" |
1279 } | 1259 } |
1280 }, | 1260 }, |
1281 { | 1261 { |
1282 "vendor_id": "0x1002", | 1262 "vendor_id": "0x1002", |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1477 "type": "android", | 1457 "type": "android", |
1478 "version": { | 1458 "version": { |
1479 "op": "<", | 1459 "op": "<", |
1480 "value": "6.0" | 1460 "value": "6.0" |
1481 } | 1461 } |
1482 }, | 1462 }, |
1483 "gl_vendor": "Qualcomm.*", | 1463 "gl_vendor": "Qualcomm.*", |
1484 "features": [ | 1464 "features": [ |
1485 "webgl2" | 1465 "webgl2" |
1486 ] | 1466 ] |
| 1467 }, |
| 1468 { |
| 1469 "id": 136, |
| 1470 "description": "GPU rasterization is blacklisted on NVidia Fermi architect
ure for now.", |
| 1471 "cr_bugs": [643850], |
| 1472 "os": { |
| 1473 "type": "win" |
| 1474 }, |
| 1475 "vendor_id": "0x10de", |
| 1476 "device_id": ["0x06c0", "0x06c4", "0x06ca", "0x06cb", "0x06cd", "0x06d1", |
| 1477 "0x06d2", "0x06d8", "0x06d9", "0x06da", "0x06dc", "0x06dd", |
| 1478 "0x06de", "0x06df", "0x0e22", "0x0e23", "0x0e24", "0x0e30", |
| 1479 "0x0e31", "0x0e3a", "0x0e3b", "0x1200", "0x1201", "0x1202", |
| 1480 "0x1203", "0x1205", "0x1206", "0x1207", "0x1208", "0x1210", |
| 1481 "0x1211", "0x1212", "0x1213", "0x0dc0", "0x0dc4", "0x0dc5", |
| 1482 "0x0dc6", "0x0dcd", "0x0dce", "0x0dd1", "0x0dd2", "0x0dd3", |
| 1483 "0x0dd6", "0x0dd8", "0x0dda", "0x1241", "0x1243", "0x1244", |
| 1484 "0x1245", "0x1246", "0x1247", "0x1248", "0x1249", "0x124b", |
| 1485 "0x124d", "0x1251", "0x0de0", "0x0de1", "0x0de2", "0x0de3", |
| 1486 "0x0de4", "0x0de5", "0x0de8", "0x0de9", "0x0dea", "0x0deb", |
| 1487 "0x0dec", "0x0ded", "0x0dee", "0x0def", "0x0df0", "0x0df1", |
| 1488 "0x0df2", "0x0df3", "0x0df4", "0x0df5", "0x0df6", "0x0df7", |
| 1489 "0x0df8", "0x0df9", "0x0dfa", "0x0dfc", "0x0f00", "0x0f01", |
| 1490 "0x1080", "0x1081", "0x1082", "0x1084", "0x1086", "0x1087", |
| 1491 "0x1088", "0x1089", "0x108b", "0x1091", "0x109a", "0x109b", |
| 1492 "0x1040", "0x1042", "0x1048", "0x1049", "0x104a", "0x1050", |
| 1493 "0x1051", "0x1052", "0x1054", "0x1055", "0x1056", "0x1057", |
| 1494 "0x1058", "0x1059", "0x105a", "0x107d", "0x1140"], |
| 1495 "features": [ |
| 1496 "gpu_rasterization" |
| 1497 ] |
1487 } | 1498 } |
1488 ] | 1499 ] |
1489 } | 1500 } |
1490 | 1501 |
1491 ); // LONG_STRING_CONST macro | 1502 ); // LONG_STRING_CONST macro |
1492 | 1503 |
1493 } // namespace gpu | 1504 } // namespace gpu |
OLD | NEW |