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 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 "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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 "op": "=", | 957 "op": "=", |
1098 "value": "33362" | 958 "value": "33362" |
1099 } | 959 } |
1100 } | 960 } |
1101 ], | 961 ], |
1102 "features": [ | 962 "features": [ |
1103 "webgl" | 963 "webgl" |
1104 ] | 964 ] |
1105 }, | 965 }, |
1106 { | 966 { |
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, | 967 "id": 78, |
1125 "description": "Accelerated video decode interferes with GPU blacklist on
older Intel drivers", | 968 "description": "Accelerated video decode interferes with GPU blacklist on
older Intel drivers", |
1126 "cr_bugs": [180695], | 969 "cr_bugs": [180695], |
1127 "os": { | 970 "os": { |
1128 "type": "win" | 971 "type": "win" |
1129 }, | 972 }, |
1130 "vendor_id": "0x8086", | 973 "vendor_id": "0x8086", |
1131 "driver_version": { | 974 "driver_version": { |
1132 "op": "between", | 975 "op": "between", |
1133 "value": "8.15.10.1883", | 976 "value": "8.15.10.1883", |
1134 "value2": "8.15.10.2702" | 977 "value2": "8.15.10.2702" |
1135 }, | 978 }, |
1136 "features": [ | 979 "features": [ |
1137 "accelerated_video_decode" | 980 "accelerated_video_decode" |
1138 ] | 981 ] |
1139 }, | 982 }, |
1140 { | 983 { |
1141 "id": 79, | 984 "id": 79, |
1142 "description": "Disable force compositing mode on all Windows versions pri
or to and including Vista.", | 985 "description": "Disable GPU on all Windows versions prior to and including
Vista.", |
1143 "cr_bugs": [273920, 170421], | 986 "cr_bugs": [273920, 170421], |
1144 "os": { | 987 "os": { |
1145 "type": "win", | 988 "type": "win", |
1146 "version": { | 989 "version": { |
1147 "op": "<=", | 990 "op": "<=", |
1148 "value": "6.0" | 991 "value": "6.0" |
1149 } | 992 } |
1150 }, | 993 }, |
1151 "features": [ | 994 "features": [ |
1152 "flash_3d", | 995 "all" |
1153 "flash_stage3d", | |
1154 "force_compositing_mode" | |
1155 ] | 996 ] |
1156 }, | 997 }, |
1157 { | 998 { |
1158 "id": 80, | 999 "id": 80, |
1159 "description": "Texture sharing should be disabled on all Windows machines
", | 1000 "description": "Texture sharing should be disabled on all Windows machines
", |
1160 "cr_bugs": [304369], | 1001 "cr_bugs": [304369], |
1161 "os": { | 1002 "os": { |
1162 "type": "win" | 1003 "type": "win" |
1163 }, | 1004 }, |
1164 "features": [ | 1005 "features": [ |
1165 "texture_sharing" | 1006 "texture_sharing" |
1166 ] | 1007 ] |
1167 } | 1008 } |
1168 ] | 1009 ] |
1169 } | 1010 } |
1170 | 1011 |
1171 ); // LONG_STRING_CONST macro | 1012 ); // LONG_STRING_CONST macro |
1172 | 1013 |
1173 } // namespace gpu | 1014 } // namespace gpu |
OLD | NEW |