| 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.21", | 21 "version": "10.20", |
| 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"], |
| 32 "multi_gpu_category": "any", | 32 "multi_gpu_category": "any", |
| 33 "features": [ | 33 "features": [ |
| 34 "webgl", | 34 "webgl", |
| 35 "flash_3d", | 35 "flash_3d", |
| 36 "flash_stage3d", | 36 "flash_stage3d" |
| 37 "gpu_rasterization" | |
| 38 ] | 37 ] |
| 39 }, | 38 }, |
| 40 { | 39 { |
| 41 "id": 3, | 40 "id": 3, |
| 42 "description": "GL driver is software rendered. GPU acceleration is disabl
ed", | 41 "description": "GL driver is software rendered. GPU acceleration is disabl
ed", |
| 43 "cr_bugs": [59302, 315217], | 42 "cr_bugs": [59302, 315217], |
| 44 "os": { | 43 "os": { |
| 45 "type": "linux" | 44 "type": "linux" |
| 46 }, | 45 }, |
| 47 "gl_renderer": "(?i).*software.*", | 46 "gl_renderer": "(?i).*software.*", |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 "cr_bugs": [73794], | 115 "cr_bugs": [73794], |
| 117 "os": { | 116 "os": { |
| 118 "type": "macosx" | 117 "type": "macosx" |
| 119 }, | 118 }, |
| 120 "vendor_id": "0x10de", | 119 "vendor_id": "0x10de", |
| 121 "device_id": ["0x0393"], | 120 "device_id": ["0x0393"], |
| 122 "multi_gpu_category": "any", | 121 "multi_gpu_category": "any", |
| 123 "features": [ | 122 "features": [ |
| 124 "webgl", | 123 "webgl", |
| 125 "flash_3d", | 124 "flash_3d", |
| 126 "flash_stage3d", | 125 "flash_stage3d" |
| 127 "gpu_rasterization" | |
| 128 ] | 126 ] |
| 129 }, | 127 }, |
| 130 { | 128 { |
| 131 "id": 12, | 129 "id": 12, |
| 132 "description": "Drivers older than 2009-01 on Windows are possibly unrelia
ble", | 130 "description": "Drivers older than 2009-01 on Windows are possibly unrelia
ble", |
| 133 "cr_bugs": [72979, 89802, 315205], | 131 "cr_bugs": [72979, 89802, 315205], |
| 134 "os": { | 132 "os": { |
| 135 "type": "win" | 133 "type": "win" |
| 136 }, | 134 }, |
| 137 "driver_date": { | 135 "driver_date": { |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 "type": "macosx", | 390 "type": "macosx", |
| 393 "version": { | 391 "version": { |
| 394 "op": "=", | 392 "op": "=", |
| 395 "value": "10.7" | 393 "value": "10.7" |
| 396 } | 394 } |
| 397 }, | 395 }, |
| 398 "vendor_id": "0x10de", | 396 "vendor_id": "0x10de", |
| 399 "device_id": ["0x0863"], | 397 "device_id": ["0x0863"], |
| 400 "multi_gpu_category": "any", | 398 "multi_gpu_category": "any", |
| 401 "features": [ | 399 "features": [ |
| 402 "accelerated_2d_canvas", | 400 "accelerated_2d_canvas" |
| 403 "gpu_rasterization" | |
| 404 ] | 401 ] |
| 405 }, | 402 }, |
| 406 { | 403 { |
| 407 "id": 42, | 404 "id": 42, |
| 408 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy", | 405 "description": "AMD Radeon HD 6490M and 6970M on Snow Leopard are buggy", |
| 409 "cr_bugs": [137307, 285350], | 406 "cr_bugs": [137307, 285350], |
| 410 "os": { | 407 "os": { |
| 411 "type": "macosx", | 408 "type": "macosx", |
| 412 "version": { | 409 "version": { |
| 413 "op": "=", | 410 "op": "=", |
| 414 "value": "10.6" | 411 "value": "10.6" |
| 415 } | 412 } |
| 416 }, | 413 }, |
| 417 "vendor_id": "0x1002", | 414 "vendor_id": "0x1002", |
| 418 "device_id": ["0x6760", "0x6720"], | 415 "device_id": ["0x6760", "0x6720"], |
| 419 "multi_gpu_category": "any", | 416 "multi_gpu_category": "any", |
| 420 "features": [ | 417 "features": [ |
| 421 "webgl", | 418 "webgl" |
| 422 "gpu_rasterization" | |
| 423 ] | 419 ] |
| 424 }, | 420 }, |
| 425 { | 421 { |
| 426 "id": 44, | 422 "id": 44, |
| 427 "description": "Intel HD 4000 causes kernel panic on Lion", | 423 "description": "Intel HD 4000 causes kernel panic on Lion", |
| 428 "cr_bugs": [134015], | 424 "cr_bugs": [134015], |
| 429 "os": { | 425 "os": { |
| 430 "type": "macosx", | 426 "type": "macosx", |
| 431 "version": { | 427 "version": { |
| 432 "op": "between", | 428 "op": "between", |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 "type": "macosx", | 714 "type": "macosx", |
| 719 "version": { | 715 "version": { |
| 720 "op": "<", | 716 "op": "<", |
| 721 "value": "10.8" | 717 "value": "10.8" |
| 722 } | 718 } |
| 723 }, | 719 }, |
| 724 "vendor_id": "0x10de", | 720 "vendor_id": "0x10de", |
| 725 "device_id": ["0x0a29", "0x0861", "0x0863"], | 721 "device_id": ["0x0a29", "0x0861", "0x0863"], |
| 726 "multi_gpu_category": "any", | 722 "multi_gpu_category": "any", |
| 727 "features": [ | 723 "features": [ |
| 728 "webgl", | 724 "webgl" |
| 729 "gpu_rasterization" | |
| 730 ] | 725 ] |
| 731 }, | 726 }, |
| 732 { | 727 { |
| 733 "id": 74, | 728 "id": 74, |
| 734 "description": "GPU access is blocked if users don't have proper graphics
driver installed after Windows installation", | 729 "description": "GPU access is blocked if users don't have proper graphics
driver installed after Windows installation", |
| 735 "cr_bugs": [248178], | 730 "cr_bugs": [248178], |
| 736 "os": { | 731 "os": { |
| 737 "type": "win" | 732 "type": "win" |
| 738 }, | 733 }, |
| 739 "driver_vendor": "Microsoft", | 734 "driver_vendor": "Microsoft", |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1192 "accelerated_2d_canvas", | 1187 "accelerated_2d_canvas", |
| 1193 "gpu_compositing", | 1188 "gpu_compositing", |
| 1194 "flash_3d", | 1189 "flash_3d", |
| 1195 "flash_stage3d", | 1190 "flash_stage3d", |
| 1196 "flash_stage3d_baseline", | 1191 "flash_stage3d_baseline", |
| 1197 "accelerated_video_decode", | 1192 "accelerated_video_decode", |
| 1198 "accelerated_video_encode", | 1193 "accelerated_video_encode", |
| 1199 "panel_fitting", | 1194 "panel_fitting", |
| 1200 "gpu_rasterization" | 1195 "gpu_rasterization" |
| 1201 ] | 1196 ] |
| 1202 }, | |
| 1203 { | |
| 1204 "id": 111, | |
| 1205 "description": "Apple Software Renderer used under VMWare experiences sync
hronization issues with GPU Raster", | |
| 1206 "cr_bugs": [607829], | |
| 1207 "os": { | |
| 1208 "type": "macosx" | |
| 1209 }, | |
| 1210 "vendor_id": "0x15ad", | |
| 1211 "multi_gpu_category": "any", | |
| 1212 "features": [ | |
| 1213 "gpu_rasterization" | |
| 1214 ] | |
| 1215 } | 1197 } |
| 1216 ] | 1198 ] |
| 1217 } | 1199 } |
| 1218 | 1200 |
| 1219 ); // LONG_STRING_CONST macro | 1201 ); // LONG_STRING_CONST macro |
| 1220 | 1202 |
| 1221 } // namespace gpu | 1203 } // namespace gpu |
| OLD | NEW |