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.14", | 21 "version": "12.15", |
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 "os": { | 220 "os": { |
221 "type": "linux" | 221 "type": "linux" |
222 }, | 222 }, |
223 "vendor_id": "0x10de", | 223 "vendor_id": "0x10de", |
224 "device_id": ["0x029e"], | 224 "device_id": ["0x029e"], |
225 "features": [ | 225 "features": [ |
226 "all" | 226 "all" |
227 ] | 227 ] |
228 }, | 228 }, |
229 { | 229 { |
230 "id": 23, | |
231 "description": "Mesa drivers in linux older than 7.11 are assumed to be bu
ggy", | |
232 "os": { | |
233 "type": "linux" | |
234 }, | |
235 "driver_vendor": "Mesa", | |
236 "driver_version": { | |
237 "op": "<", | |
238 "value": "7.11" | |
239 }, | |
240 "exceptions": [ | |
241 { | |
242 "driver_vendor": "osmesa" | |
243 } | |
244 ], | |
245 "features": [ | |
246 "all" | |
247 ] | |
248 }, | |
249 { | |
250 "id": 27, | 230 "id": 27, |
251 "description": "ATI/AMD cards with older drivers in Linux are crash-prone"
, | 231 "description": "ATI/AMD cards with older drivers in Linux are crash-prone"
, |
252 "cr_bugs": [95934, 94973, 136240, 357314], | 232 "cr_bugs": [95934, 94973, 136240, 357314], |
253 "os": { | 233 "os": { |
254 "type": "linux" | 234 "type": "linux" |
255 }, | 235 }, |
256 "gl_vendor": "ATI.*", | 236 "gl_vendor": "ATI.*", |
257 "exceptions": [ | 237 "exceptions": [ |
258 { | 238 { |
259 "driver_vendor": ".*AMD.*", | 239 "driver_vendor": ".*AMD.*", |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 "os": { | 401 "os": { |
422 "type": "linux" | 402 "type": "linux" |
423 }, | 403 }, |
424 "features": [ | 404 "features": [ |
425 "accelerated_video_decode" | 405 "accelerated_video_decode" |
426 ] | 406 ] |
427 }, | 407 }, |
428 { | 408 { |
429 "id": 50, | 409 "id": 50, |
430 "description": "Disable VMware software renderer on older Mesa", | 410 "description": "Disable VMware software renderer on older Mesa", |
431 "cr_bugs": [145531, 332596, 571899], | 411 "cr_bugs": [145531, 332596, 571899, 629434], |
432 "os": { | 412 "os": { |
433 "type": "linux" | 413 "type": "linux" |
434 }, | 414 }, |
435 "gl_vendor": "VMware.*", | 415 "gl_vendor": "VMware.*", |
436 "exceptions": [ | 416 "exceptions": [ |
437 { | 417 { |
438 "driver_vendor": "Mesa", | 418 "driver_vendor": "Mesa", |
439 "driver_version": { | 419 "driver_version": { |
440 "op": ">=", | 420 "op": ">=", |
441 "value": "9.2.1" | 421 "value": "9.2.1" |
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1474 "type": "android", | 1454 "type": "android", |
1475 "version": { | 1455 "version": { |
1476 "op": "<", | 1456 "op": "<", |
1477 "value": "4.4" | 1457 "value": "4.4" |
1478 } | 1458 } |
1479 }, | 1459 }, |
1480 "gl_renderer": ".*VideoCore IV.*", | 1460 "gl_renderer": ".*VideoCore IV.*", |
1481 "features": [ | 1461 "features": [ |
1482 "accelerated_video_decode" | 1462 "accelerated_video_decode" |
1483 ] | 1463 ] |
| 1464 }, |
| 1465 { |
| 1466 "id": 134, |
| 1467 "description": "Mesa driver 10.1.3 renders incorrectly and crashes on mult
iple vendors", |
| 1468 "cr_bugs": [629434], |
| 1469 "os": { |
| 1470 "type": "linux" |
| 1471 }, |
| 1472 "driver_vendor": "Mesa", |
| 1473 "driver_version": { |
| 1474 "op": "<=", |
| 1475 "value": "10.1.3" |
| 1476 }, |
| 1477 "exceptions": [ |
| 1478 { |
| 1479 "gl_renderer": ".*SVGA3D.*" |
| 1480 }, |
| 1481 { |
| 1482 "gl_renderer": ".*Gallium.*llvmpipe.*" |
| 1483 } |
| 1484 ], |
| 1485 "features": [ |
| 1486 "all" |
| 1487 ] |
1484 } | 1488 } |
1485 ] | 1489 ] |
1486 } | 1490 } |
1487 | 1491 |
1488 ); // LONG_STRING_CONST macro | 1492 ); // LONG_STRING_CONST macro |
1489 | 1493 |
1490 } // namespace gpu | 1494 } // namespace gpu |
OLD | NEW |