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 a certain driver bug exists in the current system. | 5 // Determines whether a certain driver bug exists in the current system. |
6 // The format of a valid gpu_driver_bug_list.json file is defined in | 6 // The format of a valid gpu_driver_bug_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 | 8 // The supported "features" can be found in |
9 // <gpu/config/gpu_driver_bug_workaround_type.h>. | 9 // <gpu/config/gpu_driver_bug_workaround_type.h>. |
10 | 10 |
11 #include "gpu/config/gpu_control_list_jsons.h" | 11 #include "gpu/config/gpu_control_list_jsons.h" |
12 | 12 |
13 #define LONG_STRING_CONST(...) #__VA_ARGS__ | 13 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
14 | 14 |
15 namespace gpu { | 15 namespace gpu { |
16 | 16 |
17 const char kGpuDriverBugListJson[] = LONG_STRING_CONST( | 17 const char kGpuDriverBugListJson[] = LONG_STRING_CONST( |
18 | 18 |
19 { | 19 { |
20 "name": "gpu driver bug list", | 20 "name": "gpu driver bug list", |
21 // Please update the version number whenever you change this file. | 21 // Please update the version number whenever you change this file. |
22 "version": "8.01", | 22 "version": "8.02", |
23 "entries": [ | 23 "entries": [ |
24 { | 24 { |
25 "id": 1, | 25 "id": 1, |
26 "description": "Imagination driver doesn't like uploading lots of buffer d
ata constantly", | 26 "description": "Imagination driver doesn't like uploading lots of buffer d
ata constantly", |
27 "os": { | 27 "os": { |
28 "type": "android" | 28 "type": "android" |
29 }, | 29 }, |
30 "gl_vendor": "Imagination.*", | 30 "gl_vendor": "Imagination.*", |
31 "features": [ | 31 "features": [ |
32 "use_client_side_arrays_for_stream_buffers" | 32 "use_client_side_arrays_for_stream_buffers" |
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 "description": "Discard Framebuffer breaks WebGL on Mali-400 Linux", | 1302 "description": "Discard Framebuffer breaks WebGL on Mali-400 Linux", |
1303 "cr_bugs": [485814], | 1303 "cr_bugs": [485814], |
1304 "os": { | 1304 "os": { |
1305 "type": "linux" | 1305 "type": "linux" |
1306 }, | 1306 }, |
1307 "gl_vendor": "ARM.*", | 1307 "gl_vendor": "ARM.*", |
1308 "gl_renderer": ".*Mali-400.*", | 1308 "gl_renderer": ".*Mali-400.*", |
1309 "features": [ | 1309 "features": [ |
1310 "disable_discard_framebuffer" | 1310 "disable_discard_framebuffer" |
1311 ] | 1311 ] |
| 1312 }, |
| 1313 { |
| 1314 "id": 112, |
| 1315 "description": "Force discrete graphics mode on Mac when there are multipl
e AMD GPUs (i.e. none are integrated)", |
| 1316 "cr_bugs": [380026], |
| 1317 "os": { |
| 1318 "type": "macosx", |
| 1319 "version": { |
| 1320 "op": ">=", |
| 1321 "value": "10.9" |
| 1322 } |
| 1323 }, |
| 1324 "gpu_count": { |
| 1325 "op": "=", |
| 1326 "value": "2" |
| 1327 }, |
| 1328 // Integrated GPUs are never primary for blacklisting, so if any secondary |
| 1329 // GPU is AMD instead of intel, don't allow it to be treated as an offline |
| 1330 // renderer. |
| 1331 "multi_gpu_category": "secondary", |
| 1332 "vendor_id": "0x1002", |
| 1333 "features": [ |
| 1334 "force_discrete_gpu" |
| 1335 ] |
1312 } | 1336 } |
1313 ] | 1337 ] |
1314 } | 1338 } |
1315 | 1339 |
1316 ); // LONG_STRING_CONST macro | 1340 ); // LONG_STRING_CONST macro |
1317 | 1341 |
1318 } // namespace gpu | 1342 } // namespace gpu |
OLD | NEW |