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. "multi_gpu_style" is a string, valid values include "optimus", and | 23 // 5. "multi_gpu_style" is a string, valid values include "optimus", and |
24 // "amd_switchable". | 24 // "amd_switchable". |
25 // 6. "driver_vendor" is a STRING structure (defined below). | 25 // 6. "multi_gpu_category" is a string, valid values include "any", "primary", |
26 // 7. "driver_version" is a VERSION structure (defined below). | 26 // and "secondary". If unspecified, the default value is "primary". |
27 // 8. "driver_date" is a VERSION structure (defined below). | 27 // 7. "driver_vendor" is a STRING structure (defined below). |
28 // 8. "driver_version" is a VERSION structure (defined below). | |
29 // 9. "driver_date" is a VERSION structure (defined below). | |
28 // The version is interpreted as "year.month.day". | 30 // The version is interpreted as "year.month.day". |
29 // 9. "gl_vendor" is a STRING structure (defined below). | 31 // 10. "gl_vendor" is a STRING structure (defined below). |
30 // 10. "gl_renderer" is a STRING structure (defined below). | 32 // 11. "gl_renderer" is a STRING structure (defined below). |
31 // 11. "perf_graphics" is a FLOAT structure (defined below). | 33 // 12. "perf_graphics" is a FLOAT structure (defined below). |
32 // 12. "perf_gaming" is a FLOAT structure (defined below). | 34 // 13. "perf_gaming" is a FLOAT structure (defined below). |
33 // 13. "perf_overall" is a FLOAT structure (defined below). | 35 // 14. "perf_overall" is a FLOAT structure (defined below). |
34 // 14. "exceptions" is a list of entries. | 36 // 15. "exceptions" is a list of entries. |
35 // 15. "blacklist" is a list of gpu feature strings, valid values include | 37 // 16. "blacklist" is a list of gpu feature strings, valid values include |
36 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", | 38 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", |
37 // "multisampling", "flash_3d", "flash_stage3d", "texture_sharing", | 39 // "multisampling", "flash_3d", "flash_stage3d", "texture_sharing", |
38 // and "all". | 40 // and "all". |
39 // This field is mandatory. | 41 // This field is mandatory. |
40 // 16. "description" has the description of the entry. | 42 // 17. "description" has the description of the entry. |
41 // 17. "webkit_bugs" is an array of associated webkit bug numbers. | 43 // 18. "webkit_bugs" is an array of associated webkit bug numbers. |
42 // 18. "cr_bugs" is an array of associated webkit bug numbers. | 44 // 19. "cr_bugs" is an array of associated webkit bug numbers. |
43 // 19. "browser_version" is a VERSION structure (defined below). If this | 45 // 20. "browser_version" is a VERSION structure (defined below). If this |
44 // condition is not satisfied, the entry will be ignored. If it is not | 46 // condition is not satisfied, the entry will be ignored. If it is not |
45 // present, then the entry applies to all versions of the browser. | 47 // present, then the entry applies to all versions of the browser. |
46 // 20. "disabled" is a boolean. If it is present, the entry will be skipped. | 48 // 21. "disabled" is a boolean. If it is present, the entry will be skipped. |
47 // This can not be used in exceptions. | 49 // This can not be used in exceptions. |
48 // | 50 // |
49 // VERSION includes "op", "style", "number", and "number2". "op" can be any of | 51 // VERSION includes "op", "style", "number", and "number2". "op" can be any of |
50 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" | 52 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" |
51 // is optional and can be "lexical" or "numerical"; if it's not specified, it | 53 // is optional and can be "lexical" or "numerical"; if it's not specified, it |
52 // defaults to "numerical". "number2" is only used if "op" is "between". | 54 // defaults to "numerical". "number2" is only used if "op" is "between". |
53 // "number" is used for all "op" values except "any". "number" and "number2" | 55 // "number" is used for all "op" values except "any". "number" and "number2" |
54 // are in the format of x, x.x, x.x.x, etc. | 56 // are in the format of x, x.x, x.x.x, etc. |
55 // Only "driver_version" supports lexical style if the format is major.minor; | 57 // Only "driver_version" supports lexical style if the format is major.minor; |
56 // in that case, major is still numerical, but minor is lexical. | 58 // in that case, major is still numerical, but minor is lexical. |
57 // | 59 // |
58 // STRING includes "op" and "value". "op" can be any of the following values: | 60 // STRING includes "op" and "value". "op" can be any of the following values: |
59 // "contains", "beginwith", "endwith", "=". "value" is a string. | 61 // "contains", "beginwith", "endwith", "=". "value" is a string. |
60 // | 62 // |
61 // FLOAT includes "op" "value", and "value2". "op" can be any of the | 63 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
62 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is | 64 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
63 // only used if "op" is "between". "value" is used for all "op" values except | 65 // only used if "op" is "between". "value" is used for all "op" values except |
64 // "any". "value" and "value2" are valid float numbers. | 66 // "any". "value" and "value2" are valid float numbers. |
65 | 67 |
66 { | 68 { |
67 "name": "software rendering list", | 69 "name": "software rendering list", |
68 // Please update the version number whenever you change this file. | 70 // Please update the version number whenever you change this file. |
69 "version": "2.3", | 71 "version": "2.4", |
70 "entries": [ | 72 "entries": [ |
71 { | 73 { |
72 "id": 1, | 74 "id": 1, |
73 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac." , | 75 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac." , |
74 "webkit_bugs": [47028], | 76 "webkit_bugs": [47028], |
75 "os": { | 77 "os": { |
76 "type": "macosx" | 78 "type": "macosx" |
77 }, | 79 }, |
78 "vendor_id": "0x1002", | 80 "vendor_id": "0x1002", |
79 "device_id": ["0x7249"], | 81 "device_id": ["0x7249"], |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
633 "version": { | 635 "version": { |
634 "op": "=", | 636 "op": "=", |
635 "number": "10.6" | 637 "number": "10.6" |
636 } | 638 } |
637 }, | 639 }, |
638 "vendor_id": "0x1002", | 640 "vendor_id": "0x1002", |
639 "device_id": ["0x6760"], | 641 "device_id": ["0x6760"], |
640 "blacklist": [ | 642 "blacklist": [ |
641 "webgl" | 643 "webgl" |
642 ] | 644 ] |
645 }, | |
646 { | |
647 "id": 43, | |
648 "description": "Intel HD 4000 causes kernel panic on Lion.", | |
649 "cr_bugs": [134015], | |
650 "os": { | |
651 "type": "macosx", | |
652 "version": { | |
653 "op": "=", | |
654 "number": "10.7" | |
Ken Russell (switch to Gerrit)
2012/07/30 21:31:39
Will this match all 10.7 releases (e.g. 10.7.4)?
Zhenyao Mo
2012/07/30 21:32:28
Yes, this matches 10.7.*
| |
655 } | |
656 }, | |
657 "vendor_id": "0x8086", | |
658 "device_id": ["0x0166"], | |
659 "multi_gpu_category": "any", | |
660 "blacklist": [ | |
661 "all" | |
662 ] | |
643 } | 663 } |
644 ] | 664 ] |
645 } | 665 } |
OLD | NEW |