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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 // 18 "cpu_info" is a STRING structure (defined below). | 43 // 18 "cpu_info" is a STRING structure (defined below). |
44 // 19. "exceptions" is a list of entries. | 44 // 19. "exceptions" is a list of entries. |
45 // 20. "features" is a list of gpu control list options, which can be | 45 // 20. "features" is a list of gpu control list options, which can be |
46 // configured by a specific list. See its *_json.cc file for a list of | 46 // configured by a specific list. See its *_json.cc file for a list of |
47 // supported features. This field is mandatory. | 47 // supported features. This field is mandatory. |
48 // 21. "description" has the description of the entry. | 48 // 21. "description" has the description of the entry. |
49 // 22. "webkit_bugs" is an array of associated webkit bug numbers. | 49 // 22. "webkit_bugs" is an array of associated webkit bug numbers. |
50 // 23. "cr_bugs" is an array of associated webkit bug numbers. | 50 // 23. "cr_bugs" is an array of associated webkit bug numbers. |
51 // 24. "disabled" is a boolean. If it is present, the entry will be skipped. | 51 // 24. "disabled" is a boolean. If it is present, the entry will be skipped. |
52 // This can not be used in exceptions. | 52 // This can not be used in exceptions. |
| 53 // 25. "direct_rendering" is a boolean. If present, this will filter on whether |
| 54 // the GL contexts are direct or indirect based on the value. |
53 // | 55 // |
54 // VERSION includes "op", "style", "value", and "value2". "op" can be any of | 56 // VERSION includes "op", "style", "value", and "value2". "op" can be any of |
55 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" | 57 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" |
56 // is optional and can be "lexical" or "numerical"; if it's not specified, it | 58 // is optional and can be "lexical" or "numerical"; if it's not specified, it |
57 // defaults to "numerical". "value2" is only used if "op" is "between". | 59 // defaults to "numerical". "value2" is only used if "op" is "between". |
58 // "between" is "value <= * <= value2". | 60 // "between" is "value <= * <= value2". |
59 // "value" is used for all "op" values except "any". "value" and "value2" | 61 // "value" is used for all "op" values except "any". "value" and "value2" |
60 // are in the format of x, x.x, x.x.x, etc. | 62 // are in the format of x, x.x, x.x.x, etc. |
61 // Only "driver_version" supports lexical style if the format is major.minor; | 63 // Only "driver_version" supports lexical style if the format is major.minor; |
62 // in that case, major is still numerical, but minor is lexical. | 64 // in that case, major is still numerical, but minor is lexical. |
63 // | 65 // |
64 // STRING includes "op" and "value". "op" can be any of the following values: | 66 // STRING includes "op" and "value". "op" can be any of the following values: |
65 // "contains", "beginwith", "endwith", "=". "value" is a string. | 67 // "contains", "beginwith", "endwith", "=". "value" is a string. |
66 // | 68 // |
67 // FLOAT includes "op" "value", and "value2". "op" can be any of the | 69 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
68 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is | 70 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
69 // only used if "op" is "between". "value" is used for all "op" values except | 71 // only used if "op" is "between". "value" is used for all "op" values except |
70 // "any". "value" and "value2" are valid float numbers. | 72 // "any". "value" and "value2" are valid float numbers. |
71 // INT is very much like FLOAT, except that the values need to be integers. | 73 // INT is very much like FLOAT, except that the values need to be integers. |
72 | 74 |
OLD | NEW |