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

Side by Side Diff: content/browser/gpu/gpu_data_manager_testing_autogen.cc

Issue 2756793003: Move GPU blacklist and driver bug workaround list from json to data struct. (Closed)
Patch Set: pure rebase Created 3 years, 8 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This file is auto-generated from
6 // gpu/config/process_json.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT!
10
11 #include "content/browser/gpu/gpu_data_manager_testing_autogen.h"
12
13 #include "content/browser/gpu/gpu_data_manager_testing_arrays_and_structs_autoge n.h"
14 #include "content/browser/gpu/gpu_data_manager_testing_exceptions_autogen.h"
15
16 namespace gpu {
17
18 const char kGpuDataManagerTestingVersion[] = "1.0";
19
20 const size_t kGpuDataManagerTestingEntryCount = 10;
21 const GpuControlList::Entry kGpuDataManagerTestingEntries[10] = {
22 {
23 1, // id
24 "GpuDataManagerImplPrivateTest.GpuSideBlacklisting.0",
25 arraysize(kFeatureListForEntry1), // features size
26 kFeatureListForEntry1, // features
27 0, // DisabledExtensions size
28 nullptr, // DisabledExtensions
29 0, // CrBugs size
30 nullptr, // CrBugs
31 {
32 GpuControlList::kOsAny, // os_type
33 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
34 nullptr, nullptr}, // os_version
35 0x00, // vendor_id
36 0, // DeviceIDs size
37 nullptr, // DeviceIDs
38 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
39 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
40 nullptr, // driver info
41 nullptr, // GL strings
42 nullptr, // machine model info
43 nullptr, // more conditions
44 },
45 0, // exceptions count
46 nullptr, // exceptions
47 },
48 {
49 2, // id
50 "GpuDataManagerImplPrivateTest.GpuSideBlacklisting.1",
51 arraysize(kFeatureListForEntry2), // features size
52 kFeatureListForEntry2, // features
53 0, // DisabledExtensions size
54 nullptr, // DisabledExtensions
55 0, // CrBugs size
56 nullptr, // CrBugs
57 {
58 GpuControlList::kOsAny, // os_type
59 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
60 nullptr, nullptr}, // os_version
61 0x00, // vendor_id
62 0, // DeviceIDs size
63 nullptr, // DeviceIDs
64 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
65 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
66 nullptr, // driver info
67 &kGLStringsForEntry2, // GL strings
68 nullptr, // machine model info
69 nullptr, // more conditions
70 },
71 0, // exceptions count
72 nullptr, // exceptions
73 },
74 {
75 3, // id
76 "GpuDataManagerImplPrivateTest.GpuSideBlacklistingWebGL.0",
77 arraysize(kFeatureListForEntry3), // features size
78 kFeatureListForEntry3, // features
79 0, // DisabledExtensions size
80 nullptr, // DisabledExtensions
81 0, // CrBugs size
82 nullptr, // CrBugs
83 {
84 GpuControlList::kOsAny, // os_type
85 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
86 nullptr, nullptr}, // os_version
87 0x00, // vendor_id
88 0, // DeviceIDs size
89 nullptr, // DeviceIDs
90 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
91 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
92 nullptr, // driver info
93 nullptr, // GL strings
94 nullptr, // machine model info
95 nullptr, // more conditions
96 },
97 0, // exceptions count
98 nullptr, // exceptions
99 },
100 {
101 4, // id
102 "GpuDataManagerImplPrivateTest.GpuSideBlacklistingWebGL.1",
103 arraysize(kFeatureListForEntry4), // features size
104 kFeatureListForEntry4, // features
105 0, // DisabledExtensions size
106 nullptr, // DisabledExtensions
107 0, // CrBugs size
108 nullptr, // CrBugs
109 {
110 GpuControlList::kOsAny, // os_type
111 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
112 nullptr, nullptr}, // os_version
113 0x00, // vendor_id
114 0, // DeviceIDs size
115 nullptr, // DeviceIDs
116 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
117 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
118 nullptr, // driver info
119 &kGLStringsForEntry4, // GL strings
120 nullptr, // machine model info
121 nullptr, // more conditions
122 },
123 0, // exceptions count
124 nullptr, // exceptions
125 },
126 {
127 5, // id
128 "GpuDataManagerImplPrivateTest.GpuSideException",
129 arraysize(kFeatureListForEntry5), // features size
130 kFeatureListForEntry5, // features
131 0, // DisabledExtensions size
132 nullptr, // DisabledExtensions
133 0, // CrBugs size
134 nullptr, // CrBugs
135 {
136 GpuControlList::kOsAny, // os_type
137 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
138 nullptr, nullptr}, // os_version
139 0x00, // vendor_id
140 0, // DeviceIDs size
141 nullptr, // DeviceIDs
142 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
143 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
144 nullptr, // driver info
145 nullptr, // GL strings
146 nullptr, // machine model info
147 nullptr, // more conditions
148 },
149 arraysize(kExceptionsForEntry5), // exceptions count
150 kExceptionsForEntry5, // exceptions
151 },
152 {
153 6, // id
154 "GpuDataManagerImplPrivateTest.SetGLStrings",
155 arraysize(kFeatureListForEntry6), // features size
156 kFeatureListForEntry6, // features
157 0, // DisabledExtensions size
158 nullptr, // DisabledExtensions
159 0, // CrBugs size
160 nullptr, // CrBugs
161 {
162 GpuControlList::kOsAny, // os_type
163 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
164 nullptr, nullptr}, // os_version
165 0x8086, // vendor_id
166 0, // DeviceIDs size
167 nullptr, // DeviceIDs
168 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
169 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
170 nullptr, // driver info
171 nullptr, // GL strings
172 nullptr, // machine model info
173 nullptr, // more conditions
174 },
175 arraysize(kExceptionsForEntry6), // exceptions count
176 kExceptionsForEntry6, // exceptions
177 },
178 {
179 7, // id
180 "GpuDataManagerImplPrivateTest.SetGLStringsNoEffects",
181 arraysize(kFeatureListForEntry7), // features size
182 kFeatureListForEntry7, // features
183 0, // DisabledExtensions size
184 nullptr, // DisabledExtensions
185 0, // CrBugs size
186 nullptr, // CrBugs
187 {
188 GpuControlList::kOsAny, // os_type
189 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
190 nullptr, nullptr}, // os_version
191 0x8086, // vendor_id
192 0, // DeviceIDs size
193 nullptr, // DeviceIDs
194 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
195 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
196 nullptr, // driver info
197 nullptr, // GL strings
198 nullptr, // machine model info
199 nullptr, // more conditions
200 },
201 arraysize(kExceptionsForEntry7), // exceptions count
202 kExceptionsForEntry7, // exceptions
203 },
204 {
205 8, // id
206 "GpuDataManagerImplPrivateTest.SetGLStringsDefered",
207 arraysize(kFeatureListForEntry8), // features size
208 kFeatureListForEntry8, // features
209 0, // DisabledExtensions size
210 nullptr, // DisabledExtensions
211 0, // CrBugs size
212 nullptr, // CrBugs
213 {
214 GpuControlList::kOsAny, // os_type
215 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
216 nullptr, nullptr}, // os_version
217 0x8086, // vendor_id
218 arraysize(kDeviceIDsForEntry8), // DeviceIDs size
219 kDeviceIDsForEntry8, // DeviceIDs
220 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
221 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
222 &kDriverInfoForEntry8, // driver info
223 nullptr, // GL strings
224 nullptr, // machine model info
225 nullptr, // more conditions
226 },
227 0, // exceptions count
228 nullptr, // exceptions
229 },
230 {
231 9, // id
232 "GpuDataManagerImplPrivateTest.BlacklistAllFeatures",
233 arraysize(kFeatureListForEntry9), // features size
234 kFeatureListForEntry9, // features
235 0, // DisabledExtensions size
236 nullptr, // DisabledExtensions
237 0, // CrBugs size
238 nullptr, // CrBugs
239 {
240 GpuControlList::kOsAny, // os_type
241 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
242 nullptr, nullptr}, // os_version
243 0x00, // vendor_id
244 0, // DeviceIDs size
245 nullptr, // DeviceIDs
246 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
247 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
248 nullptr, // driver info
249 nullptr, // GL strings
250 nullptr, // machine model info
251 nullptr, // more conditions
252 },
253 0, // exceptions count
254 nullptr, // exceptions
255 },
256 {
257 10, // id
258 "GpuDataManagerImplPrivateTest.UpdateActiveGpu",
259 arraysize(kFeatureListForEntry10), // features size
260 kFeatureListForEntry10, // features
261 0, // DisabledExtensions size
262 nullptr, // DisabledExtensions
263 0, // CrBugs size
264 nullptr, // CrBugs
265 {
266 GpuControlList::kOsAny, // os_type
267 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
268 nullptr, nullptr}, // os_version
269 0x8086, // vendor_id
270 0, // DeviceIDs size
271 nullptr, // DeviceIDs
272 GpuControlList::kMultiGpuCategoryActive, // multi_gpu_category
273 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
274 nullptr, // driver info
275 nullptr, // GL strings
276 nullptr, // machine model info
277 nullptr, // more conditions
278 },
279 0, // exceptions count
280 nullptr, // exceptions
281 },
282 };
283 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698