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": "11.0", | 21 "version": "11.1", |
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"], |
32 "multi_gpu_category": "any", | 32 "multi_gpu_category": "any", |
33 "features": [ | 33 "features": [ |
34 "webgl", | 34 "webgl", |
35 "flash_3d", | 35 "flash_3d", |
36 "flash_stage3d" | 36 "flash_stage3d", |
| 37 "gpu_rasterization" |
37 ] | 38 ] |
38 }, | 39 }, |
39 { | 40 { |
40 "id": 3, | 41 "id": 3, |
41 "description": "GL driver is software rendered. GPU acceleration is disabl
ed", | 42 "description": "GL driver is software rendered. GPU acceleration is disabl
ed", |
42 "cr_bugs": [59302, 315217], | 43 "cr_bugs": [59302, 315217], |
43 "os": { | 44 "os": { |
44 "type": "linux" | 45 "type": "linux" |
45 }, | 46 }, |
46 "gl_renderer": "(?i).*software.*", | 47 "gl_renderer": "(?i).*software.*", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 "cr_bugs": [73794], | 116 "cr_bugs": [73794], |
116 "os": { | 117 "os": { |
117 "type": "macosx" | 118 "type": "macosx" |
118 }, | 119 }, |
119 "vendor_id": "0x10de", | 120 "vendor_id": "0x10de", |
120 "device_id": ["0x0393"], | 121 "device_id": ["0x0393"], |
121 "multi_gpu_category": "any", | 122 "multi_gpu_category": "any", |
122 "features": [ | 123 "features": [ |
123 "webgl", | 124 "webgl", |
124 "flash_3d", | 125 "flash_3d", |
125 "flash_stage3d" | 126 "flash_stage3d", |
| 127 "gpu_rasterization" |
126 ] | 128 ] |
127 }, | 129 }, |
128 { | 130 { |
129 "id": 12, | 131 "id": 12, |
130 "description": "Drivers older than 2009-01 on Windows are possibly unrelia
ble", | 132 "description": "Drivers older than 2009-01 on Windows are possibly unrelia
ble", |
131 "cr_bugs": [72979, 89802, 315205], | 133 "cr_bugs": [72979, 89802, 315205], |
132 "os": { | 134 "os": { |
133 "type": "win" | 135 "type": "win" |
134 }, | 136 }, |
135 "driver_date": { | 137 "driver_date": { |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 "type": "macosx", | 392 "type": "macosx", |
391 "version": { | 393 "version": { |
392 "op": "=", | 394 "op": "=", |
393 "value": "10.7" | 395 "value": "10.7" |
394 } | 396 } |
395 }, | 397 }, |
396 "vendor_id": "0x10de", | 398 "vendor_id": "0x10de", |
397 "device_id": ["0x0863"], | 399 "device_id": ["0x0863"], |
398 "multi_gpu_category": "any", | 400 "multi_gpu_category": "any", |
399 "features": [ | 401 "features": [ |
400 "accelerated_2d_canvas" | 402 "accelerated_2d_canvas", |
| 403 "gpu_rasterization" |
401 ] | 404 ] |
402 }, | 405 }, |
403 { | 406 { |
404 "id": 42, | 407 "id": 42, |
405 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy", | 408 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy", |
406 "cr_bugs": [137307, 285350], | 409 "cr_bugs": [137307, 285350], |
407 "os": { | 410 "os": { |
408 "type": "macosx", | 411 "type": "macosx", |
409 "version": { | 412 "version": { |
410 "op": "=", | 413 "op": "=", |
411 "value": "10.6" | 414 "value": "10.6" |
412 } | 415 } |
413 }, | 416 }, |
414 "vendor_id": "0x1002", | 417 "vendor_id": "0x1002", |
415 "device_id": ["0x6760", "0x6720"], | 418 "device_id": ["0x6760", "0x6720"], |
416 "multi_gpu_category": "any", | 419 "multi_gpu_category": "any", |
417 "features": [ | 420 "features": [ |
418 "webgl" | 421 "webgl", |
| 422 "gpu_rasterization" |
419 ] | 423 ] |
420 }, | 424 }, |
421 { | 425 { |
422 "id": 44, | 426 "id": 44, |
423 "description": "Intel HD 4000 causes kernel panic on Lion", | 427 "description": "Intel HD 4000 causes kernel panic on Lion", |
424 "cr_bugs": [134015], | 428 "cr_bugs": [134015], |
425 "os": { | 429 "os": { |
426 "type": "macosx", | 430 "type": "macosx", |
427 "version": { | 431 "version": { |
428 "op": "between", | 432 "op": "between", |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 "type": "macosx", | 718 "type": "macosx", |
715 "version": { | 719 "version": { |
716 "op": "<", | 720 "op": "<", |
717 "value": "10.8" | 721 "value": "10.8" |
718 } | 722 } |
719 }, | 723 }, |
720 "vendor_id": "0x10de", | 724 "vendor_id": "0x10de", |
721 "device_id": ["0x0a29", "0x0861", "0x0863"], | 725 "device_id": ["0x0a29", "0x0861", "0x0863"], |
722 "multi_gpu_category": "any", | 726 "multi_gpu_category": "any", |
723 "features": [ | 727 "features": [ |
724 "webgl" | 728 "webgl", |
| 729 "gpu_rasterization" |
725 ] | 730 ] |
726 }, | 731 }, |
727 { | 732 { |
728 "id": 74, | 733 "id": 74, |
729 "description": "GPU access is blocked if users don't have proper graphics
driver installed after Windows installation", | 734 "description": "GPU access is blocked if users don't have proper graphics
driver installed after Windows installation", |
730 "cr_bugs": [248178], | 735 "cr_bugs": [248178], |
731 "os": { | 736 "os": { |
732 "type": "win" | 737 "type": "win" |
733 }, | 738 }, |
734 "driver_vendor": "Microsoft", | 739 "driver_vendor": "Microsoft", |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1182 }, | 1187 }, |
1183 "driver_vendor": "Mesa", | 1188 "driver_vendor": "Mesa", |
1184 "gl_vendor": "VMware.*", | 1189 "gl_vendor": "VMware.*", |
1185 "gl_renderer": ".*Gallium.*llvmpipe.*", | 1190 "gl_renderer": ".*Gallium.*llvmpipe.*", |
1186 "features": [ | 1191 "features": [ |
1187 "all", | 1192 "all", |
1188 {"exceptions": [ | 1193 {"exceptions": [ |
1189 "webgl" | 1194 "webgl" |
1190 ]} | 1195 ]} |
1191 ] | 1196 ] |
| 1197 }, |
| 1198 { |
| 1199 "id": 111, |
| 1200 "description": "Apple Software Renderer used under VMWare experiences sync
hronization issues with GPU Raster", |
| 1201 "cr_bugs": [607829], |
| 1202 "os": { |
| 1203 "type": "macosx" |
| 1204 }, |
| 1205 "vendor_id": "0x15ad", |
| 1206 "multi_gpu_category": "any", |
| 1207 "features": [ |
| 1208 "gpu_rasterization" |
| 1209 ] |
1192 } | 1210 } |
1193 ] | 1211 ] |
1194 } | 1212 } |
1195 | 1213 |
1196 ); // LONG_STRING_CONST macro | 1214 ); // LONG_STRING_CONST macro |
1197 | 1215 |
1198 } // namespace gpu | 1216 } // namespace gpu |
OLD | NEW |