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.5", | 22 "version": "7.6", |
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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 "gl_type": "gles", | 817 "gl_type": "gles", |
818 "gl_version": { | 818 "gl_version": { |
819 "op": "=", | 819 "op": "=", |
820 "value": "3.1" | 820 "value": "3.1" |
821 }, | 821 }, |
822 "gl_vendor": "NVIDIA.*", | 822 "gl_vendor": "NVIDIA.*", |
823 "features": [ | 823 "features": [ |
824 "use_virtualized_gl_contexts" | 824 "use_virtualized_gl_contexts" |
825 ] | 825 ] |
826 }, | 826 }, |
827 { | |
828 "id": 73, | |
829 "description": "Using D3D11 causes browser crashes on certain Intel GPUs", | |
830 "cr_bugs": [310808], | |
831 "os": { | |
832 "type": "win" | |
833 }, | |
834 "vendor_id": "0x8086", | |
835 "features": [ | |
836 "disable_d3d11" | |
837 ] | |
838 }, | |
839 ) // LONG_STRING_CONST macro | 827 ) // LONG_STRING_CONST macro |
840 // Avoid C2026 (string too big) error on VisualStudio. | 828 // Avoid C2026 (string too big) error on VisualStudio. |
841 LONG_STRING_CONST( | 829 LONG_STRING_CONST( |
842 { | 830 { |
843 "id": 74, | 831 "id": 74, |
844 "cr_bugs": [278606, 382686], | 832 "cr_bugs": [278606, 382686], |
845 "description": "Testing EGL sync fences was broken on most Qualcomm driver
s", | 833 "description": "Testing EGL sync fences was broken on most Qualcomm driver
s", |
846 "os": { | 834 "os": { |
847 "type": "android", | 835 "type": "android", |
848 "version": { | 836 "version": { |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 "cr_bugs": [150500, 414816], | 1005 "cr_bugs": [150500, 414816], |
1018 "description": "ETC1 non-power-of-two sized textures crash older IMG drive
rs", | 1006 "description": "ETC1 non-power-of-two sized textures crash older IMG drive
rs", |
1019 "os": { | 1007 "os": { |
1020 "type": "android" | 1008 "type": "android" |
1021 }, | 1009 }, |
1022 "gl_vendor": "Imagination.*", | 1010 "gl_vendor": "Imagination.*", |
1023 "gl_renderer": "PowerVR SGX 5.*", | 1011 "gl_renderer": "PowerVR SGX 5.*", |
1024 "features": [ | 1012 "features": [ |
1025 "etc1_power_of_two_only" | 1013 "etc1_power_of_two_only" |
1026 ] | 1014 ] |
| 1015 }, |
| 1016 { |
| 1017 "id": 92, |
| 1018 "description": "Old Intel drivers cannot reliably support D3D11", |
| 1019 "cr_bugs": [363721], |
| 1020 "os": { |
| 1021 "type": "win" |
| 1022 }, |
| 1023 "vendor_id": "0x8086", |
| 1024 "driver_version": { |
| 1025 "op": "<", |
| 1026 "value": "8.16" |
| 1027 }, |
| 1028 "features": [ |
| 1029 "disable_d3d11" |
| 1030 ] |
1027 } | 1031 } |
1028 ] | 1032 ] |
1029 } | 1033 } |
1030 | 1034 |
1031 ); // LONG_STRING_CONST macro | 1035 ); // LONG_STRING_CONST macro |
1032 | 1036 |
1033 } // namespace gpu | 1037 } // namespace gpu |
OLD | NEW |