Chromium Code Reviews| 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 { | |
| 351 "perf_overall": { | |
|
Ken Russell (switch to Gerrit)
2014/03/05 23:59:23
Is there any way to enter a comment for this? (i.e
Zhenyao Mo
2014/03/06 01:15:13
Done.
| |
| 352 "op": "=", | |
| 353 "value": "0" | |
| 354 } | |
| 349 } | 355 } |
| 350 ], | 356 ], |
| 351 "features": [ | 357 "features": [ |
| 352 "accelerated_2d_canvas" | 358 "accelerated_2d_canvas" |
| 353 ] | 359 ] |
| 354 }, | 360 }, |
| 355 { | 361 { |
| 356 "id": 34, | 362 "id": 34, |
| 357 "description": "S3 Trio (used in Virtual PC) is not compatible", | 363 "description": "S3 Trio (used in Virtual PC) is not compatible", |
| 358 "cr_bugs": [119948], | 364 "cr_bugs": [119948], |
| (...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1033 "accelerated_video_decode" | 1039 "accelerated_video_decode" |
| 1034 ] | 1040 ] |
| 1035 } | 1041 } |
| 1036 | 1042 |
| 1037 ] | 1043 ] |
| 1038 } | 1044 } |
| 1039 | 1045 |
| 1040 ); // LONG_STRING_CONST macro | 1046 ); // LONG_STRING_CONST macro |
| 1041 | 1047 |
| 1042 } // namespace gpu | 1048 } // namespace gpu |
| OLD | NEW |