| 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.01", | 22 "version": "9.02", |
| 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 1957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1990 "description": "Disable partial swaps on Mesa drivers (detected with GL_VE
RSION)", | 1990 "description": "Disable partial swaps on Mesa drivers (detected with GL_VE
RSION)", |
| 1991 "cr_bugs": [339493], | 1991 "cr_bugs": [339493], |
| 1992 "os": { | 1992 "os": { |
| 1993 "type": "linux" | 1993 "type": "linux" |
| 1994 }, | 1994 }, |
| 1995 "gl_type": "gl", | 1995 "gl_type": "gl", |
| 1996 "gl_version_string": ".*Mesa.*", | 1996 "gl_version_string": ".*Mesa.*", |
| 1997 "features": [ | 1997 "features": [ |
| 1998 "disable_post_sub_buffers_for_onscreen_surfaces" | 1998 "disable_post_sub_buffers_for_onscreen_surfaces" |
| 1999 ] | 1999 ] |
| 2000 }, | |
| 2001 { | |
| 2002 "id": 191, | |
| 2003 "cr_bugs": [659030], | |
| 2004 "description": "Don't create highest GL context possible on old Mesa / HW
combos (intel part)", | |
| 2005 "os": { | |
| 2006 "type": "linux" | |
| 2007 }, | |
| 2008 "driver_vendor": "Mesa", | |
| 2009 "driver_version": { | |
| 2010 "op": "<", | |
| 2011 "value": "11" | |
| 2012 }, | |
| 2013 "vendor_id": "0x8086", | |
| 2014 "device_id": ["0x0102", "0x0116", "0x0126", "0x0166"], | |
| 2015 "features": [ | |
| 2016 "create_default_gl_context" | |
| 2017 ] | |
| 2018 }, | |
| 2019 { | |
| 2020 "id": 192, | |
| 2021 "cr_bugs": [659030], | |
| 2022 "description": "Don't create highest GL context possible on old Mesa / HW
combos (AMD part)", | |
| 2023 "os": { | |
| 2024 "type": "linux" | |
| 2025 }, | |
| 2026 "driver_vendor": "Mesa", | |
| 2027 "driver_version": { | |
| 2028 "op": "<", | |
| 2029 "value": "11" | |
| 2030 }, | |
| 2031 "vendor_id": "0x1002", | |
| 2032 "device_id": ["0x9832"], | |
| 2033 "features": [ | |
| 2034 "create_default_gl_context" | |
| 2035 ] | |
| 2036 } | 2000 } |
| 2037 ] | 2001 ] |
| 2038 } | 2002 } |
| 2039 | 2003 |
| 2040 ); // LONG_STRING_CONST macro | 2004 ); // LONG_STRING_CONST macro |
| 2041 | 2005 |
| 2042 } // namespace gpu | 2006 } // namespace gpu |
| OLD | NEW |