| OLD | NEW |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 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 | |
| 7 // <gpu/config/gpu_control_list_format.txt>. | |
| 8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>. | |
| 9 | |
| 10 #include "gpu/config/gpu_control_list_jsons.h" | |
| 11 | |
| 12 #define LONG_STRING_CONST(...) #__VA_ARGS__ | |
| 13 | |
| 14 namespace gpu { | |
| 15 | |
| 16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( | |
| 17 | |
| 18 { | 1 { |
| 19 "name": "software rendering list", | 2 "name": "software rendering list", |
| 20 // Please update the version number whenever you change this file. | 3 "version": "13.0", |
| 21 "version": "12.23", | |
| 22 "entries": [ | 4 "entries": [ |
| 23 { | 5 { |
| 24 "id": 1, | 6 "id": 1, |
| 25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", | 7 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", |
| 26 "webkit_bugs": [47028], | 8 "webkit_bugs": [47028], |
| 27 "os": { | 9 "os": { |
| 28 "type": "macosx" | 10 "type": "macosx" |
| 29 }, | 11 }, |
| 30 "vendor_id": "0x1002", | 12 "vendor_id": "0x1002", |
| 31 "device_id": ["0x7249"], | 13 "device_id": ["0x7249"], |
| 32 "multi_gpu_category": "any", | 14 "multi_gpu_category": "any", |
| 33 "features": [ | 15 "features": [ |
| 34 "accelerated_webgl", | 16 "accelerated_webgl", |
| 35 "flash_3d", | 17 "flash3d", |
| 36 "flash_stage3d", | 18 "flash_stage3d", |
| 37 "gpu_rasterization" | 19 "gpu_rasterization" |
| 38 ] | 20 ] |
| 39 }, | 21 }, |
| 40 { | 22 { |
| 41 "id": 3, | 23 "id": 3, |
| 42 "description": "GL driver is software rendered. GPU acceleration is disabl
ed", | 24 "description": "GL driver is software rendered. GPU acceleration is disabl
ed", |
| 43 "cr_bugs": [59302, 315217], | 25 "cr_bugs": [59302, 315217], |
| 44 "os": { | 26 "os": { |
| 45 "type": "linux" | 27 "type": "linux" |
| 46 }, | 28 }, |
| 47 "gl_renderer": "(?i).*software.*", | 29 "gl_renderer": "(?i).*software.*", |
| 48 "features": [ | 30 "features": [ |
| 49 "all" | 31 "all" |
| 50 ] | 32 ] |
| 51 }, | 33 }, |
| 52 { | 34 { |
| 53 "id": 4, | 35 "id": 4, |
| 54 "description": "The Intel Mobile 945 Express family of chipsets is not com
patible with WebGL", | 36 "description": "The Intel Mobile 945 Express family of chipsets is not com
patible with WebGL", |
| 55 "cr_bugs": [232035], | 37 "cr_bugs": [232035], |
| 56 "os": { | |
| 57 "type": "any" | |
| 58 }, | |
| 59 "vendor_id": "0x8086", | 38 "vendor_id": "0x8086", |
| 60 "device_id": ["0x27AE", "0x27A2"], | 39 "device_id": ["0x27AE", "0x27A2"], |
| 61 "features": [ | 40 "features": [ |
| 62 "accelerated_webgl", | 41 "accelerated_webgl", |
| 63 "flash_3d", | 42 "flash3d", |
| 64 "flash_stage3d", | 43 "flash_stage3d", |
| 65 "accelerated_2d_canvas" | 44 "accelerated_2d_canvas" |
| 66 ] | 45 ] |
| 67 }, | 46 }, |
| 68 { | 47 { |
| 69 "id": 5, | 48 "id": 5, |
| 70 "description": "ATI/AMD cards with older drivers in Linux are crash-prone"
, | 49 "description": "ATI/AMD cards with older drivers in Linux are crash-prone"
, |
| 71 "cr_bugs": [71381, 76428, 73910, 101225, 136240, 357314], | 50 "cr_bugs": [71381, 76428, 73910, 101225, 136240, 357314], |
| 72 "os": { | 51 "os": { |
| 73 "type": "linux" | 52 "type": "linux" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 94 } | 73 } |
| 95 ], | 74 ], |
| 96 "features": [ | 75 "features": [ |
| 97 "all" | 76 "all" |
| 98 ] | 77 ] |
| 99 }, | 78 }, |
| 100 { | 79 { |
| 101 "id": 8, | 80 "id": 8, |
| 102 "description": "NVIDIA GeForce FX Go5200 is assumed to be buggy", | 81 "description": "NVIDIA GeForce FX Go5200 is assumed to be buggy", |
| 103 "cr_bugs": [72938], | 82 "cr_bugs": [72938], |
| 104 "os": { | |
| 105 "type": "any" | |
| 106 }, | |
| 107 "vendor_id": "0x10de", | 83 "vendor_id": "0x10de", |
| 108 "device_id": ["0x0324"], | 84 "device_id": ["0x0324"], |
| 109 "features": [ | 85 "features": [ |
| 110 "all" | 86 "all" |
| 111 ] | 87 ] |
| 112 }, | 88 }, |
| 113 { | 89 { |
| 114 "id": 10, | 90 "id": 10, |
| 115 "description": "NVIDIA GeForce 7300 GT on Mac does not support WebGL", | 91 "description": "NVIDIA GeForce 7300 GT on Mac does not support WebGL", |
| 116 "cr_bugs": [73794], | 92 "cr_bugs": [73794], |
| 117 "os": { | 93 "os": { |
| 118 "type": "macosx" | 94 "type": "macosx" |
| 119 }, | 95 }, |
| 120 "vendor_id": "0x10de", | 96 "vendor_id": "0x10de", |
| 121 "device_id": ["0x0393"], | 97 "device_id": ["0x0393"], |
| 122 "multi_gpu_category": "any", | 98 "multi_gpu_category": "any", |
| 123 "features": [ | 99 "features": [ |
| 124 "accelerated_webgl", | 100 "accelerated_webgl", |
| 125 "flash_3d", | 101 "flash3d", |
| 126 "flash_stage3d", | 102 "flash_stage3d", |
| 127 "gpu_rasterization" | 103 "gpu_rasterization" |
| 128 ] | 104 ] |
| 129 }, | 105 }, |
| 130 { | 106 { |
| 131 "id": 12, | 107 "id": 12, |
| 132 "description": "Drivers older than 2009-01 on Windows are possibly unrelia
ble", | 108 "description": "Drivers older than 2009-01 on Windows are possibly unrelia
ble", |
| 133 "cr_bugs": [72979, 89802, 315205], | 109 "cr_bugs": [72979, 89802, 315205], |
| 134 "os": { | 110 "os": { |
| 135 "type": "win" | 111 "type": "win" |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 "type": "linux" | 429 "type": "linux" |
| 454 }, | 430 }, |
| 455 "vendor_id": "0x10de", | 431 "vendor_id": "0x10de", |
| 456 "driver_vendor": "NVIDIA", | 432 "driver_vendor": "NVIDIA", |
| 457 "driver_version": { | 433 "driver_version": { |
| 458 "op": "<", | 434 "op": "<", |
| 459 "value": "331.38" | 435 "value": "331.38" |
| 460 }, | 436 }, |
| 461 "features": [ | 437 "features": [ |
| 462 "accelerated_video_decode", | 438 "accelerated_video_decode", |
| 463 "flash_3d", | 439 "flash3d", |
| 464 "flash_stage3d" | 440 "flash_stage3d" |
| 465 ] | 441 ] |
| 466 }, | 442 }, |
| 467 { | 443 { |
| 468 // Panel fitting is only used with OS_CHROMEOS. To avoid displaying an | 444 "comment": [ |
| 469 // error in chrome:gpu on every other platform, this blacklist entry needs | 445 "Panel fitting is only used with OS_CHROMEOS. To avoid displaying an ", |
| 470 // to only match on chromeos. The drawback is that panel_fitting will not | 446 "error in chrome:gpu on every other platform, this blacklist entry ", |
| 471 // appear to be blacklisted if accidentally queried on non-chromeos. | 447 "needs to only match on chromeos. The drawback is that panel_fitting ", |
| 448 "will not appear to be blacklisted if accidentally queried on ", |
| 449 "non-chromeos." |
| 450 ], |
| 472 "id": 57, | 451 "id": 57, |
| 473 "description": "Chrome OS panel fitting is only supported for Intel IVB an
d SNB Graphics Controllers", | 452 "description": "Chrome OS panel fitting is only supported for Intel IVB an
d SNB Graphics Controllers", |
| 474 "os": { | 453 "os": { |
| 475 "type": "chromeos" | 454 "type": "chromeos" |
| 476 }, | 455 }, |
| 477 "exceptions": [ | 456 "exceptions": [ |
| 478 { | 457 { |
| 479 "vendor_id": "0x8086", | 458 "vendor_id": "0x8086", |
| 480 "device_id": ["0x0106", "0x0116", "0x0166"] | 459 "device_id": ["0x0106", "0x0116", "0x0166"] |
| 481 } | 460 } |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 "exceptions": [ | 586 "exceptions": [ |
| 608 { | 587 { |
| 609 "vendor_id": "0x1414", | 588 "vendor_id": "0x1414", |
| 610 "device_id": ["0x02c1"] | 589 "device_id": ["0x02c1"] |
| 611 } | 590 } |
| 612 ], | 591 ], |
| 613 "features": [ | 592 "features": [ |
| 614 "all" | 593 "all" |
| 615 ] | 594 ] |
| 616 }, | 595 }, |
| 617 ) // String split to avoid MSVC char limit. | |
| 618 LONG_STRING_CONST( | |
| 619 { | 596 { |
| 620 "id": 76, | 597 "id": 76, |
| 621 "description": "WebGL is disabled on Android unless the GPU runs in a sepa
rate process or reset notification is supported", | 598 "description": "WebGL is disabled on Android unless the GPU runs in a sepa
rate process or reset notification is supported", |
| 622 "os": { | 599 "os": { |
| 623 "type": "android" | 600 "type": "android" |
| 624 }, | 601 }, |
| 625 "in_process_gpu": true, | 602 "in_process_gpu": true, |
| 626 "exceptions": [ | 603 "exceptions": [ |
| 627 { | 604 { |
| 628 "gl_reset_notification_strategy": { | 605 "gl_reset_notification_strategy": "33362" |
| 629 "op": "=", | |
| 630 "value": "33362" | |
| 631 } | |
| 632 }, | 606 }, |
| 633 { | 607 { |
| 634 "gl_renderer": "Mali-4.*", | 608 "gl_renderer": "Mali-4.*", |
| 635 "gl_extensions": ".*EXT_robustness.*" | 609 "gl_extensions": ".*EXT_robustness.*" |
| 636 } | 610 } |
| 637 ], | 611 ], |
| 638 "features": [ | 612 "features": [ |
| 639 "accelerated_webgl" | 613 "accelerated_webgl" |
| 640 ] | 614 ] |
| 641 }, | 615 }, |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1304 "driver_version": { | 1278 "driver_version": { |
| 1305 "op": ">=", | 1279 "op": ">=", |
| 1306 "value": "21.19.384.0" | 1280 "value": "21.19.384.0" |
| 1307 } | 1281 } |
| 1308 } | 1282 } |
| 1309 ], | 1283 ], |
| 1310 "features": [ | 1284 "features": [ |
| 1311 "gpu_rasterization" | 1285 "gpu_rasterization" |
| 1312 ] | 1286 ] |
| 1313 }, | 1287 }, |
| 1314 ) // String split to avoid MSVC char limit. | |
| 1315 LONG_STRING_CONST( | |
| 1316 { | 1288 { |
| 1317 "id": 125, | 1289 "id": 125, |
| 1318 "description": "VirtualBox driver is unstable on linux.", | 1290 "description": "VirtualBox driver is unstable on linux.", |
| 1319 "cr_bugs": [656572, 658668], | 1291 "cr_bugs": [656572, 658668], |
| 1320 "os": { | 1292 "os": { |
| 1321 "type": "linux" | 1293 "type": "linux" |
| 1322 }, | 1294 }, |
| 1323 "vendor_id": "0x80ee", | 1295 "vendor_id": "0x80ee", |
| 1324 "device_id": ["0xbeef"], | 1296 "device_id": ["0xbeef"], |
| 1325 "features": [ | 1297 "features": [ |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1523 "driver_version": { | 1495 "driver_version": { |
| 1524 "op": "between", | 1496 "op": "between", |
| 1525 "value": "15.301", | 1497 "value": "15.301", |
| 1526 "value2": "15.302" | 1498 "value2": "15.302" |
| 1527 }, | 1499 }, |
| 1528 "features": [ | 1500 "features": [ |
| 1529 "gpu_rasterization" | 1501 "gpu_rasterization" |
| 1530 ] | 1502 ] |
| 1531 }, | 1503 }, |
| 1532 { | 1504 { |
| 1533 // Corresponds to GPU driver bug #214. | |
| 1534 "id": 140, | 1505 "id": 140, |
| 1506 "comment": "Corresponds to GPU driver bug #214", |
| 1535 "description": "Some old Qualcomm scissor bug workaround needs disabling M
SAA to work, which is a core part of WebGL 2.", | 1507 "description": "Some old Qualcomm scissor bug workaround needs disabling M
SAA to work, which is a core part of WebGL 2.", |
| 1536 "cr_bugs": [670607, 696627, 698197], | 1508 "cr_bugs": [670607, 696627, 698197], |
| 1537 "gl_vendor": "Qualcomm.*", | 1509 "gl_vendor": "Qualcomm.*", |
| 1538 "machine_model_name": ["Nexus 7", "KFTHWI", "KFSAWI", "KFAPWI", "KFTHWA",
"KFSAWA", "KFAPWA"], | 1510 "machine_model_name": ["Nexus 7", "KFTHWI", "KFSAWI", "KFAPWI", "KFTHWA",
"KFSAWA", "KFAPWA"], |
| 1539 "features": [ | 1511 "features": [ |
| 1540 "webgl2" | 1512 "webgl2" |
| 1541 ] | 1513 ] |
| 1542 } | 1514 } |
| 1515 ], |
| 1516 "comment": [ |
| 1517 "Please update the version number on top whenever you change this file", |
| 1518 "Please run gpu/config/process_json.py whenever you change this file" |
| 1543 ] | 1519 ] |
| 1544 } | 1520 } |
| 1545 | |
| 1546 ); // LONG_STRING_CONST macro | |
| 1547 | |
| 1548 } // namespace gpu | |
| OLD | NEW |