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.14", | 21 "version": "6.13", |
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "all" | 150 "accelerated_2d_canvas", |
| 151 "accelerated_video", |
| 152 "accelerated_video_decode", |
| 153 "3d_css", |
| 154 "multisampling", |
| 155 "flash_3d", |
| 156 "flash_stage3d", |
| 157 "force_compositing_mode" |
| 158 ] |
| 159 }, |
| 160 { |
| 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" |
151 ] | 236 ] |
152 }, | 237 }, |
153 { | 238 { |
154 "id": 16, | 239 "id": 16, |
155 "description": "Multisampling is buggy in ATI cards on older MacOSX.", | 240 "description": "Multisampling is buggy in ATI cards on older MacOSX.", |
156 "cr_bugs": [67752, 83153], | 241 "cr_bugs": [67752, 83153], |
157 "os": { | 242 "os": { |
158 "type": "macosx", | 243 "type": "macosx", |
159 "version": { | 244 "version": { |
160 "op": "<", | 245 "op": "<", |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 "value": "10.7" | 528 "value": "10.7" |
444 } | 529 } |
445 }, | 530 }, |
446 "vendor_id": "0x10de", | 531 "vendor_id": "0x10de", |
447 "device_id": ["0x0863"], | 532 "device_id": ["0x0863"], |
448 "features": [ | 533 "features": [ |
449 "accelerated_2d_canvas" | 534 "accelerated_2d_canvas" |
450 ] | 535 ] |
451 }, | 536 }, |
452 { | 537 { |
| 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 { |
453 "id": 42, | 553 "id": 42, |
454 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy.", | 554 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy.", |
455 "cr_bugs": [137307, 285350], | 555 "cr_bugs": [137307, 285350], |
456 "os": { | 556 "os": { |
457 "type": "macosx", | 557 "type": "macosx", |
458 "version": { | 558 "version": { |
459 "op": "=", | 559 "op": "=", |
460 "value": "10.6" | 560 "value": "10.6" |
461 } | 561 } |
462 }, | 562 }, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 }, | 704 }, |
605 "gl_vendor": { | 705 "gl_vendor": { |
606 "op": "beginwith", | 706 "op": "beginwith", |
607 "value": "VMware" | 707 "value": "VMware" |
608 }, | 708 }, |
609 "features": [ | 709 "features": [ |
610 "all" | 710 "all" |
611 ] | 711 ] |
612 }, | 712 }, |
613 { | 713 { |
| 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 { |
614 "id": 53, | 754 "id": 53, |
615 "description": "The Intel GMA500 is too slow for Stage3D.", | 755 "description": "The Intel GMA500 is too slow for Stage3D.", |
616 "cr_bugs": [152096], | 756 "cr_bugs": [152096], |
617 "vendor_id": "0x8086", | 757 "vendor_id": "0x8086", |
618 "device_id": ["0x8108", "0x8109"], | 758 "device_id": ["0x8108", "0x8109"], |
619 "features": [ | 759 "features": [ |
620 "flash_stage3d" | 760 "flash_stage3d" |
621 ] | 761 ] |
622 }, | 762 }, |
623 { | 763 { |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 "op": "=", | 1097 "op": "=", |
958 "value": "33362" | 1098 "value": "33362" |
959 } | 1099 } |
960 } | 1100 } |
961 ], | 1101 ], |
962 "features": [ | 1102 "features": [ |
963 "webgl" | 1103 "webgl" |
964 ] | 1104 ] |
965 }, | 1105 }, |
966 { | 1106 { |
| 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 { |
967 "id": 78, | 1124 "id": 78, |
968 "description": "Accelerated video decode interferes with GPU blacklist on
older Intel drivers", | 1125 "description": "Accelerated video decode interferes with GPU blacklist on
older Intel drivers", |
969 "cr_bugs": [180695], | 1126 "cr_bugs": [180695], |
970 "os": { | 1127 "os": { |
971 "type": "win" | 1128 "type": "win" |
972 }, | 1129 }, |
973 "vendor_id": "0x8086", | 1130 "vendor_id": "0x8086", |
974 "driver_version": { | 1131 "driver_version": { |
975 "op": "between", | 1132 "op": "between", |
976 "value": "8.15.10.1883", | 1133 "value": "8.15.10.1883", |
977 "value2": "8.15.10.2702" | 1134 "value2": "8.15.10.2702" |
978 }, | 1135 }, |
979 "features": [ | 1136 "features": [ |
980 "accelerated_video_decode" | 1137 "accelerated_video_decode" |
981 ] | 1138 ] |
982 }, | 1139 }, |
983 { | 1140 { |
984 "id": 79, | 1141 "id": 79, |
985 "description": "Disable GPU on all Windows versions prior to and including
Vista.", | 1142 "description": "Disable force compositing mode on all Windows versions pri
or to and including Vista.", |
986 "cr_bugs": [273920, 170421], | 1143 "cr_bugs": [273920, 170421], |
987 "os": { | 1144 "os": { |
988 "type": "win", | 1145 "type": "win", |
989 "version": { | 1146 "version": { |
990 "op": "<=", | 1147 "op": "<=", |
991 "value": "6.0" | 1148 "value": "6.0" |
992 } | 1149 } |
993 }, | 1150 }, |
994 "features": [ | 1151 "features": [ |
995 "all" | 1152 "flash_3d", |
| 1153 "flash_stage3d", |
| 1154 "force_compositing_mode" |
996 ] | 1155 ] |
997 }, | 1156 }, |
998 { | 1157 { |
999 "id": 80, | 1158 "id": 80, |
1000 "description": "Texture sharing should be disabled on all Windows machines
", | 1159 "description": "Texture sharing should be disabled on all Windows machines
", |
1001 "cr_bugs": [304369], | 1160 "cr_bugs": [304369], |
1002 "os": { | 1161 "os": { |
1003 "type": "win" | 1162 "type": "win" |
1004 }, | 1163 }, |
1005 "features": [ | 1164 "features": [ |
1006 "texture_sharing" | 1165 "texture_sharing" |
1007 ] | 1166 ] |
1008 } | 1167 } |
1009 ] | 1168 ] |
1010 } | 1169 } |
1011 | 1170 |
1012 ); // LONG_STRING_CONST macro | 1171 ); // LONG_STRING_CONST macro |
1013 | 1172 |
1014 } // namespace gpu | 1173 } // namespace gpu |
OLD | NEW |