| 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": "8.3", | 21 "version": "8.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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 "value": "osmesa" | 155 "value": "osmesa" |
| 156 } | 156 } |
| 157 } | 157 } |
| 158 ], | 158 ], |
| 159 "features": [ | 159 "features": [ |
| 160 "all" | 160 "all" |
| 161 ] | 161 ] |
| 162 }, | 162 }, |
| 163 { | 163 { |
| 164 "id": 17, | 164 "id": 17, |
| 165 "description": "Intel mesa drivers are crash-prone", | 165 "description": "Older Intel mesa drivers are crash-prone", |
| 166 "cr_bugs": [76703, 164555, 225200, 340886], | 166 "cr_bugs": [76703, 164555, 225200, 340886], |
| 167 "os": { | 167 "os": { |
| 168 "type": "linux" | 168 "type": "linux" |
| 169 }, | 169 }, |
| 170 "vendor_id": "0x8086", | 170 "vendor_id": "0x8086", |
| 171 "driver_vendor": { |
| 172 "op": "=", |
| 173 "value": "Mesa" |
| 174 }, |
| 175 "driver_version": { |
| 176 "op": "<", |
| 177 "value": "10.1" |
| 178 }, |
| 171 "exceptions": [ | 179 "exceptions": [ |
| 172 { | 180 { |
| 173 "device_id": ["0x0102", "0x0106", "0x0112", "0x0116", "0x0122", "0x012
6", "0x010a", "0x0152", "0x0156", "0x015a", "0x0162", "0x0166"], | 181 "device_id": ["0x0102", "0x0106", "0x0112", "0x0116", "0x0122", "0x012
6", "0x010a", "0x0152", "0x0156", "0x015a", "0x0162", "0x0166"], |
| 174 "driver_version": { | 182 "driver_version": { |
| 175 "op": ">=", | 183 "op": ">=", |
| 176 "value": "8.0" | 184 "value": "8.0" |
| 177 } | 185 } |
| 178 }, | 186 }, |
| 179 { | 187 { |
| 180 "device_id": ["0xa001", "0xa002", "0xa011", "0xa012", "0x29a2", "0x299
2", "0x2982", "0x2972", "0x2a12", "0x2a42", "0x2e02", "0x2e12", "0x2e22", "0x2e3
2", "0x2e42", "0x2e92"], | 188 "device_id": ["0xa001", "0xa002", "0xa011", "0xa012", "0x29a2", "0x299
2", "0x2982", "0x2972", "0x2a12", "0x2a42", "0x2e02", "0x2e12", "0x2e22", "0x2e3
2", "0x2e42", "0x2e92"], |
| (...skipping 10 matching lines...) Expand all Loading... |
| 191 } | 199 } |
| 192 }, | 200 }, |
| 193 { | 201 { |
| 194 "device_id": ["0x2a02"], | 202 "device_id": ["0x2a02"], |
| 195 "driver_version": { | 203 "driver_version": { |
| 196 "op": ">=", | 204 "op": ">=", |
| 197 "value": "9.1" | 205 "value": "9.1" |
| 198 } | 206 } |
| 199 }, | 207 }, |
| 200 { | 208 { |
| 201 "device_id": ["0x0a16"], | 209 "device_id": ["0x0a16", "0x0a26"], |
| 202 "driver_version": { | 210 "driver_version": { |
| 203 "op": ">=", | 211 "op": ">=", |
| 204 "value": "10.0.1" | 212 "value": "10.0.1" |
| 205 } | 213 } |
| 206 } | 214 } |
| 207 ], | 215 ], |
| 208 "features": [ | 216 "features": [ |
| 209 "all" | 217 "all" |
| 210 ] | 218 ] |
| 211 }, | 219 }, |
| (...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1163 "features": [ | 1171 "features": [ |
| 1164 "gpu_rasterization" | 1172 "gpu_rasterization" |
| 1165 ] | 1173 ] |
| 1166 } | 1174 } |
| 1167 ] | 1175 ] |
| 1168 } | 1176 } |
| 1169 | 1177 |
| 1170 ); // LONG_STRING_CONST macro | 1178 ); // LONG_STRING_CONST macro |
| 1171 | 1179 |
| 1172 } // namespace gpu | 1180 } // namespace gpu |
| OLD | NEW |