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.16", | 21 "version": "10.16", |
Zhenyao Mo
2015/12/29 00:15:44
please update the version to 10.17
vmiura
2015/12/29 01:01:27
Done.
| |
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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
360 ] | 360 ] |
361 }, | 361 }, |
362 { | 362 { |
363 "id": 37, | 363 "id": 37, |
364 "description": "Older drivers are unreliable for Optimus on Linux", | 364 "description": "Older drivers are unreliable for Optimus on Linux", |
365 "cr_bugs": [131308, 363418], | 365 "cr_bugs": [131308, 363418], |
366 "os": { | 366 "os": { |
367 "type": "linux" | 367 "type": "linux" |
368 }, | 368 }, |
369 "multi_gpu_style": "optimus", | 369 "multi_gpu_style": "optimus", |
370 "exceptions": [ | 370 "driver_vendor": "Mesa", |
371 { | 371 "driver_version": { |
372 "driver_vendor": "Mesa", | 372 "op": "<", |
373 "driver_version": { | 373 "value": "10.1" |
374 "op": ">=", | 374 }, |
375 "value": "10.1" | 375 "gl_vendor": "Intel.*", |
376 }, | |
377 "gl_vendor": "Intel.*" | |
378 } | |
379 ], | |
380 "features": [ | 376 "features": [ |
381 "all" | 377 "all" |
382 ] | 378 ] |
383 }, | 379 }, |
384 { | 380 { |
385 "id": 38, | 381 "id": 38, |
386 "description": "Accelerated 2D canvas is unstable for NVidia GeForce 9400M on Lion", | 382 "description": "Accelerated 2D canvas is unstable for NVidia GeForce 9400M on Lion", |
387 "cr_bugs": [130495], | 383 "cr_bugs": [130495], |
388 "os": { | 384 "os": { |
389 "type": "macosx", | 385 "type": "macosx", |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1185 "gpu_rasterization", | 1181 "gpu_rasterization", |
1186 "accelerated_2d_canvas" | 1182 "accelerated_2d_canvas" |
1187 ] | 1183 ] |
1188 } | 1184 } |
1189 ] | 1185 ] |
1190 } | 1186 } |
1191 | 1187 |
1192 ); // LONG_STRING_CONST macro | 1188 ); // LONG_STRING_CONST macro |
1193 | 1189 |
1194 } // namespace gpu | 1190 } // namespace gpu |
OLD | NEW |