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": "12.19", | 21 "version": "12.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"], |
| (...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1488 "0x0df2", "0x0df3", "0x0df4", "0x0df5", "0x0df6", "0x0df7", | 1488 "0x0df2", "0x0df3", "0x0df4", "0x0df5", "0x0df6", "0x0df7", |
| 1489 "0x0df8", "0x0df9", "0x0dfa", "0x0dfc", "0x0f00", "0x0f01", | 1489 "0x0df8", "0x0df9", "0x0dfa", "0x0dfc", "0x0f00", "0x0f01", |
| 1490 "0x1080", "0x1081", "0x1082", "0x1084", "0x1086", "0x1087", | 1490 "0x1080", "0x1081", "0x1082", "0x1084", "0x1086", "0x1087", |
| 1491 "0x1088", "0x1089", "0x108b", "0x1091", "0x109a", "0x109b", | 1491 "0x1088", "0x1089", "0x108b", "0x1091", "0x109a", "0x109b", |
| 1492 "0x1040", "0x1042", "0x1048", "0x1049", "0x104a", "0x1050", | 1492 "0x1040", "0x1042", "0x1048", "0x1049", "0x104a", "0x1050", |
| 1493 "0x1051", "0x1052", "0x1054", "0x1055", "0x1056", "0x1057", | 1493 "0x1051", "0x1052", "0x1054", "0x1055", "0x1056", "0x1057", |
| 1494 "0x1058", "0x1059", "0x105a", "0x107d", "0x1140"], | 1494 "0x1058", "0x1059", "0x105a", "0x107d", "0x1140"], |
| 1495 "features": [ | 1495 "features": [ |
| 1496 "gpu_rasterization" | 1496 "gpu_rasterization" |
| 1497 ] | 1497 ] |
| 1498 }, | |
| 1499 { | |
| 1500 "id": 137, | |
| 1501 "description": "GPU rasterization should only be enabled on Intel Chromebo oks with GLES 3.0 for now.", | |
| 1502 "cr_bugs": [684094], | |
| 1503 "os": { | |
| 1504 "type": "chromeos" | |
| 1505 }, | |
| 1506 "features": [ | |
| 1507 "gpu_rasterization" | |
| 1508 ], | |
| 1509 "exceptions": [ | |
| 1510 { | |
| 1511 "vendor_id": "0x8086", | |
| 1512 "pixel_shader_version": { | |
|
vmiura
2017/03/04 02:04:47
Is there a reason to use "pixel_shader_versionn" >
ericrk
2017/03/07 01:46:42
Nope. However, decided to move to an explicit blac
| |
| 1513 "op": ">=", | |
| 1514 "value": "3.0" | |
| 1515 } | |
| 1516 } | |
| 1517 ] | |
| 1498 } | 1518 } |
| 1499 ] | 1519 ] |
| 1500 } | 1520 } |
| 1501 | 1521 |
| 1502 ); // LONG_STRING_CONST macro | 1522 ); // LONG_STRING_CONST macro |
| 1503 | 1523 |
| 1504 } // namespace gpu | 1524 } // namespace gpu |
| OLD | NEW |