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.94", | 22 "version": "8.94", |
Zhenyao Mo
2016/09/08 19:51:08
Please update the version though.
| |
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
85 "description": "Work around a bug in offscreen buffers on NVIDIA GPUs on M acs", | 85 "description": "Work around a bug in offscreen buffers on NVIDIA GPUs on M acs", |
86 "os": { | 86 "os": { |
87 "type": "macosx" | 87 "type": "macosx" |
88 }, | 88 }, |
89 "vendor_id": "0x10de", | 89 "vendor_id": "0x10de", |
90 "features": [ | 90 "features": [ |
91 "needs_offscreen_buffer_workaround" | 91 "needs_offscreen_buffer_workaround" |
92 ] | 92 ] |
93 }, | 93 }, |
94 { | 94 { |
95 "id": 16, | |
96 "description": "EXT_occlusion_query appears to be buggy with Intel GPUs on Linux", | |
97 "os": { | |
98 "type": "linux" | |
99 }, | |
100 "vendor_id": "0x8086", | |
101 "disabled_extensions": [ | |
102 "GL_ARB_occlusion_query2", | |
103 "GL_ARB_occlusion_query" | |
104 ] | |
105 }, | |
106 { | |
107 "id": 17, | 95 "id": 17, |
108 "description": "Some drivers are unable to reset the D3D device in the GPU process sandbox", | 96 "description": "Some drivers are unable to reset the D3D device in the GPU process sandbox", |
109 "os": { | 97 "os": { |
110 "type": "win" | 98 "type": "win" |
111 }, | 99 }, |
112 "features": [ | 100 "features": [ |
113 "exit_on_context_lost" | 101 "exit_on_context_lost" |
114 ] | 102 ] |
115 }, | 103 }, |
116 { | 104 { |
(...skipping 1889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2006 ] | 1994 ] |
2007 } | 1995 } |
2008 ] | 1996 ] |
2009 // Please update the version number at beginning of this file whenever you | 1997 // Please update the version number at beginning of this file whenever you |
2010 // change this file. | 1998 // change this file. |
2011 } | 1999 } |
2012 | 2000 |
2013 ); // LONG_STRING_CONST macro | 2001 ); // LONG_STRING_CONST macro |
2014 | 2002 |
2015 } // namespace gpu | 2003 } // namespace gpu |
OLD | NEW |