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 // The format of a valid software_rendering_list.json file is defined in | 6 // The format of a valid software_rendering_list.json file is defined in |
7 // <gpu/config/gpu_control_list_format.txt>. | 7 // <gpu/config/gpu_control_list_format.txt>. |
8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>. | 8 // The supported "features" can be found in <gpu/config/gpu_blacklist.cc>. |
9 | 9 |
10 #include "gpu/config/gpu_control_list_jsons.h" | 10 #include "gpu/config/gpu_control_list_jsons.h" |
11 | 11 |
12 #define LONG_STRING_CONST(...) #__VA_ARGS__ | 12 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
13 | 13 |
14 namespace gpu { | 14 namespace gpu { |
15 | 15 |
16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( | 16 const char kSoftwareRenderingListJson[] = LONG_STRING_CONST( |
17 | 17 |
18 { | 18 { |
19 "name": "software rendering list", | 19 "name": "software rendering list", |
20 // Please update the version number whenever you change this file. | 20 // Please update the version number whenever you change this file. |
21 "version": "8.10", | 21 "version": "8.11", |
22 "entries": [ | 22 "entries": [ |
23 { | 23 { |
24 "id": 1, | 24 "id": 1, |
25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", | 25 "description": "ATI Radeon X1900 is not compatible with WebGL on the Mac", |
26 "webkit_bugs": [47028], | 26 "webkit_bugs": [47028], |
27 "os": { | 27 "os": { |
28 "type": "macosx" | 28 "type": "macosx" |
29 }, | 29 }, |
30 "vendor_id": "0x1002", | 30 "vendor_id": "0x1002", |
31 "device_id": ["0x7249"], | 31 "device_id": ["0x7249"], |
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1119 "driver_version": { | 1119 "driver_version": { |
1120 "op": "=", | 1120 "op": "=", |
1121 "value": "13.101" | 1121 "value": "13.101" |
1122 }, | 1122 }, |
1123 "features": [ | 1123 "features": [ |
1124 "all" | 1124 "all" |
1125 ] | 1125 ] |
1126 }, | 1126 }, |
1127 { | 1127 { |
1128 "id": 96, | 1128 "id": 96, |
1129 "description": "GPU rasterization is whitelisted on N4, N5, N7 and Moto X" , | 1129 "description": "GPU rasterization is whitelisted on N4, N5, N7 and Moto X, and on Qualcomm GPUs on Android 4.4", |
1130 "cr_bugs": [362779], | 1130 "cr_bugs": [362779], |
1131 "os": { | |
1132 "type": "android" | |
1133 }, | |
1131 "exceptions": [ | 1134 "exceptions": [ |
1132 { | 1135 { |
1133 "os": { | |
1134 "type": "android" | |
1135 }, | |
1136 "machine_model_name": ["Nexus 4", "Nexus 5", "Nexus 7", | 1136 "machine_model_name": ["Nexus 4", "Nexus 5", "Nexus 7", |
1137 "XT1049", "XT1050", "XT1052", "XT1053", | 1137 "XT1049", "XT1050", "XT1052", "XT1053", |
1138 "XT1055", "XT1056", "XT1058", "XT1060"] | 1138 "XT1055", "XT1056", "XT1058", "XT1060"] |
1139 }, | 1139 }, |
1140 { | 1140 { |
1141 "os": { | 1141 "os": { |
1142 "type": "android", | 1142 "type": "android", |
1143 "version": { | 1143 "version": { |
1144 "op": ">=", | 1144 "op": ">=", |
1145 "value": "4.4.99" | 1145 "value": "4.4.99" |
1146 } | 1146 } |
1147 } | 1147 } |
1148 }, | |
1149 { | |
1150 "os": { | |
1151 "type": "android", | |
1152 "version": { | |
1153 "op": ">=", | |
1154 "value": "4.4" | |
1155 } | |
1156 }, | |
1157 "gl_vendor": { | |
1158 "op": "beginwith", | |
1159 "value": "Qualcomm" | |
1160 } | |
1148 } | 1161 } |
1149 ], | 1162 ], |
1150 "features": [ | 1163 "features": [ |
1151 "gpu_rasterization" | 1164 "gpu_rasterization" |
1152 ] | 1165 ] |
1153 }, | 1166 }, |
1154 { | 1167 { |
1155 "id": 97, | 1168 "id": 97, |
1156 "description": "Additional GPU rasterization whitelist for field trial", | 1169 "description": "Additional GPU rasterization whitelist for field trial", |
1157 "cr_bugs": [380694], | 1170 "cr_bugs": [380694], |
(...skipping 26 matching lines...) Expand all Loading... | |
1184 "version": { | 1197 "version": { |
1185 "op": ">=", | 1198 "op": ">=", |
1186 "value": "4.4.99" | 1199 "value": "4.4.99" |
1187 } | 1200 } |
1188 } | 1201 } |
1189 } | 1202 } |
1190 ], | 1203 ], |
1191 "features": [ | 1204 "features": [ |
1192 "gpu_rasterization_expanded_heuristics" | 1205 "gpu_rasterization_expanded_heuristics" |
1193 ] | 1206 ] |
1207 }, | |
1208 { | |
1209 "id": 99, | |
1210 "description": "GPU rasterization is blacklisted on non-Android", | |
1211 "cr_bugs": [362779], | |
1212 "exceptions": [ | |
1213 { | |
1214 "os": { | |
1215 "type": "android" | |
1216 } | |
Zhenyao Mo
2014/08/12 21:31:49
nit: need an extra space before }
ajuma
2014/08/13 14:58:57
Fixed.
| |
1217 } | |
1218 ], | |
1219 "features": [ | |
1220 "gpu_rasterization" | |
1221 ] | |
1194 } | 1222 } |
1195 ] | 1223 ] |
1196 } | 1224 } |
1197 | 1225 |
1198 ); // LONG_STRING_CONST macro | 1226 ); // LONG_STRING_CONST macro |
1199 | 1227 |
1200 } // namespace gpu | 1228 } // namespace gpu |
OLD | NEW |