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. "multi_gpu_style" is a string, valid values include "optimus", and |
24 // 6. "driver_version" is a VERSION structure (defined below). | 24 // "amd_switchable". |
25 // 7. "driver_date" is a VERSION structure (defined below). | 25 // 6. "driver_vendor" is a STRING structure (defined below). |
| 26 // 7. "driver_version" is a VERSION structure (defined below). |
| 27 // 8. "driver_date" is a VERSION structure (defined below). |
26 // The version is interpreted as "year.month.day". | 28 // The version is interpreted as "year.month.day". |
27 // 8. "gl_vendor" is a STRING structure (defined below). | 29 // 9. "gl_vendor" is a STRING structure (defined below). |
28 // 9. "gl_renderer" is a STRING structure (defined below). | 30 // 10. "gl_renderer" is a STRING structure (defined below). |
29 // 10. "perf_graphics" is a FLOAT structure (defined below). | 31 // 11. "perf_graphics" is a FLOAT structure (defined below). |
30 // 11. "perf_gaming" is a FLOAT structure (defined below). | 32 // 12. "perf_gaming" is a FLOAT structure (defined below). |
31 // 12. "perf_overall" is a FLOAT structure (defined below). | 33 // 13. "perf_overall" is a FLOAT structure (defined below). |
32 // 13. "exceptions" is a list of entries. | 34 // 14. "exceptions" is a list of entries. |
33 // 14. "blacklist" is a list of gpu feature strings, valid values include | 35 // 15. "blacklist" is a list of gpu feature strings, valid values include |
34 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", | 36 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", |
35 // "multisampling", and "all". | 37 // "multisampling", and "all". |
36 // This field is mandatory. | 38 // This field is mandatory. |
37 // 15. "description" has the description of the entry. | 39 // 16. "description" has the description of the entry. |
38 // 16. "webkit_bugs" is an array of associated webkit bug numbers. | 40 // 17. "webkit_bugs" is an array of associated webkit bug numbers. |
39 // 17. "cr_bugs" is an array of associated webkit bug numbers. | 41 // 18. "cr_bugs" is an array of associated webkit bug numbers. |
40 // 18. "browser_version" is a VERSION structure (defined below). If this | 42 // 19. "browser_version" is a VERSION structure (defined below). If this |
41 // condition is not satisfied, the entry will be ignored. If it is not | 43 // condition is not satisfied, the entry will be ignored. If it is not |
42 // present, then the entry applies to all versions of the browser. | 44 // present, then the entry applies to all versions of the browser. |
43 // 19. "disabled" is a boolean. If it is present, the entry will be skipped. | 45 // 20. "disabled" is a boolean. If it is present, the entry will be skipped. |
44 // This can not be used in exceptions. | 46 // This can not be used in exceptions. |
45 // | 47 // |
46 // VERSION includes "op" "number", and "number2". "op" can be any of the | 48 // VERSION includes "op" "number", and "number2". "op" can be any of the |
47 // following values: "=", "<", "<=", ">", ">=", "any", "between". "number2" is | 49 // following values: "=", "<", "<=", ">", ">=", "any", "between". "number2" is |
48 // only used if "op" is "between". "number" is used for all "op" values except | 50 // only used if "op" is "between". "number" is used for all "op" values except |
49 // "any". "number" and "number2" are in the format of x, x.x, x.x.x, etc. | 51 // "any". "number" and "number2" are in the format of x, x.x, x.x.x, etc. |
50 // | 52 // |
51 // STRING includes "op" and "value". "op" can be any of the following values: | 53 // STRING includes "op" and "value". "op" can be any of the following values: |
52 // "contains", "beginwith", "endwith", "=". "value" is a string. | 54 // "contains", "beginwith", "endwith", "=". "value" is a string. |
53 // | 55 // |
54 // FLOAT includes "op" "value", and "value2". "op" can be any of the | 56 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
55 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is | 57 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
56 // only used if "op" is "between". "value" is used for all "op" values except | 58 // only used if "op" is "between". "value" is used for all "op" values except |
57 // "any". "value" and "value2" are valid float numbers. | 59 // "any". "value" and "value2" are valid float numbers. |
58 | 60 |
59 { | 61 { |
60 "name": "software rendering list", | 62 "name": "software rendering list", |
61 // Please update the version number whenever you change this file. | 63 // Please update the version number whenever you change this file. |
62 "version": "1.34", | 64 "version": "1.35", |
63 "entries": [ | 65 "entries": [ |
64 { | 66 { |
65 "id": 1, | 67 "id": 1, |
66 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac."
, | 68 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac."
, |
67 "webkit_bugs": [47028], | 69 "webkit_bugs": [47028], |
68 "os": { | 70 "os": { |
69 "type": "macosx" | 71 "type": "macosx" |
70 }, | 72 }, |
71 "vendor_id": "0x1002", | 73 "vendor_id": "0x1002", |
72 "device_id": ["0x7249"], | 74 "device_id": ["0x7249"], |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 { | 548 { |
547 "id": 36, | 549 "id": 36, |
548 "description": "Stage3D is not supported on ChromeOS.", | 550 "description": "Stage3D is not supported on ChromeOS.", |
549 "cr_bugs": [129848], | 551 "cr_bugs": [129848], |
550 "os": { | 552 "os": { |
551 "type": "chromeos" | 553 "type": "chromeos" |
552 }, | 554 }, |
553 "blacklist": [ | 555 "blacklist": [ |
554 "flash_stage3d" | 556 "flash_stage3d" |
555 ] | 557 ] |
| 558 }, |
| 559 { |
| 560 "id": 37, |
| 561 "description": "Drivers are unreliable for Optimus on Linux.", |
| 562 "os": { |
| 563 "type": "linux" |
| 564 }, |
| 565 "multi_gpu_style": "optimus", |
| 566 "blacklist": [ |
| 567 "all" |
| 568 ] |
556 } | 569 } |
557 | |
558 ] | 570 ] |
559 } | 571 } |
OLD | NEW |