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

Side by Side Diff: gpu/config/gpu_control_list_testing_arrays_and_structs_autogen.h

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
« no previous file with comments | « gpu/config/gpu_control_list_testing.json ('k') | gpu/config/gpu_control_list_testing_autogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef GPU_CONFIG_GPU_CONTROL_LIST_TESTING_ARRAYS_AND_STRUCTS_AUTOGEN_H_
12 #define GPU_CONFIG_GPU_CONTROL_LIST_TESTING_ARRAYS_AND_STRUCTS_AUTOGEN_H_
13
14 #include "gpu/config/gpu_control_list_testing_data.h"
15
16 namespace gpu {
17 const int kFeatureListForEntry1[1] = {
18 TEST_FEATURE_0,
19 };
20
21 const char* kDisabledExtensionsForEntry1[2] = {
22 "test_extension1", "test_extension2",
23 };
24
25 const uint32_t kCrBugsForEntry1[2] = {
26 1024, 678,
27 };
28
29 const uint32_t kDeviceIDsForEntry1[1] = {
30 0x0640,
31 };
32
33 const GpuControlList::DriverInfo kDriverInfoForEntry1 = {
34 nullptr, // driver_vendor
35 {GpuControlList::kEQ, GpuControlList::kVersionStyleNumerical, "1.6.18",
36 nullptr}, // driver_version
37 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
38 nullptr}, // driver_date
39 };
40
41 const int kFeatureListForEntry2[1] = {
42 TEST_FEATURE_0,
43 };
44
45 const int kFeatureListForEntry3[1] = {
46 TEST_FEATURE_0,
47 };
48
49 const int kFeatureListForEntry4[1] = {
50 TEST_FEATURE_0,
51 };
52
53 const int kFeatureListForEntry5[1] = {
54 TEST_FEATURE_0,
55 };
56
57 const int kFeatureListForEntry6[1] = {
58 TEST_FEATURE_0,
59 };
60
61 const GpuControlList::DriverInfo kDriverInfoForEntry6 = {
62 nullptr, // driver_vendor
63 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
64 nullptr}, // driver_version
65 {GpuControlList::kLT, GpuControlList::kVersionStyleNumerical, "2010.5.8",
66 nullptr}, // driver_date
67 };
68
69 const int kFeatureListForEntry7[1] = {
70 TEST_FEATURE_0,
71 };
72
73 const uint32_t kDeviceIDsForEntry7[2] = {
74 0x1023, 0x0640,
75 };
76
77 const int kFeatureListForEntry8[1] = {
78 TEST_FEATURE_0,
79 };
80
81 const int kFeatureListForEntry9[1] = {
82 TEST_FEATURE_0,
83 };
84
85 const GpuControlList::More kMoreForEntry9 = {
86 GpuControlList::kGLTypeGLES, // gl_type
87 {GpuControlList::kEQ, GpuControlList::kVersionStyleNumerical, "3.0",
88 nullptr}, // gl_version
89 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
90 nullptr}, // pixel_shader_version
91 false, // in_process_gpu
92 0, // gl_reset_notification_strategy
93 true, // direct_rendering
94 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
95 nullptr}, // gpu_count
96 };
97
98 const int kFeatureListForEntry10[1] = {
99 TEST_FEATURE_0,
100 };
101
102 const GpuControlList::More kMoreForEntry10 = {
103 GpuControlList::kGLTypeANGLE, // gl_type
104 {GpuControlList::kGT, GpuControlList::kVersionStyleNumerical, "2.0",
105 nullptr}, // gl_version
106 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
107 nullptr}, // pixel_shader_version
108 false, // in_process_gpu
109 0, // gl_reset_notification_strategy
110 true, // direct_rendering
111 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
112 nullptr}, // gpu_count
113 };
114
115 const int kFeatureListForEntry11[1] = {
116 TEST_FEATURE_0,
117 };
118
119 const GpuControlList::More kMoreForEntry11 = {
120 GpuControlList::kGLTypeGL, // gl_type
121 {GpuControlList::kLT, GpuControlList::kVersionStyleNumerical, "4.0",
122 nullptr}, // gl_version
123 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
124 nullptr}, // pixel_shader_version
125 false, // in_process_gpu
126 0, // gl_reset_notification_strategy
127 true, // direct_rendering
128 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
129 nullptr}, // gpu_count
130 };
131
132 const int kFeatureListForEntry12[1] = {
133 TEST_FEATURE_0,
134 };
135
136 const GpuControlList::GLStrings kGLStringsForEntry12 = {
137 "NVIDIA", nullptr, nullptr, nullptr,
138 };
139
140 const int kFeatureListForEntry13[1] = {
141 TEST_FEATURE_0,
142 };
143
144 const GpuControlList::GLStrings kGLStringsForEntry13 = {
145 "X\\.Org.*", nullptr, nullptr, nullptr,
146 };
147
148 const int kFeatureListForEntry14[1] = {
149 TEST_FEATURE_0,
150 };
151
152 const GpuControlList::GLStrings kGLStringsForEntry14 = {
153 nullptr, ".*GeForce.*", nullptr, nullptr,
154 };
155
156 const int kFeatureListForEntry15[1] = {
157 TEST_FEATURE_0,
158 };
159
160 const GpuControlList::GLStrings kGLStringsForEntry15 = {
161 nullptr, "(?i).*software.*", nullptr, nullptr,
162 };
163
164 const int kFeatureListForEntry16[1] = {
165 TEST_FEATURE_0,
166 };
167
168 const GpuControlList::GLStrings kGLStringsForEntry16 = {
169 nullptr, nullptr, ".*GL_SUN_slice_accum", nullptr,
170 };
171
172 const int kFeatureListForEntry17[1] = {
173 TEST_FEATURE_0,
174 };
175
176 const int kFeatureListForEntry18[1] = {
177 TEST_FEATURE_0,
178 };
179
180 const int kFeatureListForEntry19[1] = {
181 TEST_FEATURE_0,
182 };
183
184 const GpuControlList::DriverInfo kDriverInfoForEntry19 = {
185 "NVIDIA.*", // driver_vendor
186 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
187 nullptr}, // driver_version
188 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
189 nullptr}, // driver_date
190 };
191
192 const int kFeatureListForEntry20[1] = {
193 TEST_FEATURE_0,
194 };
195
196 const GpuControlList::DriverInfo kDriverInfoForEntry20 = {
197 nullptr, // driver_vendor
198 {GpuControlList::kEQ, GpuControlList::kVersionStyleLexical, "8.76",
199 nullptr}, // driver_version
200 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
201 nullptr}, // driver_date
202 };
203
204 const int kFeatureListForEntry21[1] = {
205 TEST_FEATURE_1,
206 };
207
208 const GpuControlList::DriverInfo kDriverInfoForEntry21 = {
209 nullptr, // driver_vendor
210 {GpuControlList::kLT, GpuControlList::kVersionStyleNumerical, "10.7",
211 nullptr}, // driver_version
212 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
213 nullptr}, // driver_date
214 };
215
216 const int kFeatureListForEntry22[1] = {
217 TEST_FEATURE_1,
218 };
219
220 const GpuControlList::GLStrings kGLStringsForEntry22Exception0 = {
221 nullptr, ".*mesa.*", nullptr, nullptr,
222 };
223
224 const int kFeatureListForEntry23[1] = {
225 TEST_FEATURE_1,
226 };
227
228 const GpuControlList::More kMoreForEntry23 = {
229 GpuControlList::kGLTypeGL, // gl_type
230 {GpuControlList::kLT, GpuControlList::kVersionStyleNumerical, "3.5",
231 nullptr}, // gl_version
232 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
233 nullptr}, // pixel_shader_version
234 false, // in_process_gpu
235 0, // gl_reset_notification_strategy
236 true, // direct_rendering
237 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
238 nullptr}, // gpu_count
239 };
240
241 const int kFeatureListForEntry24[3] = {
242 TEST_FEATURE_0, TEST_FEATURE_1, TEST_FEATURE_2,
243 };
244
245 const int kFeatureListForEntry25[2] = {
246 TEST_FEATURE_1, TEST_FEATURE_2,
247 };
248
249 const int kFeatureListForEntry26[1] = {
250 TEST_FEATURE_0,
251 };
252
253 const uint32_t kDeviceIDsForEntry26[1] = {
254 0x0640,
255 };
256
257 const int kFeatureListForEntry27[1] = {
258 TEST_FEATURE_0,
259 };
260
261 const char* kMachineModelNameForEntry27[4] = {
262 "Nexus 4", "XT1032", "GT-.*", "SCH-.*",
263 };
264
265 const GpuControlList::MachineModelInfo kMachineModelInfoForEntry27 = {
266 arraysize(kMachineModelNameForEntry27), // machine model name size
267 kMachineModelNameForEntry27, // machine model names
268 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
269 nullptr}, // machine model version
270 };
271
272 const int kFeatureListForEntry28[1] = {
273 TEST_FEATURE_0,
274 };
275
276 const char* kMachineModelNameForEntry28Exception0[1] = {
277 "Nexus.*",
278 };
279
280 const GpuControlList::MachineModelInfo kMachineModelInfoForEntry28Exception0 = {
281 arraysize(
282 kMachineModelNameForEntry28Exception0), // machine model name size
283 kMachineModelNameForEntry28Exception0, // machine model names
284 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
285 nullptr}, // machine model version
286 };
287
288 const int kFeatureListForEntry29[1] = {
289 TEST_FEATURE_0,
290 };
291
292 const char* kMachineModelNameForEntry29[1] = {
293 "MacBookPro",
294 };
295
296 const GpuControlList::MachineModelInfo kMachineModelInfoForEntry29 = {
297 arraysize(kMachineModelNameForEntry29), // machine model name size
298 kMachineModelNameForEntry29, // machine model names
299 {GpuControlList::kEQ, GpuControlList::kVersionStyleNumerical, "7.1",
300 nullptr}, // machine model version
301 };
302
303 const int kFeatureListForEntry30[1] = {
304 TEST_FEATURE_0,
305 };
306
307 const char* kMachineModelNameForEntry30[1] = {
308 "MacBookPro",
309 };
310
311 const GpuControlList::MachineModelInfo kMachineModelInfoForEntry30 = {
312 arraysize(kMachineModelNameForEntry30), // machine model name size
313 kMachineModelNameForEntry30, // machine model names
314 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
315 nullptr}, // machine model version
316 };
317
318 const GpuControlList::MachineModelInfo kMachineModelInfoForEntry30Exception0 = {
319 0, // machine model name size
320 nullptr, // machine model names
321 {GpuControlList::kGT, GpuControlList::kVersionStyleNumerical, "7.1",
322 nullptr}, // machine model version
323 };
324
325 const int kFeatureListForEntry31[1] = {
326 TEST_FEATURE_0,
327 };
328
329 const uint32_t kDeviceIDsForEntry31[1] = {
330 0x0166,
331 };
332
333 const int kFeatureListForEntry32[1] = {
334 TEST_FEATURE_0,
335 };
336
337 const uint32_t kDeviceIDsForEntry32[1] = {
338 0x0640,
339 };
340
341 const int kFeatureListForEntry33[1] = {
342 TEST_FEATURE_0,
343 };
344
345 const uint32_t kDeviceIDsForEntry33[1] = {
346 0x0166,
347 };
348
349 const int kFeatureListForEntry34[1] = {
350 TEST_FEATURE_0,
351 };
352
353 const uint32_t kDeviceIDsForEntry34[1] = {
354 0x0166,
355 };
356
357 const int kFeatureListForEntry35[1] = {
358 TEST_FEATURE_0,
359 };
360
361 const uint32_t kDeviceIDsForEntry35[1] = {
362 0x0166,
363 };
364
365 const int kFeatureListForEntry36[1] = {
366 TEST_FEATURE_0,
367 };
368
369 const uint32_t kDeviceIDsForEntry36[2] = {
370 0x0166, 0x0168,
371 };
372
373 const int kFeatureListForEntry37[1] = {
374 TEST_FEATURE_0,
375 };
376
377 const int kFeatureListForEntry38[1] = {
378 TEST_FEATURE_0,
379 };
380
381 const uint32_t kDeviceIDsForEntry38[1] = {
382 0x0640,
383 };
384
385 const int kFeatureListForEntry39[1] = {
386 TEST_FEATURE_0,
387 };
388
389 const int kFeatureListForEntry40[1] = {
390 TEST_FEATURE_0,
391 };
392
393 const GpuControlList::More kMoreForEntry40 = {
394 GpuControlList::kGLTypeNone, // gl_type
395 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
396 nullptr}, // gl_version
397 {GpuControlList::kLT, GpuControlList::kVersionStyleNumerical, "4.1",
398 nullptr}, // pixel_shader_version
399 false, // in_process_gpu
400 0, // gl_reset_notification_strategy
401 true, // direct_rendering
402 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
403 nullptr}, // gpu_count
404 };
405
406 const int kFeatureListForEntry41[1] = {
407 TEST_FEATURE_0,
408 };
409
410 const int kFeatureListForEntry42[1] = {
411 TEST_FEATURE_0,
412 };
413
414 const int kFeatureListForEntry43[1] = {
415 TEST_FEATURE_0,
416 };
417
418 const int kFeatureListForEntry44[1] = {
419 TEST_FEATURE_0,
420 };
421
422 const int kFeatureListForEntry45[1] = {
423 TEST_FEATURE_0,
424 };
425
426 const uint32_t kDeviceIDsForEntry45Exception0[1] = {
427 0x2a06,
428 };
429
430 const GpuControlList::DriverInfo kDriverInfoForEntry45Exception0 = {
431 nullptr, // driver_vendor
432 {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "8.1",
433 nullptr}, // driver_version
434 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
435 nullptr}, // driver_date
436 };
437
438 const uint32_t kDeviceIDsForEntry45Exception1[1] = {
439 0x2a02,
440 };
441
442 const GpuControlList::DriverInfo kDriverInfoForEntry45Exception1 = {
443 nullptr, // driver_vendor
444 {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "9.1",
445 nullptr}, // driver_version
446 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
447 nullptr}, // driver_date
448 };
449
450 const int kFeatureListForEntry46[1] = {
451 TEST_FEATURE_0,
452 };
453
454 const int kFeatureListForEntry47[1] = {
455 TEST_FEATURE_0,
456 };
457
458 const int kFeatureListForEntry48[1] = {
459 TEST_FEATURE_0,
460 };
461
462 const GpuControlList::More kMoreForEntry48 = {
463 GpuControlList::kGLTypeNone, // gl_type
464 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
465 nullptr}, // gl_version
466 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
467 nullptr}, // pixel_shader_version
468 true, // in_process_gpu
469 0, // gl_reset_notification_strategy
470 true, // direct_rendering
471 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
472 nullptr}, // gpu_count
473 };
474
475 const int kFeatureListForEntry49[1] = {
476 TEST_FEATURE_0,
477 };
478
479 const int kFeatureListForEntry50[1] = {
480 TEST_FEATURE_0,
481 };
482
483 const GpuControlList::DriverInfo kDriverInfoForEntry50 = {
484 nullptr, // driver_vendor
485 {GpuControlList::kLE, GpuControlList::kVersionStyleNumerical,
486 "8.17.12.6973", nullptr}, // driver_version
487 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
488 nullptr}, // driver_date
489 };
490
491 const int kFeatureListForEntry51[1] = {
492 TEST_FEATURE_0,
493 };
494
495 const GpuControlList::DriverInfo kDriverInfoForEntry51 = {
496 nullptr, // driver_vendor
497 {GpuControlList::kLT, GpuControlList::kVersionStyleNumerical, "12",
498 nullptr}, // driver_version
499 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
500 nullptr}, // driver_date
501 };
502
503 const int kFeatureListForEntry52[1] = {
504 TEST_FEATURE_0,
505 };
506
507 const GpuControlList::GLStrings kGLStringsForEntry52Exception0 = {
508 nullptr, ".*mesa.*", nullptr, nullptr,
509 };
510
511 const int kFeatureListForEntry53[1] = {
512 TEST_FEATURE_0,
513 };
514
515 const int kFeatureListForEntry54[1] = {
516 TEST_FEATURE_0,
517 };
518
519 const GpuControlList::DriverInfo kDriverInfoForEntry54 = {
520 nullptr, // driver_vendor
521 {GpuControlList::kLT, GpuControlList::kVersionStyleNumerical, "10.7",
522 nullptr}, // driver_version
523 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
524 nullptr}, // driver_date
525 };
526
527 const char* kDisabledExtensionsForEntry55[2] = {
528 "test_extension2", "test_extension1",
529 };
530
531 const char* kDisabledExtensionsForEntry56[2] = {
532 "test_extension3", "test_extension2",
533 };
534
535 const int kFeatureListForEntry57[1] = {
536 TEST_FEATURE_1,
537 };
538
539 const GpuControlList::More kMoreForEntry57 = {
540 GpuControlList::kGLTypeNone, // gl_type
541 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
542 nullptr}, // gl_version
543 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
544 nullptr}, // pixel_shader_version
545 false, // in_process_gpu
546 0, // gl_reset_notification_strategy
547 false, // direct_rendering
548 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
549 nullptr}, // gpu_count
550 };
551
552 const int kFeatureListForEntry58[1] = {
553 TEST_FEATURE_0,
554 };
555
556 } // namespace gpu
557
558 #endif // GPU_CONFIG_GPU_CONTROL_LIST_TESTING_ARRAYS_AND_STRUCTS_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list_testing.json ('k') | gpu/config/gpu_control_list_testing_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698