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": "9.13", | 21 "version": "9.14", |
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 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1042 "driver_vendor": ".*AMD.*", | 1042 "driver_vendor": ".*AMD.*", |
1043 "driver_version": { | 1043 "driver_version": { |
1044 "op": "=", | 1044 "op": "=", |
1045 "value": "13.101" | 1045 "value": "13.101" |
1046 }, | 1046 }, |
1047 "features": [ | 1047 "features": [ |
1048 "all" | 1048 "all" |
1049 ] | 1049 ] |
1050 }, | 1050 }, |
1051 { | 1051 { |
1052 "id": 96, | 1052 "id": 96, |
vangelis
2014/12/08 06:12:58
I would suggest using a different blacklist id for
aelias_OOO_until_Jul13
2014/12/08 23:13:57
Done.
aelias_OOO_until_Jul13
2014/12/09 00:25:04
Sorry, I had to revert back to the previous approa
| |
1053 "description": "GPU rasterization is whitelisted on select devices on Andr oid", | 1053 "description": "GPU rasterization whitelist", |
1054 "cr_bugs": [362779], | 1054 "cr_bugs": [362779,424970], |
1055 "os": { | 1055 "os": { |
1056 "type": "android" | 1056 "type": "android" |
1057 }, | 1057 }, |
1058 "exceptions": [ | 1058 "exceptions": [ |
1059 { | 1059 { |
1060 "machine_model_name": ["Nexus 4", "Nexus 5", "Nexus 7", | 1060 "os": { |
1061 "XT1049", "XT1050", "XT1052", "XT1053", | 1061 "type": "android" |
1062 "XT1055", "XT1056", "XT1058", "XT1060", | 1062 }, |
1063 "HTC One", | 1063 "gl_renderer": "Adreno (TM) 3.*" |
1064 "C5303", "C6603", "C6903", | |
1065 "GT-I9195", | |
1066 "GT-I9505", | |
1067 "SAMSUNG-SCH-I337", "SCH-I545", "SGH-M919", | |
1068 "SM-N900", "SM-N9005", "SPH-L720", | |
1069 "XT907", "XT1032", "XT1033", "XT1080"] | |
1070 }, | 1064 }, |
1071 { | 1065 { |
1072 "os": { | 1066 "os": { |
1067 "type": "android" | |
1068 }, | |
1069 "gl_renderer": "NVIDIA.*" | |
Zhenyao Mo
2014/12/06 15:05:28
should this be gl_vendor instead?
aelias_OOO_until_Jul13
2014/12/08 23:13:57
I tried using gl_vendor in an patch set #1 but I f
| |
1070 }, | |
1071 { | |
1072 "os": { | |
1073 "type": "android" | |
1074 }, | |
1075 "gl_renderer": "VideoCore IV.*" | |
1076 }, | |
1077 { | |
1078 "os": { | |
1079 "type": "android" | |
1080 }, | |
1081 "gl_renderer": "Immersion.*" | |
1082 }, | |
1083 { | |
1084 "os": { | |
1073 "type": "android", | 1085 "type": "android", |
1074 "version": { | 1086 "version": { |
1075 "op": ">=", | 1087 "op": ">=", |
1076 "value": "4.4.99" | 1088 "value": "4.4.99" |
1077 } | 1089 } |
1078 } | 1090 } |
1079 }, | 1091 }, |
1080 { | 1092 { |
1081 "os": { | 1093 "os": { |
1082 "type": "android", | 1094 "type": "android", |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1182 "accelerated_2d_canvas", | 1194 "accelerated_2d_canvas", |
1183 "gpu_rasterization" | 1195 "gpu_rasterization" |
1184 ] | 1196 ] |
1185 } | 1197 } |
1186 ] | 1198 ] |
1187 } | 1199 } |
1188 | 1200 |
1189 ); // LONG_STRING_CONST macro | 1201 ); // LONG_STRING_CONST macro |
1190 | 1202 |
1191 } // namespace gpu | 1203 } // namespace gpu |
OLD | NEW |