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": "7.7", | 21 "version": "8.0", |
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 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 "id": 83, | 942 "id": 83, |
943 "description": "Samsung Gaxlaxy NOTE II is too buggy to use for video deco
ding", | 943 "description": "Samsung Gaxlaxy NOTE II is too buggy to use for video deco
ding", |
944 "cr_bugs": [308721], | 944 "cr_bugs": [308721], |
945 "os": { | 945 "os": { |
946 "type": "android", | 946 "type": "android", |
947 "version": { | 947 "version": { |
948 "op": "<=", | 948 "op": "<=", |
949 "value": "4.1.2" | 949 "value": "4.1.2" |
950 } | 950 } |
951 }, | 951 }, |
952 "machine_model": { | 952 "machine_model_name": ["GT-N7100"], |
953 "name": { | |
954 "op": "=", | |
955 "value": "GT-N7100" | |
956 } | |
957 }, | |
958 "features": [ | 953 "features": [ |
959 "accelerated_video_decode" | 954 "accelerated_video_decode" |
960 ] | 955 ] |
961 }, | 956 }, |
962 { | 957 { |
963 "id": 85, | 958 "id": 85, |
964 "description": "Samsung Gaxlaxy S4 is too buggy to use for video decoding"
, | 959 "description": "Samsung Gaxlaxy S4 is too buggy to use for video decoding"
, |
965 "cr_bugs": [329072], | 960 "cr_bugs": [329072], |
966 "os": { | 961 "os": { |
967 "type": "android" | 962 "type": "android" |
968 }, | 963 }, |
969 "machine_model": { | 964 "machine_model_name": ["SCH-I545"], |
970 "name": { | |
971 "op": "=", | |
972 "value": "SCH-I545" | |
973 } | |
974 }, | |
975 "features": [ | 965 "features": [ |
976 "accelerated_video_decode" | 966 "accelerated_video_decode" |
977 ] | 967 ] |
978 }, | 968 }, |
979 { | 969 { |
980 "id": 86, | 970 "id": 86, |
981 "description": "Intel Graphics Media Accelerator 3150 causes the GPU proce
ss to hang running WebGL", | 971 "description": "Intel Graphics Media Accelerator 3150 causes the GPU proce
ss to hang running WebGL", |
982 "cr_bugs": [305431], | 972 "cr_bugs": [305431], |
983 "os": { | 973 "os": { |
984 "type": "win" | 974 "type": "win" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 "features": [ | 1121 "features": [ |
1132 "all" | 1122 "all" |
1133 ] | 1123 ] |
1134 }, | 1124 }, |
1135 { | 1125 { |
1136 "id": 96, | 1126 "id": 96, |
1137 "description": "GPU rasterization is whitelisted on N4, N5, N7 and Moto X"
, | 1127 "description": "GPU rasterization is whitelisted on N4, N5, N7 and Moto X"
, |
1138 "cr_bugs": [362779], | 1128 "cr_bugs": [362779], |
1139 "exceptions": [ | 1129 "exceptions": [ |
1140 { | 1130 { |
1141 "machine_model": { | 1131 "machine_model_name": ["Nexus 4", "Nexus 5", "Nexus 7", |
1142 "name": { | 1132 "XT1049", "XT1050", "XT1052", "XT1053", |
1143 "op": "=", | 1133 "XT1055", "XT1056", "XT1058", "XT1060"] |
1144 "value": "Nexus 4" | |
1145 } | |
1146 } | |
1147 }, | |
1148 { | |
1149 "machine_model": { | |
1150 "name": { | |
1151 "op": "=", | |
1152 "value": "Nexus 5" | |
1153 } | |
1154 } | |
1155 }, | |
1156 { | |
1157 "machine_model": { | |
1158 "name": { | |
1159 "op": "=", | |
1160 "value": "Nexus 7" | |
1161 } | |
1162 } | |
1163 }, | |
1164 { | |
1165 "machine_model": { | |
1166 "name": { | |
1167 "op": "=", | |
1168 "value": "XT1049" | |
1169 } | |
1170 } | |
1171 }, | |
1172 { | |
1173 "machine_model": { | |
1174 "name": { | |
1175 "op": "=", | |
1176 "value": "XT1050" | |
1177 } | |
1178 } | |
1179 }, | |
1180 { | |
1181 "machine_model": { | |
1182 "name": { | |
1183 "op": "=", | |
1184 "value": "XT1052" | |
1185 } | |
1186 } | |
1187 }, | |
1188 { | |
1189 "machine_model": { | |
1190 "name": { | |
1191 "op": "=", | |
1192 "value": "XT1053" | |
1193 } | |
1194 } | |
1195 }, | |
1196 { | |
1197 "machine_model": { | |
1198 "name": { | |
1199 "op": "=", | |
1200 "value": "XT1055" | |
1201 } | |
1202 } | |
1203 }, | |
1204 { | |
1205 "machine_model": { | |
1206 "name": { | |
1207 "op": "=", | |
1208 "value": "XT1056" | |
1209 } | |
1210 } | |
1211 }, | |
1212 { | |
1213 "machine_model": { | |
1214 "name": { | |
1215 "op": "=", | |
1216 "value": "XT1058" | |
1217 } | |
1218 } | |
1219 }, | |
1220 { | |
1221 "machine_model": { | |
1222 "name": { | |
1223 "op": "=", | |
1224 "value": "XT1060" | |
1225 } | |
1226 } | |
1227 } | 1134 } |
1228 ], | 1135 ], |
1229 "features": [ | 1136 "features": [ |
1230 "gpu_rasterization" | 1137 "gpu_rasterization" |
1231 ] | 1138 ] |
1232 } | 1139 } |
1233 ] | 1140 ] |
1234 } | 1141 } |
1235 | 1142 |
1236 ); // LONG_STRING_CONST macro | 1143 ); // LONG_STRING_CONST macro |
1237 | 1144 |
1238 } // namespace gpu | 1145 } // namespace gpu |
OLD | NEW |