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": "9.19", | 21 "version": "10.0", |
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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 "os": { | 329 "os": { |
330 "type": "linux" | 330 "type": "linux" |
331 }, | 331 }, |
332 "vendor_id": "0x10de", | 332 "vendor_id": "0x10de", |
333 "gl_vendor": "(?i)nouveau.*", | 333 "gl_vendor": "(?i)nouveau.*", |
334 "features": [ | 334 "features": [ |
335 "all" | 335 "all" |
336 ] | 336 ] |
337 }, | 337 }, |
338 { | 338 { |
339 "id": 32, | |
340 "description": "Accelerated 2d canvas is disabled on Windows systems with
low perf stats", | |
341 "cr_bugs": [116350, 151500], | |
342 "os": { | |
343 "type": "win" | |
344 }, | |
345 "perf_overall": { | |
346 "op": "<", | |
347 "value": "3.5" | |
348 }, | |
349 "exceptions": [ | |
350 { | |
351 "perf_gaming": { | |
352 "op": ">", | |
353 "value": "3.5" | |
354 } | |
355 }, | |
356 { | |
357 "cpu_info": "(?i).*Atom.*" | |
358 } | |
359 ], | |
360 "features": [ | |
361 "accelerated_2d_canvas" | |
362 ] | |
363 }, | |
364 { | |
365 "id": 34, | 339 "id": 34, |
366 "description": "S3 Trio (used in Virtual PC) is not compatible", | 340 "description": "S3 Trio (used in Virtual PC) is not compatible", |
367 "cr_bugs": [119948], | 341 "cr_bugs": [119948], |
368 "os": { | 342 "os": { |
369 "type": "win" | 343 "type": "win" |
370 }, | 344 }, |
371 "vendor_id": "0x5333", | 345 "vendor_id": "0x5333", |
372 "device_id": ["0x8811"], | 346 "device_id": ["0x8811"], |
373 "features": [ | 347 "features": [ |
374 "all" | 348 "all" |
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1172 "accelerated_2d_canvas", | 1146 "accelerated_2d_canvas", |
1173 "gpu_rasterization" | 1147 "gpu_rasterization" |
1174 ] | 1148 ] |
1175 } | 1149 } |
1176 ] | 1150 ] |
1177 } | 1151 } |
1178 | 1152 |
1179 ); // LONG_STRING_CONST macro | 1153 ); // LONG_STRING_CONST macro |
1180 | 1154 |
1181 } // namespace gpu | 1155 } // namespace gpu |
OLD | NEW |