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": "12.19", | 21 "version": "12.20", |
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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
399 "description": "Accelerated video decode is unavailable on Linux", | 399 "description": "Accelerated video decode is unavailable on Linux", |
400 "cr_bugs": [137247], | 400 "cr_bugs": [137247], |
401 "os": { | 401 "os": { |
402 "type": "linux" | 402 "type": "linux" |
403 }, | 403 }, |
404 "features": [ | 404 "features": [ |
405 "accelerated_video_decode" | 405 "accelerated_video_decode" |
406 ] | 406 ] |
407 }, | 407 }, |
408 { | 408 { |
409 "id": 49, | |
Zhenyao Mo
2017/03/09 21:49:32
No, please don't reuse the ID, that will mess up h
chfremer
2017/03/09 22:25:35
Done.
A question I was having while doing so is i
| |
410 "description": "Accelerated video encode is unavailable on Linux", | |
411 "os": { | |
412 "type": "linux" | |
413 }, | |
414 "features": [ | |
415 "accelerated_video_encode" | |
416 ] | |
417 }, | |
418 { | |
409 "id": 50, | 419 "id": 50, |
410 "description": "Disable VMware software renderer on older Mesa", | 420 "description": "Disable VMware software renderer on older Mesa", |
411 "cr_bugs": [145531, 332596, 571899, 629434], | 421 "cr_bugs": [145531, 332596, 571899, 629434], |
412 "os": { | 422 "os": { |
413 "type": "linux" | 423 "type": "linux" |
414 }, | 424 }, |
415 "gl_vendor": "VMware.*", | 425 "gl_vendor": "VMware.*", |
416 "exceptions": [ | 426 "exceptions": [ |
417 { | 427 { |
418 "driver_vendor": "Mesa", | 428 "driver_vendor": "Mesa", |
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1495 "features": [ | 1505 "features": [ |
1496 "gpu_rasterization" | 1506 "gpu_rasterization" |
1497 ] | 1507 ] |
1498 } | 1508 } |
1499 ] | 1509 ] |
1500 } | 1510 } |
1501 | 1511 |
1502 ); // LONG_STRING_CONST macro | 1512 ); // LONG_STRING_CONST macro |
1503 | 1513 |
1504 } // namespace gpu | 1514 } // namespace gpu |
OLD | NEW |