| 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": "6.13", | 21 "version": "6.14", |
| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 "device_id": ["0x0393"], | 115 "device_id": ["0x0393"], |
| 116 "features": [ | 116 "features": [ |
| 117 "webgl", | 117 "webgl", |
| 118 "flash_3d", | 118 "flash_3d", |
| 119 "flash_stage3d" | 119 "flash_stage3d" |
| 120 ] | 120 ] |
| 121 }, | 121 }, |
| 122 { | 122 { |
| 123 "id": 12, | 123 "id": 12, |
| 124 "description": "Drivers older than 2009-01 on Windows are possibly unrelia
ble.", | 124 "description": "Drivers older than 2009-01 on Windows are possibly unrelia
ble.", |
| 125 "cr_bugs": [72979, 89802], | 125 "cr_bugs": [72979, 89802, 315205], |
| 126 "os": { | 126 "os": { |
| 127 "type": "win" | 127 "type": "win" |
| 128 }, | 128 }, |
| 129 "driver_date": { | 129 "driver_date": { |
| 130 "op": "<", | 130 "op": "<", |
| 131 "value": "2009.1" | 131 "value": "2009.1" |
| 132 }, | 132 }, |
| 133 "exceptions": [ | 133 "exceptions": [ |
| 134 { | 134 { |
| 135 "vendor_id": "0x8086", | 135 "vendor_id": "0x8086", |
| 136 "device_id": ["0x29a2"], | 136 "device_id": ["0x29a2"], |
| 137 "driver_version": { | 137 "driver_version": { |
| 138 "op": ">=", | 138 "op": ">=", |
| 139 "value": "7.15.10.1624" | 139 "value": "7.15.10.1624" |
| 140 } | 140 } |
| 141 }, | 141 }, |
| 142 { | 142 { |
| 143 "driver_vendor": { | 143 "driver_vendor": { |
| 144 "op": "=", | 144 "op": "=", |
| 145 "value": "osmesa" | 145 "value": "osmesa" |
| 146 } | 146 } |
| 147 } | 147 } |
| 148 ], | 148 ], |
| 149 "features": [ | 149 "features": [ |
| 150 "accelerated_2d_canvas", | 150 "all" |
| 151 "accelerated_video", | |
| 152 "accelerated_video_decode", | |
| 153 "3d_css", | |
| 154 "multisampling", | |
| 155 "flash_3d", | |
| 156 "flash_stage3d", | |
| 157 "force_compositing_mode" | |
| 158 ] | 151 ] |
| 159 }, | 152 }, |
| 160 { | 153 { |
| 161 "id": 13, | |
| 162 "description": "ATI drivers older than 10.6 on Windows XP are possibly unr
eliable.", | |
| 163 "cr_bugs": [74212], | |
| 164 "os": { | |
| 165 "type": "win", | |
| 166 "version": { | |
| 167 "op": "=", | |
| 168 "value": "5" | |
| 169 } | |
| 170 }, | |
| 171 "vendor_id": "0x1002", | |
| 172 "driver_version": { | |
| 173 "op": "<", | |
| 174 "value": "8.741" | |
| 175 }, | |
| 176 "features": [ | |
| 177 "accelerated_video", | |
| 178 "accelerated_video_decode", | |
| 179 "3d_css", | |
| 180 "multisampling", | |
| 181 "flash_3d", | |
| 182 "flash_stage3d", | |
| 183 "force_compositing_mode" | |
| 184 ] | |
| 185 }, | |
| 186 { | |
| 187 "id": 14, | |
| 188 "description": "NVIDIA drivers older than 257.21 on Windows XP are possibl
y unreliable.", | |
| 189 "cr_bugs": [74212], | |
| 190 "os": { | |
| 191 "type": "win", | |
| 192 "version": { | |
| 193 "op": "=", | |
| 194 "value": "5" | |
| 195 } | |
| 196 }, | |
| 197 "vendor_id": "0x10de", | |
| 198 "driver_version": { | |
| 199 "op": "<", | |
| 200 "value": "6.14.12.5721" | |
| 201 }, | |
| 202 "features": [ | |
| 203 "accelerated_video", | |
| 204 "accelerated_video_decode", | |
| 205 "3d_css", | |
| 206 "multisampling", | |
| 207 "flash_3d", | |
| 208 "flash_stage3d", | |
| 209 "force_compositing_mode" | |
| 210 ] | |
| 211 }, | |
| 212 { | |
| 213 "id": 15, | |
| 214 "description": "Intel drivers older than 14.42.7.5294 on Windows XP are po
ssibly unreliable.", | |
| 215 "cr_bugs": [74212], | |
| 216 "os": { | |
| 217 "type": "win", | |
| 218 "version": { | |
| 219 "op": "=", | |
| 220 "value": "5" | |
| 221 } | |
| 222 }, | |
| 223 "vendor_id": "0x8086", | |
| 224 "driver_version": { | |
| 225 "op": "<", | |
| 226 "value": "6.14.10.5294" | |
| 227 }, | |
| 228 "features": [ | |
| 229 "accelerated_video", | |
| 230 "accelerated_video_decode", | |
| 231 "3d_css", | |
| 232 "multisampling", | |
| 233 "flash_3d", | |
| 234 "flash_stage3d", | |
| 235 "force_compositing_mode" | |
| 236 ] | |
| 237 }, | |
| 238 { | |
| 239 "id": 16, | 154 "id": 16, |
| 240 "description": "Multisampling is buggy in ATI cards on older MacOSX.", | 155 "description": "Multisampling is buggy in ATI cards on older MacOSX.", |
| 241 "cr_bugs": [67752, 83153], | 156 "cr_bugs": [67752, 83153], |
| 242 "os": { | 157 "os": { |
| 243 "type": "macosx", | 158 "type": "macosx", |
| 244 "version": { | 159 "version": { |
| 245 "op": "<", | 160 "op": "<", |
| 246 "value": "10.7.2" | 161 "value": "10.7.2" |
| 247 } | 162 } |
| 248 }, | 163 }, |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 "value": "10.7" | 443 "value": "10.7" |
| 529 } | 444 } |
| 530 }, | 445 }, |
| 531 "vendor_id": "0x10de", | 446 "vendor_id": "0x10de", |
| 532 "device_id": ["0x0863"], | 447 "device_id": ["0x0863"], |
| 533 "features": [ | 448 "features": [ |
| 534 "accelerated_2d_canvas" | 449 "accelerated_2d_canvas" |
| 535 ] | 450 ] |
| 536 }, | 451 }, |
| 537 { | 452 { |
| 538 "id": 41, | |
| 539 "description": "Disable 3D (but not Stage3D) in Flash on XP", | |
| 540 "cr_bugs": [134885], | |
| 541 "os": { | |
| 542 "type": "win", | |
| 543 "version": { | |
| 544 "op": "=", | |
| 545 "value": "5" | |
| 546 } | |
| 547 }, | |
| 548 "features": [ | |
| 549 "flash_3d" | |
| 550 ] | |
| 551 }, | |
| 552 { | |
| 553 "id": 42, | 453 "id": 42, |
| 554 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy.", | 454 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy.", |
| 555 "cr_bugs": [137307, 285350], | 455 "cr_bugs": [137307, 285350], |
| 556 "os": { | 456 "os": { |
| 557 "type": "macosx", | 457 "type": "macosx", |
| 558 "version": { | 458 "version": { |
| 559 "op": "=", | 459 "op": "=", |
| 560 "value": "10.6" | 460 "value": "10.6" |
| 561 } | 461 } |
| 562 }, | 462 }, |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 }, | 604 }, |
| 705 "gl_vendor": { | 605 "gl_vendor": { |
| 706 "op": "beginwith", | 606 "op": "beginwith", |
| 707 "value": "VMware" | 607 "value": "VMware" |
| 708 }, | 608 }, |
| 709 "features": [ | 609 "features": [ |
| 710 "all" | 610 "all" |
| 711 ] | 611 ] |
| 712 }, | 612 }, |
| 713 { | 613 { |
| 714 "id": 51, | |
| 715 "description": "NVIDIA drivers 6.14.11.9621 is buggy on Windows XP.", | |
| 716 "cr_bugs": [152096], | |
| 717 "os": { | |
| 718 "type": "win", | |
| 719 "version": { | |
| 720 "op": "=", | |
| 721 "value": "5" | |
| 722 } | |
| 723 }, | |
| 724 "vendor_id": "0x10de", | |
| 725 "driver_version": { | |
| 726 "op": "=", | |
| 727 "value": "6.14.11.9621" | |
| 728 }, | |
| 729 "features": [ | |
| 730 "all" | |
| 731 ] | |
| 732 }, | |
| 733 { | |
| 734 "id": 52, | |
| 735 "description": "NVIDIA drivers 6.14.11.8267 is buggy on Windows XP.", | |
| 736 "cr_bugs": [152096], | |
| 737 "os": { | |
| 738 "type": "win", | |
| 739 "version": { | |
| 740 "op": "=", | |
| 741 "value": "5" | |
| 742 } | |
| 743 }, | |
| 744 "vendor_id": "0x10de", | |
| 745 "driver_version": { | |
| 746 "op": "=", | |
| 747 "value": "6.14.11.8267" | |
| 748 }, | |
| 749 "features": [ | |
| 750 "all" | |
| 751 ] | |
| 752 }, | |
| 753 { | |
| 754 "id": 53, | 614 "id": 53, |
| 755 "description": "The Intel GMA500 is too slow for Stage3D.", | 615 "description": "The Intel GMA500 is too slow for Stage3D.", |
| 756 "cr_bugs": [152096], | 616 "cr_bugs": [152096], |
| 757 "vendor_id": "0x8086", | 617 "vendor_id": "0x8086", |
| 758 "device_id": ["0x8108", "0x8109"], | 618 "device_id": ["0x8108", "0x8109"], |
| 759 "features": [ | 619 "features": [ |
| 760 "flash_stage3d" | 620 "flash_stage3d" |
| 761 ] | 621 ] |
| 762 }, | 622 }, |
| 763 { | 623 { |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 937 "version": { | 797 "version": { |
| 938 "op": "<", | 798 "op": "<", |
| 939 "value": "10.8" | 799 "value": "10.8" |
| 940 } | 800 } |
| 941 }, | 801 }, |
| 942 "features": [ | 802 "features": [ |
| 943 "force_compositing_mode" | 803 "force_compositing_mode" |
| 944 ] | 804 ] |
| 945 }, | 805 }, |
| 946 { | 806 { |
| 947 "id": 67, | |
| 948 "description": "Accelerated 2D Canvas is not supported on WinXP.", | |
| 949 "cr_bugs": [175149], | |
| 950 "os": { | |
| 951 "type": "win", | |
| 952 "version": { | |
| 953 "op": "=", | |
| 954 "value": "5" | |
| 955 } | |
| 956 }, | |
| 957 "features": [ | |
| 958 "accelerated_2d_canvas" | |
| 959 ] | |
| 960 }, | |
| 961 { | |
| 962 "id": 68, | 807 "id": 68, |
| 963 "description": "VMware Fusion 4 has corrupt rendering with Win Vista+.", | 808 "description": "VMware Fusion 4 has corrupt rendering with Win Vista+.", |
| 964 "cr_bugs": [169470], | 809 "cr_bugs": [169470], |
| 965 "os": { | 810 "os": { |
| 966 "type": "win", | 811 "type": "win", |
| 967 "version": { | 812 "version": { |
| 968 "op": ">=", | 813 "op": ">=", |
| 969 "value": "6.0" | 814 "value": "6.0" |
| 970 } | 815 } |
| 971 }, | 816 }, |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1097 "op": "=", | 942 "op": "=", |
| 1098 "value": "33362" | 943 "value": "33362" |
| 1099 } | 944 } |
| 1100 } | 945 } |
| 1101 ], | 946 ], |
| 1102 "features": [ | 947 "features": [ |
| 1103 "webgl" | 948 "webgl" |
| 1104 ] | 949 ] |
| 1105 }, | 950 }, |
| 1106 { | 951 { |
| 1107 "id": 77, | |
| 1108 "description": "Multisampling is reportedly very slow on Quadro NVS 135M/G
eForce 8400M GS", | |
| 1109 "cr_bugs": [279446], | |
| 1110 "os": { | |
| 1111 "type": "win", | |
| 1112 "version": { | |
| 1113 "op": "=", | |
| 1114 "value": "5" | |
| 1115 } | |
| 1116 }, | |
| 1117 "vendor_id": "0x10de", | |
| 1118 "device_id": ["0x0429", "0x042b"], | |
| 1119 "features": [ | |
| 1120 "multisampling" | |
| 1121 ] | |
| 1122 }, | |
| 1123 { | |
| 1124 "id": 78, | 952 "id": 78, |
| 1125 "description": "Accelerated video decode interferes with GPU sandbox on ol
der Intel drivers", | 953 "description": "Accelerated video decode interferes with GPU sandbox on ol
der Intel drivers", |
| 1126 "cr_bugs": [180695], | 954 "cr_bugs": [180695], |
| 1127 "os": { | 955 "os": { |
| 1128 "type": "win" | 956 "type": "win" |
| 1129 }, | 957 }, |
| 1130 "vendor_id": "0x8086", | 958 "vendor_id": "0x8086", |
| 1131 "driver_version": { | 959 "driver_version": { |
| 1132 "op": "between", | 960 "op": "between", |
| 1133 "value": "8.15.10.1883", | 961 "value": "8.15.10.1883", |
| 1134 "value2": "8.15.10.2702" | 962 "value2": "8.15.10.2702" |
| 1135 }, | 963 }, |
| 1136 "features": [ | 964 "features": [ |
| 1137 "accelerated_video_decode" | 965 "accelerated_video_decode" |
| 1138 ] | 966 ] |
| 1139 }, | 967 }, |
| 1140 { | 968 { |
| 1141 "id": 79, | 969 "id": 79, |
| 1142 "description": "Disable force compositing mode on all Windows versions pri
or to and including Vista.", | 970 "description": "Disable GPU on all Windows versions prior to and including
Vista.", |
| 1143 "cr_bugs": [273920, 170421], | 971 "cr_bugs": [315199], |
| 1144 "os": { | 972 "os": { |
| 1145 "type": "win", | 973 "type": "win", |
| 1146 "version": { | 974 "version": { |
| 1147 "op": "<=", | 975 "op": "<=", |
| 1148 "value": "6.0" | 976 "value": "6.0" |
| 1149 } | 977 } |
| 1150 }, | 978 }, |
| 979 "exceptions": [ |
| 980 { |
| 981 "driver_vendor": { |
| 982 "op": "=", |
| 983 "value": "osmesa" |
| 984 } |
| 985 } |
| 986 ], |
| 1151 "features": [ | 987 "features": [ |
| 1152 "flash_3d", | 988 "all" |
| 1153 "flash_stage3d", | |
| 1154 "force_compositing_mode" | |
| 1155 ] | 989 ] |
| 1156 }, | 990 }, |
| 1157 { | 991 { |
| 1158 "id": 80, | 992 "id": 80, |
| 1159 "description": "Texture sharing should be disabled on all Windows machines
", | 993 "description": "Texture sharing should be disabled on all Windows machines
", |
| 1160 "cr_bugs": [304369], | 994 "cr_bugs": [304369], |
| 1161 "os": { | 995 "os": { |
| 1162 "type": "win" | 996 "type": "win" |
| 1163 }, | 997 }, |
| 1164 "features": [ | 998 "features": [ |
| 1165 "texture_sharing" | 999 "texture_sharing" |
| 1166 ] | 1000 ] |
| 1167 } | 1001 } |
| 1168 ] | 1002 ] |
| 1169 } | 1003 } |
| 1170 | 1004 |
| 1171 ); // LONG_STRING_CONST macro | 1005 ); // LONG_STRING_CONST macro |
| 1172 | 1006 |
| 1173 } // namespace gpu | 1007 } // namespace gpu |
| OLD | NEW |