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": "10.18", | 21 "version": "10.19", |
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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 "device_id": ["0x0fd5"], | 511 "device_id": ["0x0fd5"], |
512 "multi_gpu_category": "any", | 512 "multi_gpu_category": "any", |
513 "features": [ | 513 "features": [ |
514 "flash_3d", | 514 "flash_3d", |
515 "flash_stage3d" | 515 "flash_stage3d" |
516 ] | 516 ] |
517 }, | 517 }, |
518 { | 518 { |
519 "id": 50, | 519 "id": 50, |
520 "description": "Disable VMware software renderer on older Mesa", | 520 "description": "Disable VMware software renderer on older Mesa", |
521 "cr_bugs": [145531, 332596], | 521 "cr_bugs": [145531, 332596, 571899], |
522 "os": { | 522 "os": { |
523 "type": "linux" | 523 "type": "linux" |
524 }, | 524 }, |
525 "gl_vendor": "VMware.*", | 525 "gl_vendor": "VMware.*", |
526 "exceptions": [ | 526 "exceptions": [ |
527 { | 527 { |
528 "driver_vendor": "Mesa", | 528 "driver_vendor": "Mesa", |
529 "driver_version": { | 529 "driver_version": { |
530 "op": ">=", | 530 "op": ">=", |
531 "value": "9.2.1" | 531 "value": "9.2.1" |
532 }, | 532 }, |
533 "gl_renderer": ".*SVGA3D.*" | 533 "gl_renderer": ".*SVGA3D.*" |
| 534 }, |
| 535 { |
| 536 "driver_vendor": "Mesa", |
| 537 "driver_version": { |
| 538 "op": ">=", |
| 539 "value": "10.1.3" |
| 540 }, |
| 541 "gl_renderer": ".*Gallium.*llvmpipe.*" |
534 } | 542 } |
535 ], | 543 ], |
536 "features": [ | 544 "features": [ |
537 "all" | 545 "all" |
538 ] | 546 ] |
539 }, | 547 }, |
540 { | 548 { |
541 "id": 53, | 549 "id": 53, |
542 "description": "The Intel GMA500 is too slow for Stage3D", | 550 "description": "The Intel GMA500 is too slow for Stage3D", |
543 "cr_bugs": [152096], | 551 "cr_bugs": [152096], |
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1205 } | 1213 } |
1206 }, | 1214 }, |
1207 "gl_renderer": "Adreno \\(TM\\) 330", | 1215 "gl_renderer": "Adreno \\(TM\\) 330", |
1208 "driver_version": { | 1216 "driver_version": { |
1209 "op": "=", | 1217 "op": "=", |
1210 "value": "45.0" | 1218 "value": "45.0" |
1211 }, | 1219 }, |
1212 "features": [ | 1220 "features": [ |
1213 "accelerated_video_decode" | 1221 "accelerated_video_decode" |
1214 ] | 1222 ] |
| 1223 }, |
| 1224 { |
| 1225 "id": 110, |
| 1226 "description": "Only enable WebGL for the Mesa Gallium llvmpipe driver", |
| 1227 "cr_bugs": [571899], |
| 1228 "os": { |
| 1229 "type": "linux" |
| 1230 }, |
| 1231 "driver_vendor": "Mesa", |
| 1232 "gl_vendor": "VMware.*", |
| 1233 "gl_renderer": ".*Gallium.*llvmpipe.*", |
| 1234 "features": [ |
| 1235 "accelerated_2d_canvas", |
| 1236 "gpu_compositing", |
| 1237 "flash_3d", |
| 1238 "flash_stage3d", |
| 1239 "flash_stage3d_baseline", |
| 1240 "accelerated_video_decode", |
| 1241 "accelerated_video_encode", |
| 1242 "panel_fitting", |
| 1243 "gpu_rasterization" |
| 1244 ] |
1215 } | 1245 } |
1216 ] | 1246 ] |
1217 } | 1247 } |
1218 | 1248 |
1219 ); // LONG_STRING_CONST macro | 1249 ); // LONG_STRING_CONST macro |
1220 | 1250 |
1221 } // namespace gpu | 1251 } // namespace gpu |
OLD | NEW |