| 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": "8.98", | 22 "version": "8.97", |
| 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" |
| 33 ] | 33 ] |
| 34 }, | 34 }, |
| 35 { | 35 { |
| 36 "id": 2, | 36 "id": 2, |
| 37 "description": "ARM driver doesn't like uploading lots of buffer data cons
tantly", | 37 "description": "ARM driver doesn't like uploading lots of buffer data cons
tantly", |
| 38 "os": { | 38 "os": { |
| 39 "type": "android" | 39 "type": "android" |
| 40 }, | 40 }, |
| 41 "gl_vendor": "ARM.*", | 41 "gl_vendor": "ARM.*", |
| 42 "features": [ | 42 "features": [ |
| 43 "use_client_side_arrays_for_stream_buffers" | 43 "use_client_side_arrays_for_stream_buffers" |
| 44 ] | 44 ] |
| 45 }, | 45 }, |
| 46 { | 46 { |
| 47 "id": 5, | |
| 48 "description": "Always call glUseProgram after a successful link to avoid
a driver bug", | |
| 49 "cr_bugs": [349137], | |
| 50 "vendor_id": "0x10de", | |
| 51 "exceptions": [ | |
| 52 { | |
| 53 "os": { | |
| 54 "type": "macosx", | |
| 55 "version": { | |
| 56 "op": ">=", | |
| 57 "value": "10.9" | |
| 58 } | |
| 59 } | |
| 60 } | |
| 61 ], | |
| 62 "features": [ | |
| 63 "use_current_program_after_successful_link" | |
| 64 ] | |
| 65 }, | |
| 66 { | |
| 67 "id": 6, | 47 "id": 6, |
| 68 "description": "Restore scissor on FBO change with Qualcomm GPUs on older
versions of Android", | 48 "description": "Restore scissor on FBO change with Qualcomm GPUs on older
versions of Android", |
| 69 "cr_bugs": [165493, 222018], | 49 "cr_bugs": [165493, 222018], |
| 70 "os": { | 50 "os": { |
| 71 "type": "android", | 51 "type": "android", |
| 72 "version": { | 52 "version": { |
| 73 "op": "<", | 53 "op": "<", |
| 74 "value": "4.3" | 54 "value": "4.3" |
| 75 } | 55 } |
| 76 }, | 56 }, |
| (...skipping 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1998 ] | 1978 ] |
| 1999 } | 1979 } |
| 2000 ] | 1980 ] |
| 2001 // Please update the version number at beginning of this file whenever you | 1981 // Please update the version number at beginning of this file whenever you |
| 2002 // change this file. | 1982 // change this file. |
| 2003 } | 1983 } |
| 2004 | 1984 |
| 2005 ); // LONG_STRING_CONST macro | 1985 ); // LONG_STRING_CONST macro |
| 2006 | 1986 |
| 2007 } // namespace gpu | 1987 } // namespace gpu |
| OLD | NEW |