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": "7.1", | 21 "version": "7.2", |
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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
319 "op": "beginwith", | 319 "op": "beginwith", |
320 "value": "nouveau" | 320 "value": "nouveau" |
321 }, | 321 }, |
322 "features": [ | 322 "features": [ |
323 "all" | 323 "all" |
324 ] | 324 ] |
325 }, | 325 }, |
326 { | 326 { |
327 "id": 32, | 327 "id": 32, |
328 "description": "Accelerated 2d canvas is disabled on Windows systems with low perf stats", | 328 "description": "Accelerated 2d canvas is disabled on Windows systems with low perf stats", |
329 "cr_bugs": [116350, 151500], | 329 "cr_bugs": [116350, 151500, 349628], |
330 "os": { | 330 "os": { |
331 "type": "win" | 331 "type": "win" |
332 }, | 332 }, |
333 "perf_overall": { | 333 "perf_overall": { |
334 "op": "<", | 334 "op": "<", |
335 "value": "3.5" | 335 "value": "3.5" |
336 }, | 336 }, |
337 "exceptions": [ | 337 "exceptions": [ |
338 { | 338 { |
339 "perf_gaming": { | 339 "perf_gaming": { |
340 "op": ">", | 340 "op": ">", |
341 "value": "3.5" | 341 "value": "3.5" |
342 } | 342 } |
343 }, | 343 }, |
344 { | 344 { |
345 "cpu_info": { | 345 "cpu_info": { |
346 "op": "contains", | 346 "op": "contains", |
347 "value": "Atom" | 347 "value": "Atom" |
348 } | 348 } |
349 }, | |
350 // Don't blacklist accelerated 2D canvas if WinSAT scores haven't | |
351 // been gathered. | |
Ken Russell (switch to Gerrit)
2014/03/06 01:21:57
Careful! Comments like these aren't valid JSON. Do
| |
352 { | |
353 "perf_overall": { | |
354 "op": "=", | |
355 "value": "0" | |
356 } | |
349 } | 357 } |
350 ], | 358 ], |
351 "features": [ | 359 "features": [ |
352 "accelerated_2d_canvas" | 360 "accelerated_2d_canvas" |
353 ] | 361 ] |
354 }, | 362 }, |
355 { | 363 { |
356 "id": 34, | 364 "id": 34, |
357 "description": "S3 Trio (used in Virtual PC) is not compatible", | 365 "description": "S3 Trio (used in Virtual PC) is not compatible", |
358 "cr_bugs": [119948], | 366 "cr_bugs": [119948], |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1033 "accelerated_video_decode" | 1041 "accelerated_video_decode" |
1034 ] | 1042 ] |
1035 } | 1043 } |
1036 | 1044 |
1037 ] | 1045 ] |
1038 } | 1046 } |
1039 | 1047 |
1040 ); // LONG_STRING_CONST macro | 1048 ); // LONG_STRING_CONST macro |
1041 | 1049 |
1042 } // namespace gpu | 1050 } // namespace gpu |
OLD | NEW |