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.97", | 22 "version": "8.98", |
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 { |
47 "id": 6, | 67 "id": 6, |
48 "description": "Restore scissor on FBO change with Qualcomm GPUs on older
versions of Android", | 68 "description": "Restore scissor on FBO change with Qualcomm GPUs on older
versions of Android", |
49 "cr_bugs": [165493, 222018], | 69 "cr_bugs": [165493, 222018], |
50 "os": { | 70 "os": { |
51 "type": "android", | 71 "type": "android", |
52 "version": { | 72 "version": { |
53 "op": "<", | 73 "op": "<", |
54 "value": "4.3" | 74 "value": "4.3" |
55 } | 75 } |
56 }, | 76 }, |
(...skipping 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1978 ] | 1998 ] |
1979 } | 1999 } |
1980 ] | 2000 ] |
1981 // Please update the version number at beginning of this file whenever you | 2001 // Please update the version number at beginning of this file whenever you |
1982 // change this file. | 2002 // change this file. |
1983 } | 2003 } |
1984 | 2004 |
1985 ); // LONG_STRING_CONST macro | 2005 ); // LONG_STRING_CONST macro |
1986 | 2006 |
1987 } // namespace gpu | 2007 } // namespace gpu |
OLD | NEW |