OLD | NEW |
1 // Determines whether certain gpu-related features are blacklisted or not. | 1 // Determines whether certain gpu-related features are blacklisted or not. |
2 // A valid software_rendering_list.json file are in the format of | 2 // A valid software_rendering_list.json file are in the format of |
3 // { | 3 // { |
4 // "version": "x.y", | 4 // "version": "x.y", |
5 // "entries": [ | 5 // "entries": [ |
6 // { // entry 1 | 6 // { // entry 1 |
7 // }, | 7 // }, |
8 // ... | 8 // ... |
9 // { // entry n | 9 // { // entry n |
10 // } | 10 // } |
11 // ] | 11 // ] |
12 // } | 12 // } |
13 // | 13 // |
14 // Each entry contains the following fields (fields are optional unless | 14 // Each entry contains the following fields (fields are optional unless |
15 // specifically described as mandatory below): | 15 // specifically described as mandatory below): |
16 // 1. "id" is an integer. 0 is reserved. This field is mandatory. | 16 // 1. "id" is an integer. 0 is reserved. This field is mandatory. |
17 // 2. "os" contains "type" and an optional "version". "type" could be "macosx", | 17 // 2. "os" contains "type" and an optional "version". "type" could be "macosx", |
18 // "linux", "win", "chromeos", or "any". "any" is the same as not specifying | 18 // "linux", "win", "chromeos", or "any". "any" is the same as not specifying |
19 // "os". | 19 // "os". |
20 // "version" is a VERSION structure (defined below). | 20 // "version" is a VERSION structure (defined below). |
21 // 3. "vendor_id" is a string. 0 is reserved. | 21 // 3. "vendor_id" is a string. 0 is reserved. |
22 // 4. "device_id" is an array of strings. 0 is reserved. | 22 // 4. "device_id" is an array of strings. 0 is reserved. |
23 // 5. "driver_vendor" is a STRING structure (defined below). | 23 // 5. "driver_vendor" is a STRING structure (defined below). |
24 // 6. "driver_version" is a VERSION structure (defined below). | 24 // 6. "driver_version" is a VERSION structure (defined below). |
25 // 7. "driver_date" is a VERSION structure (defined below). | 25 // 7. "driver_date" is a VERSION structure (defined below). |
26 // The version is interpreted as "year.month.day". | 26 // The version is interpreted as "year.month.day". |
27 // 8. "gl_vendor" is a STRING structure (defined below). | 27 // 8. "gl_vendor" is a STRING structure (defined below). |
28 // 9. "gl_renderer" is a STRING structure (defined below). | 28 // 9. "gl_renderer" is a STRING structure (defined below). |
29 // 10: "exceptions" is a list of entries. | 29 // 10. "perf_graphics" is a FLOAT structure (defined below). |
30 // 11. "blacklist" is a list of gpu feature strings, valid values include | 30 // 11. "perf_gaming" is a FLOAT structure (defined below). |
| 31 // 12. "perf_overall" is a FLOAT structure (defined below). |
| 32 // 13. "exceptions" is a list of entries. |
| 33 // 14. "blacklist" is a list of gpu feature strings, valid values include |
31 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", | 34 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", |
32 // "multisampling", and "all". | 35 // "multisampling", and "all". |
33 // This field is mandatory. | 36 // This field is mandatory. |
34 // 12. "description" has the description of the entry. | 37 // 15. "description" has the description of the entry. |
35 // 13. "webkit_bugs" is an array of associated webkit bug numbers. | 38 // 16. "webkit_bugs" is an array of associated webkit bug numbers. |
36 // 14. "cr_bugs" is an array of associated webkit bug numbers. | 39 // 17. "cr_bugs" is an array of associated webkit bug numbers. |
37 // 15. "browser_version" is a VERSION structure (defined below). If this | 40 // 18. "browser_version" is a VERSION structure (defined below). If this |
38 // condition is not satisfied, the entry will be ignored. If it is not | 41 // condition is not satisfied, the entry will be ignored. If it is not |
39 // present, then the entry applies to all versions of the browser. | 42 // present, then the entry applies to all versions of the browser. |
40 // 16. "disabled" is a boolean. If it is present, the entry will be skipped. | 43 // 19. "disabled" is a boolean. If it is present, the entry will be skipped. |
41 // This can not be used in exceptions. | 44 // This can not be used in exceptions. |
42 // | 45 // |
43 // VERSION includes "op" "number", and "number2". "op" can be any of the | 46 // VERSION includes "op" "number", and "number2". "op" can be any of the |
44 // following values: "=", "<", "<=", ">", ">=", "any", "between". "number2" is | 47 // following values: "=", "<", "<=", ">", ">=", "any", "between". "number2" is |
45 // only used if "op" is "between". "number" is used for all "op" values except | 48 // only used if "op" is "between". "number" is used for all "op" values except |
46 // "any". "number" and "number2" are in the format of x, x.x, x.x.x, etc. | 49 // "any". "number" and "number2" are in the format of x, x.x, x.x.x, etc. |
47 // | 50 // |
48 // STRING includes "op" and "value". "op" can be any of the following values: | 51 // STRING includes "op" and "value". "op" can be any of the following values: |
49 // "contains", "beginwith", "endwith", "=". "value" is a string. | 52 // "contains", "beginwith", "endwith", "=". "value" is a string. |
| 53 // |
| 54 // FLOAT includes "op" "number", and "number2". "op" can be any of the |
| 55 // following values: "=", "<", "<=", ">", ">=", "any", "between". "number2" is |
| 56 // only used if "op" is "between". "number" is used for all "op" values except |
| 57 // "any". "number" and "number2" are valid float numbers. |
50 | 58 |
51 { | 59 { |
52 "name": "software rendering list", | 60 "name": "software rendering list", |
53 // Please update the version number whenever you change this file. | 61 // Please update the version number whenever you change this file. |
54 "version": "1.25", | 62 "version": "1.25", |
55 "entries": [ | 63 "entries": [ |
56 { | 64 { |
57 "id": 1, | 65 "id": 1, |
58 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac."
, | 66 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac."
, |
59 "webkit_bugs": [47028], | 67 "webkit_bugs": [47028], |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 "description": "Sis Mirage 3 Graphics is not compatible.", | 476 "description": "Sis Mirage 3 Graphics is not compatible.", |
469 "cr_bugs": [108449], | 477 "cr_bugs": [108449], |
470 "os": { | 478 "os": { |
471 "type": "win" | 479 "type": "win" |
472 }, | 480 }, |
473 "vendor_id": "0x1039", | 481 "vendor_id": "0x1039", |
474 "device_id": ["0x6351"], | 482 "device_id": ["0x6351"], |
475 "blacklist": [ | 483 "blacklist": [ |
476 "all" | 484 "all" |
477 ] | 485 ] |
| 486 }, |
| 487 { |
| 488 "id": 32, |
| 489 "description": "Accelerated 2d canvas is disabled on Windows systems with
low perf stats.", |
| 490 "cr_bugs": [116350], |
| 491 "os": { |
| 492 "type": "win" |
| 493 }, |
| 494 "perf_overall": { |
| 495 "op": "<", |
| 496 "number": "3.5" |
| 497 }, |
| 498 "blacklist": [ |
| 499 "accelerated_2d_canvas" |
| 500 ] |
478 } | 501 } |
479 ] | 502 ] |
480 } | 503 } |
OLD | NEW |