| 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: | 14 // Each entry contains the following fields: |
| 15 // "os", "vendor_id", "device_id", "driver_version", and "blacklist". | 15 // "os", "vendor_id", "device_id", "driver_version", and "blacklist". |
| 16 // Only "blacklist" is mandatory. | 16 // Only "blacklist" is mandatory. |
| 17 // 1. "os" contains "type" and an optional "version". "type" could be "macosx", | 17 // 1. "os" contains "type" and an optional "version". "type" could be "macosx", |
| 18 // "linux", "win", or "any". "any" is the same as not specifying "os". | 18 // "linux", "win", or "any". "any" is the same as not specifying "os". |
| 19 // "version" is a VERSION structure (defined below). | 19 // "version" is a VERSION structure (defined below). |
| 20 // 2. "vendor_id" has the value of a string. | 20 // 2. "vendor_id" has the value of a string. |
| 21 // 3. "device_id" has the value of a string. | 21 // 3. "device_id" has the value of a string. |
| 22 // 4. "driver_vendor" is a STRING structure (defined below). | 22 // 4. "driver_vendor" is a STRING structure (defined below). |
| 23 // 5. "driver_version" is a VERSION structure (defined below). | 23 // 5. "driver_version" is a VERSION structure (defined below). |
| 24 // 6. "driver_date" is a VERSION structure (defined below). | 24 // 6. "driver_date" is a VERSION structure (defined below). |
| 25 // The version is interpreted as "year.month.day". | 25 // The version is interpreted as "year.month.day". |
| 26 // 7. "gl_renderer" is a STRING structure (defined below). | 26 // 7. "gl_renderer" is a STRING structure (defined below). |
| 27 // 8: "Exceptions" is a list of entries. | 27 // 8: "Exceptions" is a list of entries. |
| 28 // 9. "blacklist" is a list of gpu feature strings, valid values include | 28 // 9. "blacklist" is a list of gpu feature strings, valid values include |
| 29 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", and "all". | 29 // "accelerated_2d_canvas", "accelerated_compositing", "webgl", |
| 30 // Currently whatever feature is selected, the effect is the same as "all", | 30 // "multisampling", and "all". |
| 31 // i.e., it's not supported to turn off one GPU feature and not the others. | |
| 32 // | 31 // |
| 33 // VERSION includes "op" "number", and "number2". "op" can be any of the | 32 // VERSION includes "op" "number", and "number2". "op" can be any of the |
| 34 // following values: "=", "<", "<=", ">", ">=", "any", "between". "number2" is | 33 // following values: "=", "<", "<=", ">", ">=", "any", "between". "number2" is |
| 35 // only used if "op" is "between". "number" is used for all "op" values except | 34 // only used if "op" is "between". "number" is used for all "op" values except |
| 36 // "any". "number" and "number2" are in the format of x, x.x, x.x.x, ect. | 35 // "any". "number" and "number2" are in the format of x, x.x, x.x.x, ect. |
| 37 // | 36 // |
| 38 // STRING includes "op" and "value". "op" can be any of the following values: | 37 // STRING includes "op" and "value". "op" can be any of the following values: |
| 39 // "contains", "beginwith", "endwith", "=". "value" is a string. | 38 // "contains", "beginwith", "endwith", "=". "value" is a string. |
| 40 | 39 |
| 41 { | 40 { |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 "driver_version": { | 226 "driver_version": { |
| 228 "op": "<", | 227 "op": "<", |
| 229 "number": "6.14.10.5294" | 228 "number": "6.14.10.5294" |
| 230 }, | 229 }, |
| 231 "blacklist": [ | 230 "blacklist": [ |
| 232 "all" | 231 "all" |
| 233 ] | 232 ] |
| 234 } | 233 } |
| 235 ] | 234 ] |
| 236 } | 235 } |
| OLD | NEW |