| 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.06", | 22 "version": "9.07", |
| 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 1968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2001 "op": "<=", | 2001 "op": "<=", |
| 2002 "value": "10.10" | 2002 "value": "10.10" |
| 2003 } | 2003 } |
| 2004 }, | 2004 }, |
| 2005 "features": [ | 2005 "features": [ |
| 2006 "disable_av_sample_buffer_display_layer" | 2006 "disable_av_sample_buffer_display_layer" |
| 2007 ] | 2007 ] |
| 2008 }, | 2008 }, |
| 2009 { | 2009 { |
| 2010 "id": 189, | 2010 "id": 189, |
| 2011 "description": "Do TexImage2D first before CopyTexImage2D for cube map tex
ture on Intel Mac", | 2011 "description": "Do TexImage2D first before CopyTexImage2D for cube map tex
ture on Intel Mac 10.11", |
| 2012 "cr_bugs": [648197], | 2012 "cr_bugs": [648197], |
| 2013 "os": { | 2013 "os": { |
| 2014 "type": "macosx" | 2014 "type": "macosx", |
| 2015 "version": { |
| 2016 "op": "<=", |
| 2017 "value": "10.11" |
| 2018 } |
| 2015 }, | 2019 }, |
| 2016 "vendor_id": "0x8086", | 2020 "vendor_id": "0x8086", |
| 2017 "features": [ | 2021 "features": [ |
| 2018 "do_teximage_before_copyteximage_to_cube_map" | 2022 "init_one_cube_map_level_before_copyteximage" |
| 2019 ] | 2023 ] |
| 2020 }, | 2024 }, |
| 2021 { | 2025 { |
| 2022 "id": 190, | 2026 "id": 190, |
| 2023 "description": "Disable partial swaps on Mesa drivers (detected with GL_VE
RSION)", | 2027 "description": "Disable partial swaps on Mesa drivers (detected with GL_VE
RSION)", |
| 2024 "cr_bugs": [339493], | 2028 "cr_bugs": [339493], |
| 2025 "os": { | 2029 "os": { |
| 2026 "type": "linux" | 2030 "type": "linux" |
| 2027 }, | 2031 }, |
| 2028 "gl_type": "gl", | 2032 "gl_type": "gl", |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2072 { | 2076 { |
| 2073 "id": 192, | 2077 "id": 192, |
| 2074 "description": "Decode and encode before generateMipmap for srgb format te
xtures on macosx", | 2078 "description": "Decode and encode before generateMipmap for srgb format te
xtures on macosx", |
| 2075 "cr_bugs": [634519], | 2079 "cr_bugs": [634519], |
| 2076 "os": { | 2080 "os": { |
| 2077 "type": "macosx" | 2081 "type": "macosx" |
| 2078 }, | 2082 }, |
| 2079 "features": [ | 2083 "features": [ |
| 2080 "decode_encode_srgb_for_generatemipmap" | 2084 "decode_encode_srgb_for_generatemipmap" |
| 2081 ] | 2085 ] |
| 2086 }, |
| 2087 { |
| 2088 "id": 193, |
| 2089 "description": "Init first two levels before CopyTexImage2D for cube map t
exture on Intel Mac 10.12", |
| 2090 "cr_bugs": [648197], |
| 2091 "os": { |
| 2092 "type": "macosx", |
| 2093 "version": { |
| 2094 "op": ">=", |
| 2095 "value": "10.12" |
| 2096 } |
| 2097 }, |
| 2098 "vendor_id": "0x8086", |
| 2099 "features": [ |
| 2100 "init_two_cube_map_levels_before_copyteximage" |
| 2101 ] |
| 2082 } | 2102 } |
| 2083 ] | 2103 ] |
| 2084 // Please update the version number at beginning of this file whenever you | 2104 // Please update the version number at beginning of this file whenever you |
| 2085 // change this file. | 2105 // change this file. |
| 2086 } | 2106 } |
| 2087 | 2107 |
| 2088 ); // LONG_STRING_CONST macro | 2108 ); // LONG_STRING_CONST macro |
| 2089 | 2109 |
| 2090 } // namespace gpu | 2110 } // namespace gpu |
| OLD | NEW |