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

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

Issue 1925203002: Add exceptions to features in GpuControlList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // 13. "gl_renderer" is a string pattern. 45 // 13. "gl_renderer" is a string pattern.
46 // 14. "gl_extensions" is a string pattern. 46 // 14. "gl_extensions" is a string pattern.
47 // 15. "machine_model_name" is an array of string patterns. 47 // 15. "machine_model_name" is an array of string patterns.
48 // 16. "machine_model_version" is a VERSION structure (defined below). 48 // 16. "machine_model_version" is a VERSION structure (defined below).
49 // 17. "gpu_count" is a INT structure (defined below). 49 // 17. "gpu_count" is a INT structure (defined below).
50 // 18. "cpu_info" is a string pattern. 50 // 18. "cpu_info" is a string pattern.
51 // 19. "exceptions" is a list of entries. 51 // 19. "exceptions" is a list of entries.
52 // 20. "features" is a list of gpu control list options, which can be 52 // 20. "features" is a list of gpu control list options, which can be
53 // configured by a specific list. See its *_json.cc file for a list of 53 // configured by a specific list. See its *_json.cc file for a list of
54 // supported features. This field is mandatory. 54 // supported features. This field is mandatory.
55 // An "exceptions" list to the features can be added for convenience instead
56 // of listing all features except one.
55 // 21. "description" has the description of the entry. 57 // 21. "description" has the description of the entry.
56 // 22. "webkit_bugs" is an array of associated webkit bug numbers. 58 // 22. "webkit_bugs" is an array of associated webkit bug numbers.
57 // 23. "cr_bugs" is an array of associated webkit bug numbers. 59 // 23. "cr_bugs" is an array of associated webkit bug numbers.
58 // 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.
59 // This can not be used in exceptions. 61 // This can not be used in exceptions.
60 // 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
61 // the GL contexts are direct or indirect based on the value. 63 // the GL contexts are direct or indirect based on the value.
62 // 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
63 // strings which are disabled by the workaround. 65 // strings which are disabled by the workaround.
64 // 66 //
65 // VERSION includes "op", "style", "value", and "value2". "op" can be any of 67 // VERSION includes "op", "style", "value", and "value2". "op" can be any of
66 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style" 68 // the following values: "=", "<", "<=", ">", ">=", "any", "between". "style"
67 // is optional and can be "lexical" or "numerical"; if it's not specified, it 69 // is optional and can be "lexical" or "numerical"; if it's not specified, it
68 // defaults to "numerical". "value2" is only used if "op" is "between". 70 // defaults to "numerical". "value2" is only used if "op" is "between".
69 // "between" is "value <= * <= value2". 71 // "between" is "value <= * <= value2".
70 // "value" is used for all "op" values except "any". "value" and "value2" 72 // "value" is used for all "op" values except "any". "value" and "value2"
71 // are in the format of x, x.x, x.x.x, etc. 73 // are in the format of x, x.x, x.x.x, etc.
72 // Only "driver_version" supports lexical style if the format is major.minor; 74 // Only "driver_version" supports lexical style if the format is major.minor;
73 // in that case, major is still numerical, but minor is lexical. 75 // in that case, major is still numerical, but minor is lexical.
74 // 76 //
75 // FLOAT includes "op" "value", and "value2". "op" can be any of the 77 // FLOAT includes "op" "value", and "value2". "op" can be any of the
76 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is 78 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is
77 // only used if "op" is "between". "value" is used for all "op" values except 79 // only used if "op" is "between". "value" is used for all "op" values except
78 // "any". "value" and "value2" are valid float numbers. 80 // "any". "value" and "value2" are valid float numbers.
79 // INT is very much like FLOAT, except that the values need to be integers. 81 // INT is very much like FLOAT, except that the values need to be integers.
80 // 82 //
81 // String pattern syntax can be found at 83 // String pattern syntax can be found at
82 // https://github.com/google/re2/blob/master/doc/syntax.txt 84 // https://github.com/google/re2/blob/master/doc/syntax.txt
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list_entry_unittest.cc ('k') | gpu/config/software_rendering_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698