| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // A valid gpu control list json file is in the format of | 5 // A valid gpu control list json file is in the format of |
| 6 // { | 6 // { |
| 7 // "version": "x.y", | 7 // "version": "x.y", |
| 8 // "entries": [ | 8 // "entries": [ |
| 9 // { // entry 1 | 9 // { // entry 1 |
| 10 // }, | 10 // }, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // of listing all features except one. | 56 // of listing all features except one. |
| 57 // 21. "description" has the description of the entry. | 57 // 21. "description" has the description of the entry. |
| 58 // 22. "webkit_bugs" is an array of associated webkit bug numbers. | 58 // 22. "webkit_bugs" is an array of associated webkit bug numbers. |
| 59 // 23. "cr_bugs" is an array of associated webkit bug numbers. | 59 // 23. "cr_bugs" is an array of associated webkit bug numbers. |
| 60 // 24. "disabled" is a boolean. If it is present, the entry will be skipped. | 60 // 24. "disabled" is a boolean. If it is present, the entry will be skipped. |
| 61 // This can not be used in exceptions. | 61 // This can not be used in exceptions. |
| 62 // 25. "direct_rendering" is a boolean. If present, this will filter on whether | 62 // 25. "direct_rendering" is a boolean. If present, this will filter on whether |
| 63 // the GL contexts are direct or indirect based on the value. | 63 // the GL contexts are direct or indirect based on the value. |
| 64 // 26. "disabled_extensions" is a list of strings which contain the GL_EXTENSION | 64 // 26. "disabled_extensions" is a list of strings which contain the GL_EXTENSION |
| 65 // strings which are disabled by the workaround. | 65 // strings which are disabled by the workaround. |
| 66 // 27. "pixel_shader_version" is a VERSION structure (defined below). |
| 66 // | 67 // |
| 67 // VERSION includes "op", "style", "value", and "value2". "op" can be any of | 68 // VERSION includes "op", "style", "value", and "value2". "op" can be any of |
| 68 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" | 69 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" |
| 69 // is optional and can be "lexical" or "numerical"; if it's not specified, it | 70 // is optional and can be "lexical" or "numerical"; if it's not specified, it |
| 70 // defaults to "numerical". "value2" is only used if "op" is "between". | 71 // defaults to "numerical". "value2" is only used if "op" is "between". |
| 71 // "between" is "value <= * <= value2". | 72 // "between" is "value <= * <= value2". |
| 72 // "value" is used for all "op" values except "any". "value" and "value2" | 73 // "value" is used for all "op" values except "any". "value" and "value2" |
| 73 // are in the format of x, x.x, x.x.x, etc. | 74 // are in the format of x, x.x, x.x.x, etc. |
| 74 // Only "driver_version" supports lexical style if the format is major.minor; | 75 // Only "driver_version" supports lexical style if the format is major.minor; |
| 75 // in that case, major is still numerical, but minor is lexical. | 76 // in that case, major is still numerical, but minor is lexical. |
| 76 // | 77 // |
| 77 // FLOAT includes "op" "value", and "value2". "op" can be any of the | 78 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
| 78 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is | 79 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
| 79 // only used if "op" is "between". "value" is used for all "op" values except | 80 // only used if "op" is "between". "value" is used for all "op" values except |
| 80 // "any". "value" and "value2" are valid float numbers. | 81 // "any". "value" and "value2" are valid float numbers. |
| 81 // INT is very much like FLOAT, except that the values need to be integers. | 82 // INT is very much like FLOAT, except that the values need to be integers. |
| 82 // | 83 // |
| 83 // String pattern syntax can be found at | 84 // String pattern syntax can be found at |
| 84 // https://github.com/google/re2/blob/master/doc/syntax.txt | 85 // https://github.com/google/re2/blob/master/doc/syntax.txt |
| OLD | NEW |