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.22", | 21 "version": "6.23", |
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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 "multi_gpu_style": "optimus", | 559 "multi_gpu_style": "optimus", |
560 "vendor_id": "0x10de", | 560 "vendor_id": "0x10de", |
561 "device_id": ["0x0fd5"], | 561 "device_id": ["0x0fd5"], |
562 "features": [ | 562 "features": [ |
563 "flash_3d", | 563 "flash_3d", |
564 "flash_stage3d" | 564 "flash_stage3d" |
565 ] | 565 ] |
566 }, | 566 }, |
567 { | 567 { |
568 "id": 50, | 568 "id": 50, |
569 "description": "Disable VMware software renderer", | 569 "description": "Disable VMware software renderer on older Mesa", |
570 "cr_bugs": [145531], | 570 "cr_bugs": [145531, 332596], |
571 "os": { | 571 "os": { |
572 "type": "linux" | 572 "type": "linux" |
573 }, | 573 }, |
574 "gl_vendor": { | 574 "gl_vendor": { |
575 "op": "beginwith", | 575 "op": "beginwith", |
576 "value": "VMware" | 576 "value": "VMware" |
577 }, | 577 }, |
| 578 "exceptions": [ |
| 579 { |
| 580 "driver_vendor": { |
| 581 "op": "=", |
| 582 "value": "Mesa" |
| 583 }, |
| 584 "driver_version": { |
| 585 "op": ">=", |
| 586 "value": "9.2.1" |
| 587 } |
| 588 } |
| 589 ], |
578 "features": [ | 590 "features": [ |
579 "all" | 591 "all" |
580 ] | 592 ] |
581 }, | 593 }, |
582 { | 594 { |
583 "id": 53, | 595 "id": 53, |
584 "description": "The Intel GMA500 is too slow for Stage3D", | 596 "description": "The Intel GMA500 is too slow for Stage3D", |
585 "cr_bugs": [152096], | 597 "cr_bugs": [152096], |
586 "vendor_id": "0x8086", | 598 "vendor_id": "0x8086", |
587 "device_id": ["0x8108", "0x8109"], | 599 "device_id": ["0x8108", "0x8109"], |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 "features": [ | 1037 "features": [ |
1026 "webgl" | 1038 "webgl" |
1027 ] | 1039 ] |
1028 } | 1040 } |
1029 ] | 1041 ] |
1030 } | 1042 } |
1031 | 1043 |
1032 ); // LONG_STRING_CONST macro | 1044 ); // LONG_STRING_CONST macro |
1033 | 1045 |
1034 } // namespace gpu | 1046 } // namespace gpu |
OLD | NEW |