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": "6.9", | 22 "version": "7.0", |
Zhenyao Mo
2014/08/12 18:31:03
This should be 6.10. We only update major version
| |
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": { | 30 "gl_vendor": { |
31 "op": "beginwith", | 31 "op": "beginwith", |
32 "value": "Imagination" | 32 "value": "Imagination" |
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1078 "id": 86, | 1078 "id": 86, |
1079 "description": "Disable use of Direct3D 11 on Matrox video cards", | 1079 "description": "Disable use of Direct3D 11 on Matrox video cards", |
1080 "cr_bugs": [395861], | 1080 "cr_bugs": [395861], |
1081 "os": { | 1081 "os": { |
1082 "type": "win" | 1082 "type": "win" |
1083 }, | 1083 }, |
1084 "vendor_id": "0x102b", | 1084 "vendor_id": "0x102b", |
1085 "features": [ | 1085 "features": [ |
1086 "disable_d3d11" | 1086 "disable_d3d11" |
1087 ] | 1087 ] |
1088 } | 1088 } |
Zhenyao Mo
2014/08/12 18:31:03
you need a "," here, otherwise json loader will fa
| |
1089 { | |
1090 "id": 87, | |
1091 "description": "Disable use of Direct3D 11 on older AMD drivers", | |
1092 "cr_bugs": [402134], | |
1093 "os": { | |
1094 "type": "win" | |
1095 }, | |
1096 "vendor_id": "0x1002", | |
1097 "driver_date": { | |
1098 "op": "<", | |
1099 "value": "2011.1" | |
1100 }, | |
1101 "features": [ | |
1102 "disable_d3d11" | |
1103 ] | |
1104 } | |
1089 ] | 1105 ] |
1090 } | 1106 } |
1091 | 1107 |
1092 ); // LONG_STRING_CONST macro | 1108 ); // LONG_STRING_CONST macro |
1093 | 1109 |
1094 } // namespace gpu | 1110 } // namespace gpu |
OLD | NEW |