Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: gpu/config/gpu_driver_bug_list_json.cc

Issue 2369313002: Work around CopyTexImage2D issue on Intel Mac OSX 10.12 (Closed)
Patch Set: rebase only Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.04", 22 "version": "9.05",
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 1965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1998 "op": "<=", 1998 "op": "<=",
1999 "value": "10.10" 1999 "value": "10.10"
2000 } 2000 }
2001 }, 2001 },
2002 "features": [ 2002 "features": [
2003 "disable_av_sample_buffer_display_layer" 2003 "disable_av_sample_buffer_display_layer"
2004 ] 2004 ]
2005 }, 2005 },
2006 { 2006 {
2007 "id": 189, 2007 "id": 189,
2008 "description": "Do TexImage2D first before CopyTexImage2D for cube map tex ture on Intel Mac", 2008 "description": "Do TexImage2D first before CopyTexImage2D for cube map tex ture on Intel Mac 10.11",
2009 "cr_bugs": [648197], 2009 "cr_bugs": [648197],
2010 "os": { 2010 "os": {
2011 "type": "macosx" 2011 "type": "macosx",
2012 "version": {
2013 "op": "<=",
2014 "value": "10.11"
2015 }
2012 }, 2016 },
2013 "vendor_id": "0x8086", 2017 "vendor_id": "0x8086",
2014 "features": [ 2018 "features": [
2015 "do_teximage_before_copyteximage_to_cube_map" 2019 "init_one_cube_map_level_before_copyteximage"
2016 ] 2020 ]
2017 }, 2021 },
2018 { 2022 {
2019 "id": 190, 2023 "id": 190,
2020 "description": "Disable partial swaps on Mesa drivers (detected with GL_VE RSION)", 2024 "description": "Disable partial swaps on Mesa drivers (detected with GL_VE RSION)",
2021 "cr_bugs": [339493], 2025 "cr_bugs": [339493],
2022 "os": { 2026 "os": {
2023 "type": "linux" 2027 "type": "linux"
2024 }, 2028 },
2025 "gl_type": "gl", 2029 "gl_type": "gl",
2026 "gl_version_string": ".*Mesa.*", 2030 "gl_version_string": ".*Mesa.*",
2027 "features": [ 2031 "features": [
2028 "disable_post_sub_buffers_for_onscreen_surfaces" 2032 "disable_post_sub_buffers_for_onscreen_surfaces"
2029 ] 2033 ]
2034 },
2035 {
2036 "id": 191,
2037 "description": "Init first two levels before CopyTexImage2D for cube map t exture on Intel Mac 10.12",
2038 "cr_bugs": [648197],
2039 "os": {
2040 "type": "macosx",
2041 "version": {
2042 "op": ">=",
2043 "value": "10.12"
2044 }
2045 },
2046 "vendor_id": "0x8086",
2047 "features": [
2048 "init_two_cube_map_levels_before_copyteximage"
2049 ]
2030 } 2050 }
2031 ] 2051 ]
2032 // Please update the version number at beginning of this file whenever you 2052 // Please update the version number at beginning of this file whenever you
2033 // change this file. 2053 // change this file.
2034 } 2054 }
2035 2055
2036 ); // LONG_STRING_CONST macro 2056 ); // LONG_STRING_CONST macro
2037 2057
2038 } // namespace gpu 2058 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698