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.3", | 21 "version": "7.4", |
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 29 matching lines...) Expand all Loading... |
61 "device_id": ["0x27AE", "0x27A2"], | 61 "device_id": ["0x27AE", "0x27A2"], |
62 "features": [ | 62 "features": [ |
63 "webgl", | 63 "webgl", |
64 "flash_3d", | 64 "flash_3d", |
65 "flash_stage3d", | 65 "flash_stage3d", |
66 "accelerated_2d_canvas" | 66 "accelerated_2d_canvas" |
67 ] | 67 ] |
68 }, | 68 }, |
69 { | 69 { |
70 "id": 5, | 70 "id": 5, |
71 "description": "ATI/AMD cards with older or third-party drivers in Linux a
re crash-prone", | 71 "description": "ATI/AMD cards with older drivers in Linux are crash-prone"
, |
72 "cr_bugs": [71381, 76428, 73910, 101225, 136240], | 72 "cr_bugs": [71381, 76428, 73910, 101225, 136240, 357314], |
73 "os": { | 73 "os": { |
74 "type": "linux" | 74 "type": "linux" |
75 }, | 75 }, |
76 "vendor_id": "0x1002", | 76 "vendor_id": "0x1002", |
77 "exceptions": [ | 77 "exceptions": [ |
78 { | 78 { |
79 "driver_vendor": { | 79 "driver_vendor": { |
80 "op": "contains", | 80 "op": "contains", |
81 "value": "AMD" | 81 "value": "AMD" |
82 }, | 82 }, |
83 "driver_version": { | 83 "driver_version": { |
84 "op": ">=", | 84 "op": ">=", |
85 "style": "lexical", | 85 "style": "lexical", |
86 "value": "8.98" | 86 "value": "8.98" |
87 } | 87 } |
| 88 }, |
| 89 { |
| 90 "driver_vendor": { |
| 91 "op": "=", |
| 92 "value": "Mesa" |
| 93 }, |
| 94 "driver_version": { |
| 95 "op": ">=", |
| 96 "value": "10.0.4" |
| 97 } |
88 } | 98 } |
89 ], | 99 ], |
90 "features": [ | 100 "features": [ |
91 "all" | 101 "all" |
92 ] | 102 ] |
93 }, | 103 }, |
94 { | 104 { |
95 "id": 8, | 105 "id": 8, |
96 "description": "NVIDIA GeForce FX Go5200 is assumed to be buggy", | 106 "description": "NVIDIA GeForce FX Go5200 is assumed to be buggy", |
97 "cr_bugs": [72938], | 107 "cr_bugs": [72938], |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 "os": { | 247 "os": { |
238 "type": "linux" | 248 "type": "linux" |
239 }, | 249 }, |
240 "features": [ | 250 "features": [ |
241 "accelerated_2d_canvas" | 251 "accelerated_2d_canvas" |
242 ] | 252 ] |
243 }, | 253 }, |
244 { | 254 { |
245 "id": 27, | 255 "id": 27, |
246 "description": "ATI/AMD cards with older drivers in Linux are crash-prone"
, | 256 "description": "ATI/AMD cards with older drivers in Linux are crash-prone"
, |
247 "cr_bugs": [95934, 94973, 136240], | 257 "cr_bugs": [95934, 94973, 136240, 357314], |
248 "os": { | 258 "os": { |
249 "type": "linux" | 259 "type": "linux" |
250 }, | 260 }, |
251 "gl_vendor": { | 261 "gl_vendor": { |
252 "op": "beginwith", | 262 "op": "beginwith", |
253 "value": "ATI" | 263 "value": "ATI" |
254 }, | 264 }, |
255 "exceptions": [ | 265 "exceptions": [ |
256 { | 266 { |
257 "driver_vendor": { | 267 "driver_vendor": { |
258 "op": "contains", | 268 "op": "contains", |
259 "value": "AMD" | 269 "value": "AMD" |
260 }, | 270 }, |
261 "driver_version": { | 271 "driver_version": { |
262 "op": ">=", | 272 "op": ">=", |
263 "style": "lexical", | 273 "style": "lexical", |
264 "value": "8.98" | 274 "value": "8.98" |
265 } | 275 } |
| 276 }, |
| 277 { |
| 278 "driver_vendor": { |
| 279 "op": "=", |
| 280 "value": "Mesa" |
| 281 }, |
| 282 "driver_version": { |
| 283 "op": ">=", |
| 284 "value": "10.0.4" |
| 285 } |
266 } | 286 } |
267 ], | 287 ], |
268 "features": [ | 288 "features": [ |
269 "all" | 289 "all" |
270 ] | 290 ] |
271 }, | 291 }, |
272 { | 292 { |
273 "id": 28, | 293 "id": 28, |
274 "description": "ATI/AMD cards with third-party drivers in Linux are crash-
prone", | 294 "description": "ATI/AMD cards with third-party drivers in Linux are crash-
prone", |
275 "cr_bugs": [95934, 94973], | 295 "cr_bugs": [95934, 94973, 357314], |
276 "os": { | 296 "os": { |
277 "type": "linux" | 297 "type": "linux" |
278 }, | 298 }, |
279 "gl_vendor": { | 299 "gl_vendor": { |
280 "op": "beginwith", | 300 "op": "beginwith", |
281 "value": "X.Org" | 301 "value": "X.Org" |
282 }, | 302 }, |
283 "gl_renderer": { | 303 "gl_renderer": { |
284 "op": "contains", | 304 "op": "contains", |
285 "value": "AMD" | 305 "value": "AMD" |
286 }, | 306 }, |
| 307 "exceptions": [ |
| 308 { |
| 309 "driver_vendor": { |
| 310 "op": "=", |
| 311 "value": "Mesa" |
| 312 }, |
| 313 "driver_version": { |
| 314 "op": ">=", |
| 315 "value": "10.0.4" |
| 316 } |
| 317 } |
| 318 ], |
287 "features": [ | 319 "features": [ |
288 "all" | 320 "all" |
289 ] | 321 ] |
290 }, | 322 }, |
291 { | 323 { |
292 "id": 29, | 324 "id": 29, |
293 "description": "ATI/AMD cards with third-party drivers in Linux are crash-
prone", | 325 "description": "ATI/AMD cards with third-party drivers in Linux are crash-
prone", |
294 "cr_bugs": [95934, 94973], | 326 "cr_bugs": [95934, 94973, 357314], |
295 "os": { | 327 "os": { |
296 "type": "linux" | 328 "type": "linux" |
297 }, | 329 }, |
298 "gl_vendor": { | 330 "gl_vendor": { |
299 "op": "beginwith", | 331 "op": "beginwith", |
300 "value": "X.Org" | 332 "value": "X.Org" |
301 }, | 333 }, |
302 "gl_renderer": { | 334 "gl_renderer": { |
303 "op": "contains", | 335 "op": "contains", |
304 "value": "ATI" | 336 "value": "ATI" |
305 }, | 337 }, |
| 338 "exceptions": [ |
| 339 { |
| 340 "driver_vendor": { |
| 341 "op": "=", |
| 342 "value": "Mesa" |
| 343 }, |
| 344 "driver_version": { |
| 345 "op": ">=", |
| 346 "value": "10.0.4" |
| 347 } |
| 348 } |
| 349 ], |
306 "features": [ | 350 "features": [ |
307 "all" | 351 "all" |
308 ] | 352 ] |
309 }, | 353 }, |
310 { | 354 { |
311 "id": 30, | 355 "id": 30, |
312 "description": "NVIDIA cards with nouveau drivers in Linux are crash-prone
", | 356 "description": "NVIDIA cards with nouveau drivers in Linux are crash-prone
", |
313 "cr_bugs": [94103], | 357 "cr_bugs": [94103], |
314 "os": { | 358 "os": { |
315 "type": "linux" | 359 "type": "linux" |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 "features": [ | 1104 "features": [ |
1061 "all" | 1105 "all" |
1062 ] | 1106 ] |
1063 } | 1107 } |
1064 ] | 1108 ] |
1065 } | 1109 } |
1066 | 1110 |
1067 ); // LONG_STRING_CONST macro | 1111 ); // LONG_STRING_CONST macro |
1068 | 1112 |
1069 } // namespace gpu | 1113 } // namespace gpu |
OLD | NEW |