| 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.35", | 22 "version": "9.36", |
| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 "type": "win" | 78 "type": "win" |
| 79 }, | 79 }, |
| 80 "features": [ | 80 "features": [ |
| 81 "exit_on_context_lost" | 81 "exit_on_context_lost" |
| 82 ] | 82 ] |
| 83 }, | 83 }, |
| 84 { | 84 { |
| 85 "id": 19, | 85 "id": 19, |
| 86 "description": "Disable depth textures on Android with Qualcomm GPUs", | 86 "description": "Disable depth textures on Android with Qualcomm GPUs", |
| 87 "cr_bugs": [682075], | 87 "cr_bugs": [682075], |
| 88 "os": { | 88 "gl_renderer": "Adreno \\(TM\\) [23].*", |
| 89 "type": "android", | |
| 90 "version": { | |
| 91 "op": "<", | |
| 92 "value": "6.0" | |
| 93 } | |
| 94 }, | |
| 95 "gl_vendor": "Qualcomm.*", | |
| 96 "features": [ | 89 "features": [ |
| 97 "disable_depth_texture" | 90 "disable_depth_texture" |
| 98 ], | 91 ], |
| 99 "disabled_extensions": [ | 92 "disabled_extensions": [ |
| 100 "GL_OES_depth_texture" | 93 "GL_OES_depth_texture" |
| 101 ] | 94 ] |
| 102 }, | 95 }, |
| 103 { | 96 { |
| 104 "id": 20, | 97 "id": 20, |
| 105 "description": "Disable EXT_draw_buffers on GeForce GT 650M on Mac OS X du
e to driver bugs", | 98 "description": "Disable EXT_draw_buffers on GeForce GT 650M on Mac OS X du
e to driver bugs", |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 "id": 52, | 419 "id": 52, |
| 427 "cr_bugs": [449116, 471200, 612474, 682075], | 420 "cr_bugs": [449116, 471200, 612474, 682075], |
| 428 "description": "ES3 MSAA is broken on Qualcomm", | 421 "description": "ES3 MSAA is broken on Qualcomm", |
| 429 "os": { | 422 "os": { |
| 430 "type": "android", | 423 "type": "android", |
| 431 "version": { | 424 "version": { |
| 432 "op": "<", | 425 "op": "<", |
| 433 "value": "6.0" | 426 "value": "6.0" |
| 434 } | 427 } |
| 435 }, | 428 }, |
| 436 "gl_vendor": "Qualcomm.*", | 429 "gl_renderer": "Adreno \\(TM\\) 4.*", |
| 437 "features": [ | 430 "features": [ |
| 438 "disable_chromium_framebuffer_multisample" | 431 "disable_chromium_framebuffer_multisample" |
| 439 ] | 432 ] |
| 440 }, | 433 }, |
| 441 { | 434 { |
| 442 "id": 54, | 435 "id": 54, |
| 443 "cr_bugs": [124764, 349137], | 436 "cr_bugs": [124764, 349137], |
| 444 "description": "Clear uniforms before first program use on all platforms", | 437 "description": "Clear uniforms before first program use on all platforms", |
| 445 "exceptions": [ | 438 "exceptions": [ |
| 446 { | 439 { |
| (...skipping 1871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2318 ] | 2311 ] |
| 2319 }, | 2312 }, |
| 2320 ) // LONG_STRING_CONST macro | 2313 ) // LONG_STRING_CONST macro |
| 2321 // Avoid C2026 (string too big) error on VisualStudio. | 2314 // Avoid C2026 (string too big) error on VisualStudio. |
| 2322 LONG_STRING_CONST( | 2315 LONG_STRING_CONST( |
| 2323 { | 2316 { |
| 2324 // Corresponds to software rendering list #140. | 2317 // Corresponds to software rendering list #140. |
| 2325 "id": 214, | 2318 "id": 214, |
| 2326 "description": "Certain versions of Qualcomm driver don't setup scissor st
ate correctly when FBO0 is bound.", | 2319 "description": "Certain versions of Qualcomm driver don't setup scissor st
ate correctly when FBO0 is bound.", |
| 2327 "cr_bugs": [670607, 696627, 698197], | 2320 "cr_bugs": [670607, 696627, 698197], |
| 2328 "gl_vendor": "Qualcomm.*", | 2321 "gl_renderer": "Adreno \\(TM\\) 3.*", |
| 2329 "machine_model_name": ["Nexus 7", "KFTHWI", "KFSAWI", "KFAPWI", "KFTHWA",
"KFSAWA", "KFAPWA"], | |
| 2330 "features": [ | 2322 "features": [ |
| 2331 "force_update_scissor_state_when_binding_fbo0", | 2323 "force_update_scissor_state_when_binding_fbo0", |
| 2332 // Somehow the main workaround above won't work without the one below. | 2324 // Somehow the main workaround above won't work without the one below. |
| 2333 // See https://crbug.com/698197 for details. | 2325 // See https://crbug.com/698197 for details. |
| 2334 "disable_chromium_framebuffer_multisample" | 2326 "disable_chromium_framebuffer_multisample" |
| 2335 ] | 2327 ] |
| 2336 }, | 2328 }, |
| 2337 { | 2329 { |
| 2338 "id": 215, | 2330 "id": 215, |
| 2339 "description": "Fake no-op GPU driver bug workaround for testing", | 2331 "description": "Fake no-op GPU driver bug workaround for testing", |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2385 ] | 2377 ] |
| 2386 } | 2378 } |
| 2387 ] | 2379 ] |
| 2388 // Please update the version number at beginning of this file whenever you | 2380 // Please update the version number at beginning of this file whenever you |
| 2389 // change this file. | 2381 // change this file. |
| 2390 } | 2382 } |
| 2391 | 2383 |
| 2392 ); // LONG_STRING_CONST macro | 2384 ); // LONG_STRING_CONST macro |
| 2393 | 2385 |
| 2394 } // namespace gpu | 2386 } // namespace gpu |
| OLD | NEW |