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 // Determines whether certain gpu-related features are blacklisted or not. | 5 // Determines whether certain gpu-related features are blacklisted or not. |
6 // A valid software_rendering_list.json file are in the format of | 6 // A valid software_rendering_list.json file are in the format of |
7 // { | 7 // { |
8 // "version": "x.y", | 8 // "version": "x.y", |
9 // "entries": [ | 9 // "entries": [ |
10 // { // entry 1 | 10 // { // entry 1 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // | 70 // |
71 // STRING includes "op" and "value". "op" can be any of the following values: | 71 // STRING includes "op" and "value". "op" can be any of the following values: |
72 // "contains", "beginwith", "endwith", "=". "value" is a string. | 72 // "contains", "beginwith", "endwith", "=". "value" is a string. |
73 // | 73 // |
74 // FLOAT includes "op" "value", and "value2". "op" can be any of the | 74 // FLOAT includes "op" "value", and "value2". "op" can be any of the |
75 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is | 75 // following values: "=", "<", "<=", ">", ">=", "any", "between". "value2" is |
76 // only used if "op" is "between". "value" is used for all "op" values except | 76 // only used if "op" is "between". "value" is used for all "op" values except |
77 // "any". "value" and "value2" are valid float numbers. | 77 // "any". "value" and "value2" are valid float numbers. |
78 // INT is very much like FLOAT, except that the values need to be integers. | 78 // INT is very much like FLOAT, except that the values need to be integers. |
79 | 79 |
80 #include "content/browser/gpu/gpu_control_list_jsons.h" | 80 #include "gpu/config/gpu_control_list_jsons.h" |
81 | 81 |
82 #define LONG_STRING_CONST(...) #__VA_ARGS__ | 82 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
83 | 83 |
84 namespace content { | 84 namespace gpu { |
85 | 85 |
86 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( | 86 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( |
87 | 87 |
88 { | 88 { |
89 "name": "software rendering list", | 89 "name": "software rendering list", |
90 // Please update the version number whenever you change this file. | 90 // Please update the version number whenever you change this file. |
91 "version": "6.0", | 91 "version": "6.0", |
92 "entries": [ | 92 "entries": [ |
93 { | 93 { |
94 "id": 1, | 94 "id": 1, |
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 "device_id": ["0x0a29", "0x0861", "0x0863"], | 1105 "device_id": ["0x0a29", "0x0861", "0x0863"], |
1106 "features": [ | 1106 "features": [ |
1107 "webgl" | 1107 "webgl" |
1108 ] | 1108 ] |
1109 } | 1109 } |
1110 ] | 1110 ] |
1111 } | 1111 } |
1112 | 1112 |
1113 ); // LONG_STRING_CONST macro | 1113 ); // LONG_STRING_CONST macro |
1114 | 1114 |
1115 } // namespace content | 1115 } // namespace gpu |
1116 | 1116 |
OLD | NEW |