| 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.3", | 21 "version": "10.4", |
| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 }, | 324 }, |
| 325 { | 325 { |
| 326 "id": 30, | 326 "id": 30, |
| 327 "description": "NVIDIA cards with nouveau drivers in Linux are crash-prone
", | 327 "description": "NVIDIA cards with nouveau drivers in Linux are crash-prone
", |
| 328 "cr_bugs": [94103], | 328 "cr_bugs": [94103], |
| 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 "driver_vendor": "Mesa", |
| 335 "driver_version": { |
| 336 "op": "<", |
| 337 "value": "10.1" |
| 338 }, |
| 334 "features": [ | 339 "features": [ |
| 335 "all" | 340 "all" |
| 336 ] | 341 ] |
| 337 }, | 342 }, |
| 338 { | 343 { |
| 339 "id": 34, | 344 "id": 34, |
| 340 "description": "S3 Trio (used in Virtual PC) is not compatible", | 345 "description": "S3 Trio (used in Virtual PC) is not compatible", |
| 341 "cr_bugs": [119948], | 346 "cr_bugs": [119948], |
| 342 "os": { | 347 "os": { |
| 343 "type": "win" | 348 "type": "win" |
| 344 }, | 349 }, |
| 345 "vendor_id": "0x5333", | 350 "vendor_id": "0x5333", |
| 346 "device_id": ["0x8811"], | 351 "device_id": ["0x8811"], |
| 347 "features": [ | 352 "features": [ |
| 348 "all" | 353 "all" |
| 349 ] | 354 ] |
| 350 }, | 355 }, |
| 351 { | 356 { |
| 352 "id": 35, | |
| 353 "description": "Stage3D is not supported on Linux", | |
| 354 "cr_bugs": [129848], | |
| 355 "os": { | |
| 356 "type": "linux" | |
| 357 }, | |
| 358 "features": [ | |
| 359 "flash_stage3d" | |
| 360 ] | |
| 361 }, | |
| 362 { | |
| 363 "id": 37, | 357 "id": 37, |
| 364 "description": "Older drivers are unreliable for Optimus on Linux", | 358 "description": "Older drivers are unreliable for Optimus on Linux", |
| 365 "cr_bugs": [131308, 363418], | 359 "cr_bugs": [131308, 363418], |
| 366 "os": { | 360 "os": { |
| 367 "type": "linux" | 361 "type": "linux" |
| 368 }, | 362 }, |
| 369 "multi_gpu_style": "optimus", | 363 "multi_gpu_style": "optimus", |
| 370 "exceptions": [ | 364 "exceptions": [ |
| 371 { | 365 { |
| 372 "driver_vendor": "Mesa", | 366 "driver_vendor": "Mesa", |
| (...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 "accelerated_2d_canvas", | 1150 "accelerated_2d_canvas", |
| 1157 "gpu_rasterization" | 1151 "gpu_rasterization" |
| 1158 ] | 1152 ] |
| 1159 } | 1153 } |
| 1160 ] | 1154 ] |
| 1161 } | 1155 } |
| 1162 | 1156 |
| 1163 ); // LONG_STRING_CONST macro | 1157 ); // LONG_STRING_CONST macro |
| 1164 | 1158 |
| 1165 } // namespace gpu | 1159 } // namespace gpu |
| OLD | NEW |