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": "6.11", | 21 "version": "6.12", |
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 "value": "2009.1" | 131 "value": "2009.1" |
132 }, | 132 }, |
133 "exceptions": [ | 133 "exceptions": [ |
134 { | 134 { |
135 "vendor_id": "0x8086", | 135 "vendor_id": "0x8086", |
136 "device_id": ["0x29a2"], | 136 "device_id": ["0x29a2"], |
137 "driver_version": { | 137 "driver_version": { |
138 "op": ">=", | 138 "op": ">=", |
139 "value": "7.15.10.1624" | 139 "value": "7.15.10.1624" |
140 } | 140 } |
| 141 }, |
| 142 { |
| 143 "driver_vendor": { |
| 144 "op": "=", |
| 145 "value": "osmesa" |
| 146 } |
141 } | 147 } |
142 ], | 148 ], |
143 "features": [ | 149 "features": [ |
144 "accelerated_2d_canvas", | 150 "accelerated_2d_canvas", |
145 "accelerated_video", | 151 "accelerated_video", |
146 "accelerated_video_decode", | 152 "accelerated_video_decode", |
147 "3d_css", | 153 "3d_css", |
148 "multisampling", | 154 "multisampling", |
149 "flash_3d", | 155 "flash_3d", |
150 "flash_stage3d", | 156 "flash_stage3d", |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 "type": "linux" | 328 "type": "linux" |
323 }, | 329 }, |
324 "driver_vendor": { | 330 "driver_vendor": { |
325 "op": "=", | 331 "op": "=", |
326 "value": "Mesa" | 332 "value": "Mesa" |
327 }, | 333 }, |
328 "driver_version": { | 334 "driver_version": { |
329 "op": "<", | 335 "op": "<", |
330 "value": "7.11" | 336 "value": "7.11" |
331 }, | 337 }, |
| 338 "exceptions": [ |
| 339 { |
| 340 "driver_vendor": { |
| 341 "op": "=", |
| 342 "value": "osmesa" |
| 343 } |
| 344 } |
| 345 ], |
332 "features": [ | 346 "features": [ |
333 "all" | 347 "all" |
334 ] | 348 ] |
335 }, | 349 }, |
336 { | 350 { |
337 "id": 24, | 351 "id": 24, |
338 "description": "Accelerated 2d canvas is unstable in Linux at the moment."
, | 352 "description": "Accelerated 2d canvas is unstable in Linux at the moment."
, |
339 "os": { | 353 "os": { |
340 "type": "linux" | 354 "type": "linux" |
341 }, | 355 }, |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 "value": "2007.1" | 773 "value": "2007.1" |
760 }, | 774 }, |
761 "exceptions": [ | 775 "exceptions": [ |
762 { | 776 { |
763 "vendor_id": "0x8086", | 777 "vendor_id": "0x8086", |
764 "device_id": ["0x29a2"], | 778 "device_id": ["0x29a2"], |
765 "driver_version": { | 779 "driver_version": { |
766 "op": ">=", | 780 "op": ">=", |
767 "value": "7.15.10.1624" | 781 "value": "7.15.10.1624" |
768 } | 782 } |
| 783 }, |
| 784 { |
| 785 "driver_vendor": { |
| 786 "op": "=", |
| 787 "value": "osmesa" |
| 788 } |
769 } | 789 } |
770 ], | 790 ], |
771 "features": [ | 791 "features": [ |
772 "all" | 792 "all" |
773 ] | 793 ] |
774 }, | 794 }, |
775 { | 795 { |
776 "id": 56, | 796 "id": 56, |
777 "description": "NVIDIA linux drivers are unstable when using multiple Open
GL contexts and with low memory.", | 797 "description": "NVIDIA linux drivers are unstable when using multiple Open
GL contexts and with low memory.", |
778 "cr_bugs": [145600], | 798 "cr_bugs": [145600], |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 "type": "win" | 1082 "type": "win" |
1063 }, | 1083 }, |
1064 "driver_vendor": { | 1084 "driver_vendor": { |
1065 "op": "=", | 1085 "op": "=", |
1066 "value": "Microsoft" | 1086 "value": "Microsoft" |
1067 }, | 1087 }, |
1068 "features": [ | 1088 "features": [ |
1069 "all" | 1089 "all" |
1070 ] | 1090 ] |
1071 }, | 1091 }, |
| 1092 ) // String split to avoid MSVC char limit. |
| 1093 LONG_STRING_CONST( |
1072 { | 1094 { |
1073 "id": 75, | 1095 "id": 75, |
1074 "description": "Texture sharing not supported on AMD Switchable GPUs due t
o driver issues", | 1096 "description": "Texture sharing not supported on AMD Switchable GPUs due t
o driver issues", |
1075 "cr_bugs": [117371], | 1097 "cr_bugs": [117371], |
1076 "os": { | 1098 "os": { |
1077 "type": "win" | 1099 "type": "win" |
1078 }, | 1100 }, |
1079 "multi_gpu_style": "amd_switchable", | 1101 "multi_gpu_style": "amd_switchable", |
1080 "features": [ | 1102 "features": [ |
1081 "texture_sharing" | 1103 "texture_sharing" |
1082 ] | 1104 ] |
1083 }, | 1105 }, |
1084 ) // String split to avoid MSVC char limit. | |
1085 LONG_STRING_CONST( | |
1086 { | 1106 { |
1087 "id": 76, | 1107 "id": 76, |
1088 "description": "WebGL is disabled on Android unless GPU reset notification
is supported", | 1108 "description": "WebGL is disabled on Android unless GPU reset notification
is supported", |
1089 "os": { | 1109 "os": { |
1090 "type": "android" | 1110 "type": "android" |
1091 }, | 1111 }, |
1092 "exceptions": [ | 1112 "exceptions": [ |
1093 { | 1113 { |
1094 "gl_reset_notification_strategy": { | 1114 "gl_reset_notification_strategy": { |
1095 "op": "=", | 1115 "op": "=", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 }, | 1147 }, |
1128 "vendor_id": "0x8086", | 1148 "vendor_id": "0x8086", |
1129 "driver_version": { | 1149 "driver_version": { |
1130 "op": "between", | 1150 "op": "between", |
1131 "value": "8.15.10.1883", | 1151 "value": "8.15.10.1883", |
1132 "value2": "8.15.10.2702" | 1152 "value2": "8.15.10.2702" |
1133 }, | 1153 }, |
1134 "features": [ | 1154 "features": [ |
1135 "accelerated_video_decode" | 1155 "accelerated_video_decode" |
1136 ] | 1156 ] |
| 1157 }, |
| 1158 { |
| 1159 "id": 79, |
| 1160 "description": "Disable force compositing mode on all Windows versions pri
or to Vista.", |
| 1161 "cr_bugs": [273920], |
| 1162 "os": { |
| 1163 "type": "win", |
| 1164 "version": { |
| 1165 "op": "<", |
| 1166 "value": "6.0" |
| 1167 } |
| 1168 }, |
| 1169 "features": [ |
| 1170 "force_compositing_mode" |
| 1171 ] |
1137 } | 1172 } |
1138 ] | 1173 ] |
1139 } | 1174 } |
1140 | 1175 |
1141 ); // LONG_STRING_CONST macro | 1176 ); // LONG_STRING_CONST macro |
1142 | 1177 |
1143 } // namespace gpu | 1178 } // namespace gpu |
1144 | |
OLD | NEW |