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

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

Issue 338183005: Add semantics to apply gpu blakclist to AMD swichable when a discrete/integrated GPU is in use (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « gpu/config/gpu_control_list.cc ('k') | gpu/config/gpu_control_list_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // },
11 // ... 11 // ...
12 // { // entry n 12 // { // entry n
13 // } 13 // }
14 // ] 14 // ]
15 // } 15 // }
16 // 16 //
17 // Each entry contains the following fields (fields are optional unless 17 // Each entry contains the following fields (fields are optional unless
18 // specifically described as mandatory below): 18 // specifically described as mandatory below):
19 // 1. "id" is an integer. 0 is reserved. This field is mandatory. 19 // 1. "id" is an integer. 0 is reserved. This field is mandatory.
20 // 2. "os" contains "type" and an optional "version". "type" could be "macosx", 20 // 2. "os" contains "type" and an optional "version". "type" could be "macosx",
21 // "linux", "win", "chromeos", or "any". "any" is the same as not specifying 21 // "linux", "win", "chromeos", or "any". "any" is the same as not specifying
22 // "os". 22 // "os".
23 // "version" is a VERSION structure (defined below). 23 // "version" is a VERSION structure (defined below).
24 // 3. "vendor_id" is a string. 0 is reserved. 24 // 3. "vendor_id" is a string. 0 is reserved.
25 // 4. "device_id" is an array of strings. 0 is reserved. 25 // 4. "device_id" is an array of strings. 0 is reserved.
26 // 5. "multi_gpu_style" is a string, valid values include "optimus", and 26 // 5. "multi_gpu_style" is a string, valid values include:
27 // "amd_switchable". 27 // a) "optimus": NVIDIA dual GPU
28 // b) "amd_switchable": AMD dual GPU
29 // c) "amd_switchable_integrated": AMD dual GPU, integrated GPU is active
30 // d) "amd_switchable_discrete": AMD dual GPU, discrete GPU is active
31 // c) and d) are only valid on Win, as on Mac we can switch GPU on the fly.
28 // 6. "multi_gpu_category" is a string, valid values include "any", "primary", 32 // 6. "multi_gpu_category" is a string, valid values include "any", "primary",
29 // "secondary", and "active". If unspecified, the default value is "primary". 33 // "secondary", and "active". If unspecified, the default value is "primary".
30 // See gpu_control_list.h for more details on the meanings of the strings. 34 // See gpu_control_list.h for more details on the meanings of the strings.
31 // 7. "driver_vendor" is a STRING structure (defined below). 35 // 7. "driver_vendor" is a STRING structure (defined below).
32 // 8. "driver_version" is a VERSION structure (defined below). 36 // 8. "driver_version" is a VERSION structure (defined below).
33 // 9. "driver_date" is a VERSION structure (defined below). 37 // 9. "driver_date" is a VERSION structure (defined below).
34 // The version is interpreted as "year.month.day". 38 // The version is interpreted as "year.month.day".
35 // 10. "gl_type" is a string, valid values include "gl", "gles", and "angle". 39 // 10. "gl_type" is a string, valid values include "gl", "gles", and "angle".
36 // If "gl_version" is specified and "gl_type" is not, use the default value. 40 // If "gl_version" is specified and "gl_type" is not, use the default value.
37 // The default value on Android is "gles", on Windows is "angle", on other 41 // The default value on Android is "gles", on Windows is "angle", on other
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // 76 //
73 // STRING includes "op" and "value". "op" can be any of the following values: 77 // STRING includes "op" and "value". "op" can be any of the following values:
74 // "contains", "beginwith", "endwith", "=". "value" is a string. 78 // "contains", "beginwith", "endwith", "=". "value" is a string.
75 // 79 //
76 // FLOAT includes "op" "value", and "value2". "op" can be any of the 80 // FLOAT includes "op" "value", and "value2". "op" can be any of the
77 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is 81 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is
78 // only used if "op" is "between". "value" is used for all "op" values except 82 // only used if "op" is "between". "value" is used for all "op" values except
79 // "any". "value" and "value2" are valid float numbers. 83 // "any". "value" and "value2" are valid float numbers.
80 // INT is very much like FLOAT, except that the values need to be integers. 84 // INT is very much like FLOAT, except that the values need to be integers.
81 85
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list.cc ('k') | gpu/config/gpu_control_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698