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": "7.20", | 22 "version": "7.21", |
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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 "description": "Framebuffer discarding causes flickering on old ARM driver
s", | 495 "description": "Framebuffer discarding causes flickering on old ARM driver
s", |
496 "os": { | 496 "os": { |
497 "type": "android", | 497 "type": "android", |
498 "version": { | 498 "version": { |
499 "op": "<", | 499 "op": "<", |
500 "value": "4.4" | 500 "value": "4.4" |
501 } | 501 } |
502 }, | 502 }, |
503 "gl_vendor": "ARM.*", | 503 "gl_vendor": "ARM.*", |
504 "features": [ | 504 "features": [ |
505 "disable_ext_discard_framebuffer" | 505 "disable_discard_framebuffer" |
506 ] | 506 ] |
507 }, | 507 }, |
508 { | 508 { |
509 "id": 42, | 509 "id": 42, |
510 "cr_bugs": [290876], | 510 "cr_bugs": [290876], |
511 "description": "Framebuffer discarding causes flickering on older IMG driv
ers", | 511 "description": "Framebuffer discarding causes flickering on older IMG driv
ers", |
512 "os": { | 512 "os": { |
513 "type": "android" | 513 "type": "android" |
514 }, | 514 }, |
515 "gl_vendor": "Imagination.*", | 515 "gl_vendor": "Imagination.*", |
516 "gl_renderer": "PowerVR SGX 540", | 516 "gl_renderer": "PowerVR SGX 540", |
517 "features": [ | 517 "features": [ |
518 "disable_ext_discard_framebuffer" | 518 "disable_discard_framebuffer" |
519 ] | 519 ] |
520 }, | 520 }, |
521 { | 521 { |
522 "id": 43, | 522 "id": 43, |
523 "cr_bugs": [299494], | 523 "cr_bugs": [299494], |
524 "description": "Framebuffer discarding doesn't accept trivial attachments
on Vivante", | 524 "description": "Framebuffer discarding doesn't accept trivial attachments
on Vivante", |
525 "os": { | 525 "os": { |
526 "type": "android" | 526 "type": "android" |
527 }, | 527 }, |
528 "gl_extensions": ".*GL_VIV_shader_binary.*", | 528 "gl_extensions": ".*GL_VIV_shader_binary.*", |
529 "features": [ | 529 "features": [ |
530 "disable_ext_discard_framebuffer" | 530 "disable_discard_framebuffer" |
531 ] | 531 ] |
532 }, | 532 }, |
533 { | 533 { |
534 "id": 44, | 534 "id": 44, |
535 "cr_bugs": [301988], | 535 "cr_bugs": [301988], |
536 "description": "Framebuffer discarding causes jumpy scrolling on Mali driv
ers", | 536 "description": "Framebuffer discarding causes jumpy scrolling on Mali driv
ers", |
537 "os": { | 537 "os": { |
538 "type": "chromeos" | 538 "type": "chromeos" |
539 }, | 539 }, |
540 "features": [ | 540 "features": [ |
541 "disable_ext_discard_framebuffer" | 541 "disable_discard_framebuffer" |
542 ] | 542 ] |
543 }, | 543 }, |
544 { | 544 { |
545 "id": 45, | 545 "id": 45, |
546 "cr_bugs": [307751], | 546 "cr_bugs": [307751], |
547 "description": "Unfold short circuit on Mac OS X", | 547 "description": "Unfold short circuit on Mac OS X", |
548 "os": { | 548 "os": { |
549 "type": "macosx" | 549 "type": "macosx" |
550 }, | 550 }, |
551 "features": [ | 551 "features": [ |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 { | 1180 { |
1181 "id": 103, | 1181 "id": 103, |
1182 "description": "Adreno 420 driver drops draw calls after FBO invalidation"
, | 1182 "description": "Adreno 420 driver drops draw calls after FBO invalidation"
, |
1183 "cr_bugs": [443060], | 1183 "cr_bugs": [443060], |
1184 "os": { | 1184 "os": { |
1185 "type": "android" | 1185 "type": "android" |
1186 }, | 1186 }, |
1187 "gl_vendor": "Qualcomm.*", | 1187 "gl_vendor": "Qualcomm.*", |
1188 "gl_renderer": ".*420", | 1188 "gl_renderer": ".*420", |
1189 "features": [ | 1189 "features": [ |
1190 "disable_fbo_invalidations" | 1190 "disable_discard_framebuffer" |
1191 ] | 1191 ] |
1192 }, | 1192 }, |
1193 { | 1193 { |
1194 "id": 104, | 1194 "id": 104, |
1195 "description": "EXT_occlusion_query hangs on MediaTek MT8135 pre-Lollipop"
, | 1195 "description": "EXT_occlusion_query hangs on MediaTek MT8135 pre-Lollipop"
, |
1196 "os": { | 1196 "os": { |
1197 "type": "android", | 1197 "type": "android", |
1198 "version": { | 1198 "version": { |
1199 "op": "<", | 1199 "op": "<", |
1200 "value": "5.0.0" | 1200 "value": "5.0.0" |
1201 } | 1201 } |
1202 }, | 1202 }, |
1203 "gl_vendor": "Imagination.*", | 1203 "gl_vendor": "Imagination.*", |
1204 "gl_renderer": "PowerVR Rogue Han", | 1204 "gl_renderer": "PowerVR Rogue Han", |
1205 "features": [ | 1205 "features": [ |
1206 "disable_ext_occlusion_query" | 1206 "disable_ext_occlusion_query" |
1207 ] | 1207 ] |
| 1208 }, |
| 1209 { |
| 1210 "id": 105, |
| 1211 "cr_bugs": [449488,451230], |
| 1212 "description": "Framebuffer discarding causes corruption on Mali-4xx", |
| 1213 "gl_renderer": "Mali-4.*", |
| 1214 "os": { |
| 1215 "type": "android" |
| 1216 }, |
| 1217 "features": [ |
| 1218 "disable_discard_framebuffer" |
| 1219 ] |
1208 } | 1220 } |
1209 ] | 1221 ] |
1210 } | 1222 } |
1211 | 1223 |
1212 ); // LONG_STRING_CONST macro | 1224 ); // LONG_STRING_CONST macro |
1213 | 1225 |
1214 } // namespace gpu | 1226 } // namespace gpu |
OLD | NEW |