OLD | NEW |
(Empty) | |
| 1 // Determines whether a certain driver bug exists in the current system. |
| 2 // A valid gpu_driver_bug_list.json file are in the format of |
| 3 // { |
| 4 // "version": "x.y", |
| 5 // "entries": [ |
| 6 // { // entry 1 |
| 7 // }, |
| 8 // ... |
| 9 // { // entry n |
| 10 // } |
| 11 // ] |
| 12 // } |
| 13 // |
| 14 // Each entry contains the following fields (fields are optional unless |
| 15 // specifically described as mandatory below): |
| 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", |
| 18 // "linux", "win", "chromeos", or "any". "any" is the same as not specifying |
| 19 // "os". |
| 20 // "version" is a VERSION structure (defined below). |
| 21 // 3. "vendor_id" is a string. 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 |
| 24 // "amd_switchable". |
| 25 // 6. "multi_gpu_category" is a string, valid values include "any", "primary", |
| 26 // and "secondary". If unspecified, the default value is "primary". |
| 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). |
| 30 // The version is interpreted as "year.month.day". |
| 31 // 10. "gl_vendor" is a STRING structure (defined below). |
| 32 // 11. "gl_renderer" is a STRING structure (defined below). |
| 33 // 12. "perf_graphics" is a FLOAT structure (defined below). |
| 34 // 13. "perf_gaming" is a FLOAT structure (defined below). |
| 35 // 14. "perf_overall" is a FLOAT structure (defined below). |
| 36 // 15. "machine_model" contais "name" and an optional "version". "name" is a |
| 37 // STRING structure and "version" is a VERSION structure (defined below). |
| 38 // 16. "gpu_count" is a INT structure (defined below). |
| 39 // 17 "cpu_info" is a STRING structure (defined below). |
| 40 // 18. "exceptions" is a list of entries. |
| 41 // 19. "features" is a list of gpu switching options. |
| 42 // This field is mandatory. |
| 43 // 20. "description" has the description of the entry. |
| 44 // 21. "webkit_bugs" is an array of associated webkit bug numbers. |
| 45 // 22. "cr_bugs" is an array of associated webkit bug numbers. |
| 46 // 23. "browser_version" is a VERSION structure (defined below). If this |
| 47 // condition is not satisfied, the entry will be ignored. If it is not |
| 48 // present, then the entry applies to all versions of the browser. |
| 49 // 24. "disabled" is a boolean. If it is present, the entry will be skipped. |
| 50 // This can not be used in exceptions. |
| 51 // |
| 52 // VERSION includes "op", "style", "number", and "number2". "op" can be any of |
| 53 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" |
| 54 // is optional and can be "lexical" or "numerical"; if it's not specified, it |
| 55 // defaults to "numerical". "number2" is only used if "op" is "between". |
| 56 // "between" is "number <= * <= number2". |
| 57 // "number" is used for all "op" values except "any". "number" and "number2" |
| 58 // are in the format of x, x.x, x.x.x, etc. |
| 59 // Only "driver_version" supports lexical style if the format is major.minor; |
| 60 // in that case, major is still numerical, but minor is lexical. |
| 61 // |
| 62 // STRING includes "op" and "value". "op" can be any of the following values: |
| 63 // "contains", "beginwith", "endwith", "=". "value" is a string. |
| 64 // |
| 65 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
| 66 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
| 67 // only used if "op" is "between". "value" is used for all "op" values except |
| 68 // "any". "value" and "value2" are valid float numbers. |
| 69 // INT is very much like FLOAT, except that the values need to be integers. |
| 70 |
| 71 { |
| 72 "name": "gpu driver bug list", |
| 73 // Please update the version number whenever you change this file. |
| 74 "version": "1.0", |
| 75 "entries": [ |
| 76 ] |
| 77 } |
OLD | NEW |