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.7", | 21 "version": "10.8", |
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 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 "value": "3.0" | 1035 "value": "3.0" |
1036 } | 1036 } |
1037 } | 1037 } |
1038 ], | 1038 ], |
1039 "features": [ | 1039 "features": [ |
1040 "gpu_rasterization", | 1040 "gpu_rasterization", |
1041 "accelerated_2d_canvas" | 1041 "accelerated_2d_canvas" |
1042 ] | 1042 ] |
1043 }, | 1043 }, |
1044 { | 1044 { |
1045 "id": 99, | |
1046 "description": "GPU rasterization is blacklisted on non-Android", | |
1047 "cr_bugs": [362779], | |
1048 "exceptions": [ | |
1049 { | |
1050 "os": { | |
1051 "type": "android" | |
1052 } | |
1053 } | |
1054 ], | |
1055 "features": [ | |
1056 "gpu_rasterization" | |
1057 ] | |
1058 }, | |
1059 { | |
1060 "id": 100, | 1045 "id": 100, |
1061 "description": "GPU rasterization and canvas is blacklisted on Nexus 10", | 1046 "description": "GPU rasterization and canvas is blacklisted on Nexus 10", |
1062 "cr_bugs": [407144], | 1047 "cr_bugs": [407144], |
1063 "os": { | 1048 "os": { |
1064 "type": "android" | 1049 "type": "android" |
1065 }, | 1050 }, |
1066 "gl_renderer": ".*Mali-T604.*", | 1051 "gl_renderer": ".*Mali-T604.*", |
1067 "features": [ | 1052 "features": [ |
1068 "gpu_rasterization", | 1053 "gpu_rasterization", |
1069 "accelerated_2d_canvas" | 1054 "accelerated_2d_canvas" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1157 "accelerated_2d_canvas", | 1142 "accelerated_2d_canvas", |
1158 "gpu_rasterization" | 1143 "gpu_rasterization" |
1159 ] | 1144 ] |
1160 } | 1145 } |
1161 ] | 1146 ] |
1162 } | 1147 } |
1163 | 1148 |
1164 ); // LONG_STRING_CONST macro | 1149 ); // LONG_STRING_CONST macro |
1165 | 1150 |
1166 } // namespace gpu | 1151 } // namespace gpu |
OLD | NEW |