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.9", | 22 "version": "7.11", |
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 }, | 168 }, |
169 "vendor_id": "0x8086", | 169 "vendor_id": "0x8086", |
170 "features": [ | 170 "features": [ |
171 "reverse_point_sprite_coord_origin" | 171 "reverse_point_sprite_coord_origin" |
172 ] | 172 ] |
173 }, | 173 }, |
174 { | 174 { |
175 "id": 11, | 175 "id": 11, |
176 "description": "Limit max texure size to 4096 on Macs with Intel GPUs", | 176 "description": "Limit max texure size to 4096 on Macs with Intel GPUs", |
177 "os": { | 177 "os": { |
178 "type": "macosx" | 178 "type": "macosx", |
| 179 "version": { |
| 180 "op": "<", |
| 181 "value": "10.9" |
| 182 } |
179 }, | 183 }, |
180 "vendor_id": "0x8086", | 184 "vendor_id": "0x8086", |
181 "features": [ | 185 "features": [ |
182 "max_texture_size_limit_4096" | 186 "max_texture_size_limit_4096" |
183 ] | 187 ] |
184 }, | 188 }, |
185 { | 189 { |
186 "id": 12, | 190 "id": 12, |
187 "description": "Limit max cube map texure size to 1024 on Macs with Intel
GPUs", | 191 "description": "Limit max cube map texure size to 1024 on Macs with Intel
GPUs", |
188 "os": { | 192 "os": { |
(...skipping 16 matching lines...) Expand all Loading... |
205 }, | 209 }, |
206 "vendor_id": "0x8086", | 210 "vendor_id": "0x8086", |
207 "features": [ | 211 "features": [ |
208 "max_cube_map_texture_size_limit_512" | 212 "max_cube_map_texture_size_limit_512" |
209 ] | 213 ] |
210 }, | 214 }, |
211 { | 215 { |
212 "id": 14, | 216 "id": 14, |
213 "description": "Limit max texure size and cube map texture size to 4096 on
Macs with AMD GPUs", | 217 "description": "Limit max texure size and cube map texture size to 4096 on
Macs with AMD GPUs", |
214 "os": { | 218 "os": { |
215 "type": "macosx" | 219 "type": "macosx", |
| 220 "version": { |
| 221 "op": "<", |
| 222 "value": "10.9" |
| 223 } |
216 }, | 224 }, |
217 "vendor_id": "0x1002", | 225 "vendor_id": "0x1002", |
218 "features": [ | 226 "features": [ |
219 "max_texture_size_limit_4096", | 227 "max_texture_size_limit_4096", |
220 "max_cube_map_texture_size_limit_4096" | 228 "max_cube_map_texture_size_limit_4096" |
221 ] | 229 ] |
222 }, | 230 }, |
223 { | 231 { |
224 "id": 16, | 232 "id": 16, |
225 "description": "EXT_occlusion_query appears to be buggy with Intel GPUs on
Linux", | 233 "description": "EXT_occlusion_query appears to be buggy with Intel GPUs on
Linux", |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1037 ] | 1045 ] |
1038 }, | 1046 }, |
1039 { | 1047 { |
1040 "id": 94, | 1048 "id": 94, |
1041 "description": "Disable EGL_KHR_wait_sync on NVIDIA with GLES 3.1", | 1049 "description": "Disable EGL_KHR_wait_sync on NVIDIA with GLES 3.1", |
1042 "cr_bugs": [433057], | 1050 "cr_bugs": [433057], |
1043 "os": { | 1051 "os": { |
1044 "type": "android", | 1052 "type": "android", |
1045 "version": { | 1053 "version": { |
1046 "op": "<=", | 1054 "op": "<=", |
1047 "value": "5.0.0" | 1055 "value": "5.0.1" |
1048 } | 1056 } |
1049 }, | 1057 }, |
1050 "gl_vendor": "NVIDIA.*", | 1058 "gl_vendor": "NVIDIA.*", |
1051 "gl_type": "gles", | 1059 "gl_type": "gles", |
1052 "gl_version": { | 1060 "gl_version": { |
1053 "op": "=", | 1061 "op": "=", |
1054 "value": "3.1" | 1062 "value": "3.1" |
1055 }, | 1063 }, |
1056 "features": [ | 1064 "features": [ |
1057 "disable_egl_khr_wait_sync" | 1065 "disable_egl_khr_wait_sync" |
(...skipping 15 matching lines...) Expand all Loading... |
1073 "features": [ | 1081 "features": [ |
1074 "gl_clear_broken" | 1082 "gl_clear_broken" |
1075 ] | 1083 ] |
1076 } | 1084 } |
1077 ] | 1085 ] |
1078 } | 1086 } |
1079 | 1087 |
1080 ); // LONG_STRING_CONST macro | 1088 ); // LONG_STRING_CONST macro |
1081 | 1089 |
1082 } // namespace gpu | 1090 } // namespace gpu |
OLD | NEW |