| 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": "9.37", | 22 "version": "9.38", |
| 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 2272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2305 "gl_vendor": "ARM.*", | 2305 "gl_vendor": "ARM.*", |
| 2306 "gl_renderer": "Mali-G.*", | 2306 "gl_renderer": "Mali-G.*", |
| 2307 "features": [ | 2307 "features": [ |
| 2308 "use_virtualized_gl_contexts" | 2308 "use_virtualized_gl_contexts" |
| 2309 ] | 2309 ] |
| 2310 }, | 2310 }, |
| 2311 ) // LONG_STRING_CONST macro | 2311 ) // LONG_STRING_CONST macro |
| 2312 // Avoid C2026 (string too big) error on VisualStudio. | 2312 // Avoid C2026 (string too big) error on VisualStudio. |
| 2313 LONG_STRING_CONST( | 2313 LONG_STRING_CONST( |
| 2314 { | 2314 { |
| 2315 // Corresponds to software rendering list #140. |
| 2315 "id": 214, | 2316 "id": 214, |
| 2316 "description": "Certain versions of Qualcomm driver don't setup scissor st
ate correctly when FBO0 is bound.", | 2317 "description": "Certain versions of Qualcomm driver don't setup scissor st
ate correctly when FBO0 is bound.", |
| 2317 "cr_bugs": [670607, 696627], | 2318 "cr_bugs": [670607, 696627, 698197], |
| 2318 "gl_vendor": "Qualcomm.*", | 2319 "gl_vendor": "Qualcomm.*", |
| 2319 "machine_model_name": ["Nexus 7", "KFTHWI", "KFSAWI", "KFAPWI", "KFTHWA",
"KFSAWA", "KFAPWA"], | 2320 "machine_model_name": ["Nexus 7", "KFTHWI", "KFSAWI", "KFAPWI", "KFTHWA",
"KFSAWA", "KFAPWA"], |
| 2320 "features": [ | 2321 "features": [ |
| 2321 "force_update_scissor_state_when_binding_fbo0" | 2322 "force_update_scissor_state_when_binding_fbo0", |
| 2323 // Somehow the main workaround above won't work without the one below. |
| 2324 // See https://crbug.com/698197 for details. |
| 2325 "disable_chromium_framebuffer_multisample" |
| 2322 ] | 2326 ] |
| 2323 }, | 2327 }, |
| 2324 { | 2328 { |
| 2325 "id": 215, | 2329 "id": 215, |
| 2326 "description": "Fake no-op GPU driver bug workaround for testing", | 2330 "description": "Fake no-op GPU driver bug workaround for testing", |
| 2327 "cr_bugs": [682912], | 2331 "cr_bugs": [682912], |
| 2328 "vendor_id": "0xbad9", | 2332 "vendor_id": "0xbad9", |
| 2329 "device_id": ["0xbad9"], | 2333 "device_id": ["0xbad9"], |
| 2330 "features": [ | 2334 "features": [ |
| 2331 "use_gpu_driver_workaround_for_testing" | 2335 "use_gpu_driver_workaround_for_testing" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2412 ] | 2416 ] |
| 2413 } | 2417 } |
| 2414 ] | 2418 ] |
| 2415 // Please update the version number at beginning of this file whenever you | 2419 // Please update the version number at beginning of this file whenever you |
| 2416 // change this file. | 2420 // change this file. |
| 2417 } | 2421 } |
| 2418 | 2422 |
| 2419 ); // LONG_STRING_CONST macro | 2423 ); // LONG_STRING_CONST macro |
| 2420 | 2424 |
| 2421 } // namespace gpu | 2425 } // namespace gpu |
| OLD | NEW |