Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1466)

Side by Side Diff: gpu/config/gpu_control_list_format.txt

Issue 241793002: Fix machine_model behaviors in gpu blacklist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 20 matching lines...) Expand all
31 // 7. "driver_vendor" is a STRING structure (defined below). 31 // 7. "driver_vendor" is a STRING structure (defined below).
32 // 8. "driver_version" is a VERSION structure (defined below). 32 // 8. "driver_version" is a VERSION structure (defined below).
33 // 9. "driver_date" is a VERSION structure (defined below). 33 // 9. "driver_date" is a VERSION structure (defined below).
34 // The version is interpreted as "year.month.day". 34 // The version is interpreted as "year.month.day".
35 // 10. "gl_vendor" is a STRING structure (defined below). 35 // 10. "gl_vendor" is a STRING structure (defined below).
36 // 11. "gl_renderer" is a STRING structure (defined below). 36 // 11. "gl_renderer" is a STRING structure (defined below).
37 // 12. "gl_extensions" is a STRING structure (defined below). 37 // 12. "gl_extensions" is a STRING structure (defined below).
38 // 13. "perf_graphics" is a FLOAT structure (defined below). 38 // 13. "perf_graphics" is a FLOAT structure (defined below).
39 // 14. "perf_gaming" is a FLOAT structure (defined below). 39 // 14. "perf_gaming" is a FLOAT structure (defined below).
40 // 15. "perf_overall" is a FLOAT structure (defined below). 40 // 15. "perf_overall" is a FLOAT structure (defined below).
41 // 16. "machine_model" contais "name" and an optional "version". "name" is a 41 // 16. "machine_model_name" is an array of strings. The strings can contain
42 // STRING structure and "version" is a VERSION structure (defined below). 42 // any characters.
43 // 17. "gpu_count" is a INT structure (defined below). 43 // 17. "machine_model_version" is a VERSION structure (defined below).
44 // 18 "cpu_info" is a STRING structure (defined below). 44 // 18. "gpu_count" is a INT structure (defined below).
45 // 19. "exceptions" is a list of entries. 45 // 19 "cpu_info" is a STRING structure (defined below).
46 // 20. "features" is a list of gpu control list options, which can be 46 // 20. "exceptions" is a list of entries.
47 // 21. "features" is a list of gpu control list options, which can be
47 // configured by a specific list. See its *_json.cc file for a list of 48 // configured by a specific list. See its *_json.cc file for a list of
48 // supported features. This field is mandatory. 49 // supported features. This field is mandatory.
49 // 21. "description" has the description of the entry. 50 // 22. "description" has the description of the entry.
50 // 22. "webkit_bugs" is an array of associated webkit bug numbers. 51 // 23. "webkit_bugs" is an array of associated webkit bug numbers.
51 // 23. "cr_bugs" is an array of associated webkit bug numbers. 52 // 24. "cr_bugs" is an array of associated webkit bug numbers.
52 // 24. "disabled" is a boolean. If it is present, the entry will be skipped. 53 // 25. "disabled" is a boolean. If it is present, the entry will be skipped.
53 // This can not be used in exceptions. 54 // This can not be used in exceptions.
54 // 25. "direct_rendering" is a boolean. If present, this will filter on whether 55 // 26. "direct_rendering" is a boolean. If present, this will filter on whether
55 // the GL contexts are direct or indirect based on the value. 56 // the GL contexts are direct or indirect based on the value.
56 // 57 //
57 // VERSION includes "op", "style", "value", and "value2". "op" can be any of 58 // VERSION includes "op", "style", "value", and "value2". "op" can be any of
58 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" 59 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style"
59 // is optional and can be "lexical" or "numerical"; if it's not specified, it 60 // is optional and can be "lexical" or "numerical"; if it's not specified, it
60 // defaults to "numerical". "value2" is only used if "op" is "between". 61 // defaults to "numerical". "value2" is only used if "op" is "between".
61 // "between" is "value <= * <= value2". 62 // "between" is "value <= * <= value2".
62 // "value" is used for all "op" values except "any". "value" and "value2" 63 // "value" is used for all "op" values except "any". "value" and "value2"
63 // are in the format of x, x.x, x.x.x, etc. 64 // are in the format of x, x.x, x.x.x, etc.
64 // Only "driver_version" supports lexical style if the format is major.minor; 65 // Only "driver_version" supports lexical style if the format is major.minor;
65 // in that case, major is still numerical, but minor is lexical. 66 // in that case, major is still numerical, but minor is lexical.
66 // 67 //
67 // STRING includes "op" and "value". "op" can be any of the following values: 68 // STRING includes "op" and "value". "op" can be any of the following values:
68 // "contains", "beginwith", "endwith", "=". "value" is a string. 69 // "contains", "beginwith", "endwith", "=". "value" is a string.
69 // 70 //
70 // FLOAT includes "op" "value", and "value2". "op" can be any of the 71 // FLOAT includes "op" "value", and "value2". "op" can be any of the
71 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is 72 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is
72 // only used if "op" is "between". "value" is used for all "op" values except 73 // only used if "op" is "between". "value" is used for all "op" values except
73 // "any". "value" and "value2" are valid float numbers. 74 // "any". "value" and "value2" are valid float numbers.
74 // INT is very much like FLOAT, except that the values need to be integers. 75 // INT is very much like FLOAT, except that the values need to be integers.
75 76
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list_entry_unittest.cc ('k') | gpu/config/gpu_control_list_machine_model_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698