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