| 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.1", | 21 "version": "10.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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 }, | 545 }, |
| 546 { | 546 { |
| 547 "id": 56, | 547 "id": 56, |
| 548 "description": "NVIDIA linux drivers are unstable when using multiple Open
GL contexts and with low memory", | 548 "description": "NVIDIA linux drivers are unstable when using multiple Open
GL contexts and with low memory", |
| 549 "cr_bugs": [145600], | 549 "cr_bugs": [145600], |
| 550 "os": { | 550 "os": { |
| 551 "type": "linux" | 551 "type": "linux" |
| 552 }, | 552 }, |
| 553 "vendor_id": "0x10de", | 553 "vendor_id": "0x10de", |
| 554 "driver_vendor": "NVIDIA", | 554 "driver_vendor": "NVIDIA", |
| 555 "driver_version": { |
| 556 "op": "<", |
| 557 "value": "331.38" |
| 558 }, |
| 555 "features": [ | 559 "features": [ |
| 556 "accelerated_video_decode", | 560 "accelerated_video_decode", |
| 557 "flash_3d", | 561 "flash_3d", |
| 558 "flash_stage3d" | 562 "flash_stage3d" |
| 559 ] | 563 ] |
| 560 }, | 564 }, |
| 561 { | 565 { |
| 562 // Panel fitting is only used with OS_CHROMEOS. To avoid displaying an | 566 // Panel fitting is only used with OS_CHROMEOS. To avoid displaying an |
| 563 // error in chrome:gpu on every other platform, this blacklist entry needs | 567 // error in chrome:gpu on every other platform, this blacklist entry needs |
| 564 // to only match on chromeos. The drawback is that panel_fitting will not | 568 // to only match on chromeos. The drawback is that panel_fitting will not |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1146 "accelerated_2d_canvas", | 1150 "accelerated_2d_canvas", |
| 1147 "gpu_rasterization" | 1151 "gpu_rasterization" |
| 1148 ] | 1152 ] |
| 1149 } | 1153 } |
| 1150 ] | 1154 ] |
| 1151 } | 1155 } |
| 1152 | 1156 |
| 1153 ); // LONG_STRING_CONST macro | 1157 ); // LONG_STRING_CONST macro |
| 1154 | 1158 |
| 1155 } // namespace gpu | 1159 } // namespace gpu |
| OLD | NEW |