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

Side by Side Diff: gpu/config/gpu_control_list_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 "gpu/config/gpu_control_list_testing_autogen.h"
12
13 #include "gpu/config/gpu_control_list_testing_arrays_and_structs_autogen.h"
14 #include "gpu/config/gpu_control_list_testing_exceptions_autogen.h"
15
16 namespace gpu {
17
18 const char kGpuControlListTestingVersion[] = "1.0";
19
20 const size_t kGpuControlListTestingEntryCount = 58;
21 const GpuControlList::Entry kGpuControlListTestingEntries[58] = {
22 {
23 1, // id
24 "GpuControlListEntryTest.DetailedEntry",
25 arraysize(kFeatureListForEntry1), // features size
26 kFeatureListForEntry1, // features
27 arraysize(kDisabledExtensionsForEntry1), // DisabledExtensions size
28 kDisabledExtensionsForEntry1, // DisabledExtensions
29 arraysize(kCrBugsForEntry1), // CrBugs size
30 kCrBugsForEntry1, // CrBugs
31 {
32 GpuControlList::kOsMacosx, // os_type
33 {GpuControlList::kEQ, GpuControlList::kVersionStyleNumerical,
34 "10.6.4", nullptr}, // os_version
35 0x10de, // vendor_id
36 arraysize(kDeviceIDsForEntry1), // DeviceIDs size
37 kDeviceIDsForEntry1, // DeviceIDs
38 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
39 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
40 &kDriverInfoForEntry1, // 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 "GpuControlListEntryTest.VendorOnAllOsEntry",
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 0x10de, // 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 nullptr, // 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 "GpuControlListEntryTest.VendorOnLinuxEntry",
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::kOsLinux, // os_type
85 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
86 nullptr, nullptr}, // os_version
87 0x10de, // 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 "GpuControlListEntryTest.AllExceptNVidiaOnLinuxEntry",
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::kOsLinux, // 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 nullptr, // GL strings
120 nullptr, // machine model info
121 nullptr, // more conditions
122 },
123 arraysize(kExceptionsForEntry4), // exceptions count
124 kExceptionsForEntry4, // exceptions
125 },
126 {
127 5, // id
128 "GpuControlListEntryTest.AllExceptIntelOnLinuxEntry",
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::kOsLinux, // 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 "GpuControlListEntryTest.DateOnWindowsEntry",
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::kOsWin, // os_type
163 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
164 nullptr, nullptr}, // os_version
165 0x00, // vendor_id
166 0, // DeviceIDs size
167 nullptr, // DeviceIDs
168 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
169 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
170 &kDriverInfoForEntry6, // driver info
171 nullptr, // GL strings
172 nullptr, // machine model info
173 nullptr, // more conditions
174 },
175 0, // exceptions count
176 nullptr, // exceptions
177 },
178 {
179 7, // id
180 "GpuControlListEntryTest.MultipleDevicesEntry",
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 0x10de, // vendor_id
192 arraysize(kDeviceIDsForEntry7), // DeviceIDs size
193 kDeviceIDsForEntry7, // 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 0, // exceptions count
202 nullptr, // exceptions
203 },
204 {
205 8, // id
206 "GpuControlListEntryTest.ChromeOSEntry",
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::kOsChromeOS, // os_type
215 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
216 nullptr, nullptr}, // os_version
217 0x00, // vendor_id
218 0, // DeviceIDs size
219 nullptr, // DeviceIDs
220 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
221 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
222 nullptr, // 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 "GpuControlListEntryTest.GlVersionGLESEntry",
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 &kMoreForEntry9, // more data
252 },
253 0, // exceptions count
254 nullptr, // exceptions
255 },
256 {
257 10, // id
258 "GpuControlListEntryTest.GlVersionANGLEEntry",
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 0x00, // vendor_id
270 0, // DeviceIDs size
271 nullptr, // DeviceIDs
272 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
273 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
274 nullptr, // driver info
275 nullptr, // GL strings
276 nullptr, // machine model info
277 &kMoreForEntry10, // more data
278 },
279 0, // exceptions count
280 nullptr, // exceptions
281 },
282 {
283 11, // id
284 "GpuControlListEntryTest.GlVersionGLEntry",
285 arraysize(kFeatureListForEntry11), // features size
286 kFeatureListForEntry11, // features
287 0, // DisabledExtensions size
288 nullptr, // DisabledExtensions
289 0, // CrBugs size
290 nullptr, // CrBugs
291 {
292 GpuControlList::kOsAny, // os_type
293 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
294 nullptr, nullptr}, // os_version
295 0x00, // vendor_id
296 0, // DeviceIDs size
297 nullptr, // DeviceIDs
298 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
299 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
300 nullptr, // driver info
301 nullptr, // GL strings
302 nullptr, // machine model info
303 &kMoreForEntry11, // more data
304 },
305 0, // exceptions count
306 nullptr, // exceptions
307 },
308 {
309 12, // id
310 "GpuControlListEntryTest.GlVendorEqual",
311 arraysize(kFeatureListForEntry12), // features size
312 kFeatureListForEntry12, // features
313 0, // DisabledExtensions size
314 nullptr, // DisabledExtensions
315 0, // CrBugs size
316 nullptr, // CrBugs
317 {
318 GpuControlList::kOsAny, // os_type
319 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
320 nullptr, nullptr}, // os_version
321 0x00, // vendor_id
322 0, // DeviceIDs size
323 nullptr, // DeviceIDs
324 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
325 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
326 nullptr, // driver info
327 &kGLStringsForEntry12, // GL strings
328 nullptr, // machine model info
329 nullptr, // more conditions
330 },
331 0, // exceptions count
332 nullptr, // exceptions
333 },
334 {
335 13, // id
336 "GpuControlListEntryTest.GlVendorWithDot",
337 arraysize(kFeatureListForEntry13), // features size
338 kFeatureListForEntry13, // features
339 0, // DisabledExtensions size
340 nullptr, // DisabledExtensions
341 0, // CrBugs size
342 nullptr, // CrBugs
343 {
344 GpuControlList::kOsAny, // os_type
345 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
346 nullptr, nullptr}, // os_version
347 0x00, // vendor_id
348 0, // DeviceIDs size
349 nullptr, // DeviceIDs
350 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
351 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
352 nullptr, // driver info
353 &kGLStringsForEntry13, // GL strings
354 nullptr, // machine model info
355 nullptr, // more conditions
356 },
357 0, // exceptions count
358 nullptr, // exceptions
359 },
360 {
361 14, // id
362 "GpuControlListEntryTest.GlRendererContains",
363 arraysize(kFeatureListForEntry14), // features size
364 kFeatureListForEntry14, // features
365 0, // DisabledExtensions size
366 nullptr, // DisabledExtensions
367 0, // CrBugs size
368 nullptr, // CrBugs
369 {
370 GpuControlList::kOsAny, // os_type
371 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
372 nullptr, nullptr}, // os_version
373 0x00, // vendor_id
374 0, // DeviceIDs size
375 nullptr, // DeviceIDs
376 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
377 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
378 nullptr, // driver info
379 &kGLStringsForEntry14, // GL strings
380 nullptr, // machine model info
381 nullptr, // more conditions
382 },
383 0, // exceptions count
384 nullptr, // exceptions
385 },
386 {
387 15, // id
388 "GpuControlListEntryTest.GlRendererCaseInsensitive",
389 arraysize(kFeatureListForEntry15), // features size
390 kFeatureListForEntry15, // features
391 0, // DisabledExtensions size
392 nullptr, // DisabledExtensions
393 0, // CrBugs size
394 nullptr, // CrBugs
395 {
396 GpuControlList::kOsAny, // os_type
397 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
398 nullptr, nullptr}, // os_version
399 0x00, // vendor_id
400 0, // DeviceIDs size
401 nullptr, // DeviceIDs
402 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
403 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
404 nullptr, // driver info
405 &kGLStringsForEntry15, // GL strings
406 nullptr, // machine model info
407 nullptr, // more conditions
408 },
409 0, // exceptions count
410 nullptr, // exceptions
411 },
412 {
413 16, // id
414 "GpuControlListEntryTest.GlExtensionsEndWith",
415 arraysize(kFeatureListForEntry16), // features size
416 kFeatureListForEntry16, // features
417 0, // DisabledExtensions size
418 nullptr, // DisabledExtensions
419 0, // CrBugs size
420 nullptr, // CrBugs
421 {
422 GpuControlList::kOsAny, // os_type
423 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
424 nullptr, nullptr}, // os_version
425 0x00, // vendor_id
426 0, // DeviceIDs size
427 nullptr, // DeviceIDs
428 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
429 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
430 nullptr, // driver info
431 &kGLStringsForEntry16, // GL strings
432 nullptr, // machine model info
433 nullptr, // more conditions
434 },
435 0, // exceptions count
436 nullptr, // exceptions
437 },
438 {
439 17, // id
440 "GpuControlListEntryTest.OptimusEntry",
441 arraysize(kFeatureListForEntry17), // features size
442 kFeatureListForEntry17, // features
443 0, // DisabledExtensions size
444 nullptr, // DisabledExtensions
445 0, // CrBugs size
446 nullptr, // CrBugs
447 {
448 GpuControlList::kOsLinux, // os_type
449 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
450 nullptr, nullptr}, // os_version
451 0x00, // vendor_id
452 0, // DeviceIDs size
453 nullptr, // DeviceIDs
454 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
455 GpuControlList::kMultiGpuStyleOptimus, // multi_gpu_style
456 nullptr, // driver info
457 nullptr, // GL strings
458 nullptr, // machine model info
459 nullptr, // more conditions
460 },
461 0, // exceptions count
462 nullptr, // exceptions
463 },
464 {
465 18, // id
466 "GpuControlListEntryTest.AMDSwitchableEntry",
467 arraysize(kFeatureListForEntry18), // features size
468 kFeatureListForEntry18, // features
469 0, // DisabledExtensions size
470 nullptr, // DisabledExtensions
471 0, // CrBugs size
472 nullptr, // CrBugs
473 {
474 GpuControlList::kOsMacosx, // os_type
475 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
476 nullptr, nullptr}, // os_version
477 0x00, // vendor_id
478 0, // DeviceIDs size
479 nullptr, // DeviceIDs
480 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
481 GpuControlList::kMultiGpuStyleAMDSwitchable, // multi_gpu_style
482 nullptr, // driver info
483 nullptr, // GL strings
484 nullptr, // machine model info
485 nullptr, // more conditions
486 },
487 0, // exceptions count
488 nullptr, // exceptions
489 },
490 {
491 19, // id
492 "GpuControlListEntryTest.DriverVendorBeginWith",
493 arraysize(kFeatureListForEntry19), // features size
494 kFeatureListForEntry19, // features
495 0, // DisabledExtensions size
496 nullptr, // DisabledExtensions
497 0, // CrBugs size
498 nullptr, // CrBugs
499 {
500 GpuControlList::kOsAny, // os_type
501 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
502 nullptr, nullptr}, // os_version
503 0x00, // vendor_id
504 0, // DeviceIDs size
505 nullptr, // DeviceIDs
506 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
507 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
508 &kDriverInfoForEntry19, // driver info
509 nullptr, // GL strings
510 nullptr, // machine model info
511 nullptr, // more conditions
512 },
513 0, // exceptions count
514 nullptr, // exceptions
515 },
516 {
517 20, // id
518 "GpuControlListEntryTest.LexicalDriverVersionEntry",
519 arraysize(kFeatureListForEntry20), // features size
520 kFeatureListForEntry20, // features
521 0, // DisabledExtensions size
522 nullptr, // DisabledExtensions
523 0, // CrBugs size
524 nullptr, // CrBugs
525 {
526 GpuControlList::kOsLinux, // os_type
527 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
528 nullptr, nullptr}, // os_version
529 0x1002, // vendor_id
530 0, // DeviceIDs size
531 nullptr, // DeviceIDs
532 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
533 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
534 &kDriverInfoForEntry20, // driver info
535 nullptr, // GL strings
536 nullptr, // machine model info
537 nullptr, // more conditions
538 },
539 0, // exceptions count
540 nullptr, // exceptions
541 },
542 {
543 21, // id
544 "GpuControlListEntryTest.NeedsMoreInfoEntry",
545 arraysize(kFeatureListForEntry21), // features size
546 kFeatureListForEntry21, // features
547 0, // DisabledExtensions size
548 nullptr, // DisabledExtensions
549 0, // CrBugs size
550 nullptr, // CrBugs
551 {
552 GpuControlList::kOsAny, // os_type
553 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
554 nullptr, nullptr}, // os_version
555 0x8086, // vendor_id
556 0, // DeviceIDs size
557 nullptr, // DeviceIDs
558 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
559 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
560 &kDriverInfoForEntry21, // driver info
561 nullptr, // GL strings
562 nullptr, // machine model info
563 nullptr, // more conditions
564 },
565 0, // exceptions count
566 nullptr, // exceptions
567 },
568 {
569 22, // id
570 "GpuControlListEntryTest.NeedsMoreInfoForExceptionsEntry",
571 arraysize(kFeatureListForEntry22), // features size
572 kFeatureListForEntry22, // features
573 0, // DisabledExtensions size
574 nullptr, // DisabledExtensions
575 0, // CrBugs size
576 nullptr, // CrBugs
577 {
578 GpuControlList::kOsAny, // os_type
579 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
580 nullptr, nullptr}, // os_version
581 0x8086, // vendor_id
582 0, // DeviceIDs size
583 nullptr, // DeviceIDs
584 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
585 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
586 nullptr, // driver info
587 nullptr, // GL strings
588 nullptr, // machine model info
589 nullptr, // more conditions
590 },
591 arraysize(kExceptionsForEntry22), // exceptions count
592 kExceptionsForEntry22, // exceptions
593 },
594 {
595 23, // id
596 "GpuControlListEntryTest.NeedsMoreInfoForGlVersionEntry",
597 arraysize(kFeatureListForEntry23), // features size
598 kFeatureListForEntry23, // features
599 0, // DisabledExtensions size
600 nullptr, // DisabledExtensions
601 0, // CrBugs size
602 nullptr, // CrBugs
603 {
604 GpuControlList::kOsAny, // os_type
605 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
606 nullptr, nullptr}, // os_version
607 0x00, // vendor_id
608 0, // DeviceIDs size
609 nullptr, // DeviceIDs
610 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
611 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
612 nullptr, // driver info
613 nullptr, // GL strings
614 nullptr, // machine model info
615 &kMoreForEntry23, // more data
616 },
617 0, // exceptions count
618 nullptr, // exceptions
619 },
620 {
621 24, // id
622 "GpuControlListEntryTest.FeatureTypeAllEntry",
623 arraysize(kFeatureListForEntry24), // features size
624 kFeatureListForEntry24, // features
625 0, // DisabledExtensions size
626 nullptr, // DisabledExtensions
627 0, // CrBugs size
628 nullptr, // CrBugs
629 {
630 GpuControlList::kOsAny, // os_type
631 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
632 nullptr, nullptr}, // os_version
633 0x00, // vendor_id
634 0, // DeviceIDs size
635 nullptr, // DeviceIDs
636 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
637 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
638 nullptr, // driver info
639 nullptr, // GL strings
640 nullptr, // machine model info
641 nullptr, // more conditions
642 },
643 0, // exceptions count
644 nullptr, // exceptions
645 },
646 {
647 25, // id
648 "GpuControlListEntryTest.FeatureTypeAllEntryWithExceptions",
649 arraysize(kFeatureListForEntry25), // features size
650 kFeatureListForEntry25, // features
651 0, // DisabledExtensions size
652 nullptr, // DisabledExtensions
653 0, // CrBugs size
654 nullptr, // CrBugs
655 {
656 GpuControlList::kOsAny, // os_type
657 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
658 nullptr, nullptr}, // os_version
659 0x00, // vendor_id
660 0, // DeviceIDs size
661 nullptr, // DeviceIDs
662 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
663 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
664 nullptr, // driver info
665 nullptr, // GL strings
666 nullptr, // machine model info
667 nullptr, // more conditions
668 },
669 0, // exceptions count
670 nullptr, // exceptions
671 },
672 {
673 26, // id
674 "GpuControlListEntryTest.SingleActiveGPU",
675 arraysize(kFeatureListForEntry26), // features size
676 kFeatureListForEntry26, // features
677 0, // DisabledExtensions size
678 nullptr, // DisabledExtensions
679 0, // CrBugs size
680 nullptr, // CrBugs
681 {
682 GpuControlList::kOsMacosx, // os_type
683 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
684 nullptr, nullptr}, // os_version
685 0x10de, // vendor_id
686 arraysize(kDeviceIDsForEntry26), // DeviceIDs size
687 kDeviceIDsForEntry26, // DeviceIDs
688 GpuControlList::kMultiGpuCategoryActive, // multi_gpu_category
689 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
690 nullptr, // driver info
691 nullptr, // GL strings
692 nullptr, // machine model info
693 nullptr, // more conditions
694 },
695 0, // exceptions count
696 nullptr, // exceptions
697 },
698 {
699 27, // id
700 "GpuControlListEntryTest.MachineModelName",
701 arraysize(kFeatureListForEntry27), // features size
702 kFeatureListForEntry27, // features
703 0, // DisabledExtensions size
704 nullptr, // DisabledExtensions
705 0, // CrBugs size
706 nullptr, // CrBugs
707 {
708 GpuControlList::kOsAndroid, // os_type
709 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
710 nullptr, nullptr}, // os_version
711 0x00, // vendor_id
712 0, // DeviceIDs size
713 nullptr, // DeviceIDs
714 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
715 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
716 nullptr, // driver info
717 nullptr, // GL strings
718 &kMachineModelInfoForEntry27, // machine model info
719 nullptr, // more conditions
720 },
721 0, // exceptions count
722 nullptr, // exceptions
723 },
724 {
725 28, // id
726 "GpuControlListEntryTest.MachineModelNameException",
727 arraysize(kFeatureListForEntry28), // features size
728 kFeatureListForEntry28, // features
729 0, // DisabledExtensions size
730 nullptr, // DisabledExtensions
731 0, // CrBugs size
732 nullptr, // CrBugs
733 {
734 GpuControlList::kOsAny, // os_type
735 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
736 nullptr, nullptr}, // os_version
737 0x00, // vendor_id
738 0, // DeviceIDs size
739 nullptr, // DeviceIDs
740 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
741 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
742 nullptr, // driver info
743 nullptr, // GL strings
744 nullptr, // machine model info
745 nullptr, // more conditions
746 },
747 arraysize(kExceptionsForEntry28), // exceptions count
748 kExceptionsForEntry28, // exceptions
749 },
750 {
751 29, // id
752 "GpuControlListEntryTest.MachineModelVersion",
753 arraysize(kFeatureListForEntry29), // features size
754 kFeatureListForEntry29, // features
755 0, // DisabledExtensions size
756 nullptr, // DisabledExtensions
757 0, // CrBugs size
758 nullptr, // CrBugs
759 {
760 GpuControlList::kOsMacosx, // os_type
761 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
762 nullptr, nullptr}, // os_version
763 0x00, // vendor_id
764 0, // DeviceIDs size
765 nullptr, // DeviceIDs
766 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
767 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
768 nullptr, // driver info
769 nullptr, // GL strings
770 &kMachineModelInfoForEntry29, // machine model info
771 nullptr, // more conditions
772 },
773 0, // exceptions count
774 nullptr, // exceptions
775 },
776 {
777 30, // id
778 "GpuControlListEntryTest.MachineModelVersionException",
779 arraysize(kFeatureListForEntry30), // features size
780 kFeatureListForEntry30, // features
781 0, // DisabledExtensions size
782 nullptr, // DisabledExtensions
783 0, // CrBugs size
784 nullptr, // CrBugs
785 {
786 GpuControlList::kOsMacosx, // os_type
787 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
788 nullptr, nullptr}, // os_version
789 0x00, // vendor_id
790 0, // DeviceIDs size
791 nullptr, // DeviceIDs
792 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
793 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
794 nullptr, // driver info
795 nullptr, // GL strings
796 &kMachineModelInfoForEntry30, // machine model info
797 nullptr, // more conditions
798 },
799 arraysize(kExceptionsForEntry30), // exceptions count
800 kExceptionsForEntry30, // exceptions
801 },
802 {
803 31, // id
804 "GpuControlListEntryDualGPUTest.CategoryAny.Intel",
805 arraysize(kFeatureListForEntry31), // features size
806 kFeatureListForEntry31, // features
807 0, // DisabledExtensions size
808 nullptr, // DisabledExtensions
809 0, // CrBugs size
810 nullptr, // CrBugs
811 {
812 GpuControlList::kOsMacosx, // os_type
813 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
814 nullptr, nullptr}, // os_version
815 0x8086, // vendor_id
816 arraysize(kDeviceIDsForEntry31), // DeviceIDs size
817 kDeviceIDsForEntry31, // DeviceIDs
818 GpuControlList::kMultiGpuCategoryAny, // multi_gpu_category
819 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
820 nullptr, // driver info
821 nullptr, // GL strings
822 nullptr, // machine model info
823 nullptr, // more conditions
824 },
825 0, // exceptions count
826 nullptr, // exceptions
827 },
828 {
829 32, // id
830 "GpuControlListEntryDualGPUTest.CategoryAny.NVidia",
831 arraysize(kFeatureListForEntry32), // features size
832 kFeatureListForEntry32, // features
833 0, // DisabledExtensions size
834 nullptr, // DisabledExtensions
835 0, // CrBugs size
836 nullptr, // CrBugs
837 {
838 GpuControlList::kOsMacosx, // os_type
839 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
840 nullptr, nullptr}, // os_version
841 0x10de, // vendor_id
842 arraysize(kDeviceIDsForEntry32), // DeviceIDs size
843 kDeviceIDsForEntry32, // DeviceIDs
844 GpuControlList::kMultiGpuCategoryAny, // multi_gpu_category
845 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
846 nullptr, // driver info
847 nullptr, // GL strings
848 nullptr, // machine model info
849 nullptr, // more conditions
850 },
851 0, // exceptions count
852 nullptr, // exceptions
853 },
854 {
855 33, // id
856 "GpuControlListEntryDualGPUTest.CategorySecondary",
857 arraysize(kFeatureListForEntry33), // features size
858 kFeatureListForEntry33, // features
859 0, // DisabledExtensions size
860 nullptr, // DisabledExtensions
861 0, // CrBugs size
862 nullptr, // CrBugs
863 {
864 GpuControlList::kOsMacosx, // os_type
865 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
866 nullptr, nullptr}, // os_version
867 0x8086, // vendor_id
868 arraysize(kDeviceIDsForEntry33), // DeviceIDs size
869 kDeviceIDsForEntry33, // DeviceIDs
870 GpuControlList::kMultiGpuCategorySecondary, // multi_gpu_category
871 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
872 nullptr, // driver info
873 nullptr, // GL strings
874 nullptr, // machine model info
875 nullptr, // more conditions
876 },
877 0, // exceptions count
878 nullptr, // exceptions
879 },
880 {
881 34, // id
882 "GpuControlListEntryDualGPUTest.CategoryPrimary",
883 arraysize(kFeatureListForEntry34), // features size
884 kFeatureListForEntry34, // features
885 0, // DisabledExtensions size
886 nullptr, // DisabledExtensions
887 0, // CrBugs size
888 nullptr, // CrBugs
889 {
890 GpuControlList::kOsMacosx, // os_type
891 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
892 nullptr, nullptr}, // os_version
893 0x8086, // vendor_id
894 arraysize(kDeviceIDsForEntry34), // DeviceIDs size
895 kDeviceIDsForEntry34, // DeviceIDs
896 GpuControlList::kMultiGpuCategoryPrimary, // multi_gpu_category
897 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
898 nullptr, // driver info
899 nullptr, // GL strings
900 nullptr, // machine model info
901 nullptr, // more conditions
902 },
903 0, // exceptions count
904 nullptr, // exceptions
905 },
906 {
907 35, // id
908 "GpuControlListEntryDualGPUTest.CategoryDefault",
909 arraysize(kFeatureListForEntry35), // features size
910 kFeatureListForEntry35, // features
911 0, // DisabledExtensions size
912 nullptr, // DisabledExtensions
913 0, // CrBugs size
914 nullptr, // CrBugs
915 {
916 GpuControlList::kOsMacosx, // os_type
917 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
918 nullptr, nullptr}, // os_version
919 0x8086, // vendor_id
920 arraysize(kDeviceIDsForEntry35), // DeviceIDs size
921 kDeviceIDsForEntry35, // DeviceIDs
922 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
923 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
924 nullptr, // driver info
925 nullptr, // GL strings
926 nullptr, // machine model info
927 nullptr, // more conditions
928 },
929 0, // exceptions count
930 nullptr, // exceptions
931 },
932 {
933 36, // id
934 "GpuControlListEntryDualGPUTest.ActiveSecondaryGPU",
935 arraysize(kFeatureListForEntry36), // features size
936 kFeatureListForEntry36, // features
937 0, // DisabledExtensions size
938 nullptr, // DisabledExtensions
939 0, // CrBugs size
940 nullptr, // CrBugs
941 {
942 GpuControlList::kOsMacosx, // os_type
943 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
944 nullptr, nullptr}, // os_version
945 0x8086, // vendor_id
946 arraysize(kDeviceIDsForEntry36), // DeviceIDs size
947 kDeviceIDsForEntry36, // DeviceIDs
948 GpuControlList::kMultiGpuCategoryActive, // multi_gpu_category
949 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
950 nullptr, // driver info
951 nullptr, // GL strings
952 nullptr, // machine model info
953 nullptr, // more conditions
954 },
955 0, // exceptions count
956 nullptr, // exceptions
957 },
958 {
959 37, // id
960 "GpuControlListEntryDualGPUTest.VendorOnlyActiveSecondaryGPU",
961 arraysize(kFeatureListForEntry37), // features size
962 kFeatureListForEntry37, // features
963 0, // DisabledExtensions size
964 nullptr, // DisabledExtensions
965 0, // CrBugs size
966 nullptr, // CrBugs
967 {
968 GpuControlList::kOsMacosx, // os_type
969 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
970 nullptr, nullptr}, // os_version
971 0x8086, // vendor_id
972 0, // DeviceIDs size
973 nullptr, // DeviceIDs
974 GpuControlList::kMultiGpuCategoryActive, // multi_gpu_category
975 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
976 nullptr, // driver info
977 nullptr, // GL strings
978 nullptr, // machine model info
979 nullptr, // more conditions
980 },
981 0, // exceptions count
982 nullptr, // exceptions
983 },
984 {
985 38, // id
986 "GpuControlListEntryDualGPUTest.ActivePrimaryGPU",
987 arraysize(kFeatureListForEntry38), // features size
988 kFeatureListForEntry38, // features
989 0, // DisabledExtensions size
990 nullptr, // DisabledExtensions
991 0, // CrBugs size
992 nullptr, // CrBugs
993 {
994 GpuControlList::kOsMacosx, // os_type
995 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
996 nullptr, nullptr}, // os_version
997 0x10de, // vendor_id
998 arraysize(kDeviceIDsForEntry38), // DeviceIDs size
999 kDeviceIDsForEntry38, // DeviceIDs
1000 GpuControlList::kMultiGpuCategoryActive, // multi_gpu_category
1001 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1002 nullptr, // driver info
1003 nullptr, // GL strings
1004 nullptr, // machine model info
1005 nullptr, // more conditions
1006 },
1007 0, // exceptions count
1008 nullptr, // exceptions
1009 },
1010 {
1011 39, // id
1012 "GpuControlListEntryDualGPUTest.VendorOnlyActivePrimaryGPU",
1013 arraysize(kFeatureListForEntry39), // features size
1014 kFeatureListForEntry39, // features
1015 0, // DisabledExtensions size
1016 nullptr, // DisabledExtensions
1017 0, // CrBugs size
1018 nullptr, // CrBugs
1019 {
1020 GpuControlList::kOsMacosx, // os_type
1021 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1022 nullptr, nullptr}, // os_version
1023 0x10de, // vendor_id
1024 0, // DeviceIDs size
1025 nullptr, // DeviceIDs
1026 GpuControlList::kMultiGpuCategoryActive, // multi_gpu_category
1027 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1028 nullptr, // driver info
1029 nullptr, // GL strings
1030 nullptr, // machine model info
1031 nullptr, // more conditions
1032 },
1033 0, // exceptions count
1034 nullptr, // exceptions
1035 },
1036 {
1037 40, // id
1038 "GpuControlListEntryTest.PixelShaderVersion",
1039 arraysize(kFeatureListForEntry40), // features size
1040 kFeatureListForEntry40, // features
1041 0, // DisabledExtensions size
1042 nullptr, // DisabledExtensions
1043 0, // CrBugs size
1044 nullptr, // CrBugs
1045 {
1046 GpuControlList::kOsAny, // os_type
1047 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1048 nullptr, nullptr}, // os_version
1049 0x00, // vendor_id
1050 0, // DeviceIDs size
1051 nullptr, // DeviceIDs
1052 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1053 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1054 nullptr, // driver info
1055 nullptr, // GL strings
1056 nullptr, // machine model info
1057 &kMoreForEntry40, // more data
1058 },
1059 0, // exceptions count
1060 nullptr, // exceptions
1061 },
1062 {
1063 41, // id
1064 "GpuControlListEntryTest.OsVersionZeroLT",
1065 arraysize(kFeatureListForEntry41), // features size
1066 kFeatureListForEntry41, // features
1067 0, // DisabledExtensions size
1068 nullptr, // DisabledExtensions
1069 0, // CrBugs size
1070 nullptr, // CrBugs
1071 {
1072 GpuControlList::kOsAndroid, // os_type
1073 {GpuControlList::kLT, GpuControlList::kVersionStyleNumerical, "4.2",
1074 nullptr}, // os_version
1075 0x00, // vendor_id
1076 0, // DeviceIDs size
1077 nullptr, // DeviceIDs
1078 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1079 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1080 nullptr, // driver info
1081 nullptr, // GL strings
1082 nullptr, // machine model info
1083 nullptr, // more conditions
1084 },
1085 0, // exceptions count
1086 nullptr, // exceptions
1087 },
1088 {
1089 42, // id
1090 "GpuControlListEntryTest.OsVersionZeroAny",
1091 arraysize(kFeatureListForEntry42), // features size
1092 kFeatureListForEntry42, // features
1093 0, // DisabledExtensions size
1094 nullptr, // DisabledExtensions
1095 0, // CrBugs size
1096 nullptr, // CrBugs
1097 {
1098 GpuControlList::kOsAndroid, // os_type
1099 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1100 nullptr, nullptr}, // os_version
1101 0x00, // vendor_id
1102 0, // DeviceIDs size
1103 nullptr, // DeviceIDs
1104 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1105 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1106 nullptr, // driver info
1107 nullptr, // GL strings
1108 nullptr, // machine model info
1109 nullptr, // more conditions
1110 },
1111 0, // exceptions count
1112 nullptr, // exceptions
1113 },
1114 {
1115 43, // id
1116 "GpuControlListEntryTest.OsComparisonAny",
1117 arraysize(kFeatureListForEntry43), // features size
1118 kFeatureListForEntry43, // features
1119 0, // DisabledExtensions size
1120 nullptr, // DisabledExtensions
1121 0, // CrBugs size
1122 nullptr, // CrBugs
1123 {
1124 GpuControlList::kOsAny, // os_type
1125 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1126 nullptr, nullptr}, // os_version
1127 0x00, // vendor_id
1128 0, // DeviceIDs size
1129 nullptr, // DeviceIDs
1130 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1131 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1132 nullptr, // driver info
1133 nullptr, // GL strings
1134 nullptr, // machine model info
1135 nullptr, // more conditions
1136 },
1137 0, // exceptions count
1138 nullptr, // exceptions
1139 },
1140 {
1141 44, // id
1142 "GpuControlListEntryTest.OsComparisonGE",
1143 arraysize(kFeatureListForEntry44), // features size
1144 kFeatureListForEntry44, // features
1145 0, // DisabledExtensions size
1146 nullptr, // DisabledExtensions
1147 0, // CrBugs size
1148 nullptr, // CrBugs
1149 {
1150 GpuControlList::kOsWin, // os_type
1151 {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "6",
1152 nullptr}, // os_version
1153 0x00, // vendor_id
1154 0, // DeviceIDs size
1155 nullptr, // DeviceIDs
1156 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1157 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1158 nullptr, // driver info
1159 nullptr, // GL strings
1160 nullptr, // machine model info
1161 nullptr, // more conditions
1162 },
1163 0, // exceptions count
1164 nullptr, // exceptions
1165 },
1166 {
1167 45, // id
1168 "GpuControlListEntryTest.ExceptionWithoutVendorId",
1169 arraysize(kFeatureListForEntry45), // features size
1170 kFeatureListForEntry45, // features
1171 0, // DisabledExtensions size
1172 nullptr, // DisabledExtensions
1173 0, // CrBugs size
1174 nullptr, // CrBugs
1175 {
1176 GpuControlList::kOsLinux, // os_type
1177 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1178 nullptr, nullptr}, // os_version
1179 0x8086, // vendor_id
1180 0, // DeviceIDs size
1181 nullptr, // DeviceIDs
1182 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1183 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1184 nullptr, // driver info
1185 nullptr, // GL strings
1186 nullptr, // machine model info
1187 nullptr, // more conditions
1188 },
1189 arraysize(kExceptionsForEntry45), // exceptions count
1190 kExceptionsForEntry45, // exceptions
1191 },
1192 {
1193 46, // id
1194 "GpuControlListEntryTest.MultiGpuStyleAMDSwitchableDiscrete",
1195 arraysize(kFeatureListForEntry46), // features size
1196 kFeatureListForEntry46, // features
1197 0, // DisabledExtensions size
1198 nullptr, // DisabledExtensions
1199 0, // CrBugs size
1200 nullptr, // CrBugs
1201 {
1202 GpuControlList::kOsAny, // os_type
1203 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1204 nullptr, nullptr}, // os_version
1205 0x00, // vendor_id
1206 0, // DeviceIDs size
1207 nullptr, // DeviceIDs
1208 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1209 GpuControlList::
1210 kMultiGpuStyleAMDSwitchableDiscrete, // multi_gpu_style
1211 nullptr, // driver info
1212 nullptr, // GL strings
1213 nullptr, // machine model info
1214 nullptr, // more conditions
1215 },
1216 0, // exceptions count
1217 nullptr, // exceptions
1218 },
1219 {
1220 47, // id
1221 "GpuControlListEntryTest.MultiGpuStyleAMDSwitchableIntegrated",
1222 arraysize(kFeatureListForEntry47), // features size
1223 kFeatureListForEntry47, // features
1224 0, // DisabledExtensions size
1225 nullptr, // DisabledExtensions
1226 0, // CrBugs size
1227 nullptr, // CrBugs
1228 {
1229 GpuControlList::kOsAny, // os_type
1230 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1231 nullptr, nullptr}, // os_version
1232 0x00, // vendor_id
1233 0, // DeviceIDs size
1234 nullptr, // DeviceIDs
1235 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1236 GpuControlList::
1237 kMultiGpuStyleAMDSwitchableIntegrated, // multi_gpu_style
1238 nullptr, // driver info
1239 nullptr, // GL strings
1240 nullptr, // machine model info
1241 nullptr, // more conditions
1242 },
1243 0, // exceptions count
1244 nullptr, // exceptions
1245 },
1246 {
1247 48, // id
1248 "GpuControlListEntryTest.InProcessGPU",
1249 arraysize(kFeatureListForEntry48), // features size
1250 kFeatureListForEntry48, // features
1251 0, // DisabledExtensions size
1252 nullptr, // DisabledExtensions
1253 0, // CrBugs size
1254 nullptr, // CrBugs
1255 {
1256 GpuControlList::kOsWin, // os_type
1257 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1258 nullptr, nullptr}, // os_version
1259 0x00, // vendor_id
1260 0, // DeviceIDs size
1261 nullptr, // DeviceIDs
1262 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1263 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1264 nullptr, // driver info
1265 nullptr, // GL strings
1266 nullptr, // machine model info
1267 &kMoreForEntry48, // more data
1268 },
1269 0, // exceptions count
1270 nullptr, // exceptions
1271 },
1272 {
1273 49, // id
1274 "GpuControlListEntryTest.SameGPUTwiceTest",
1275 arraysize(kFeatureListForEntry49), // features size
1276 kFeatureListForEntry49, // features
1277 0, // DisabledExtensions size
1278 nullptr, // DisabledExtensions
1279 0, // CrBugs size
1280 nullptr, // CrBugs
1281 {
1282 GpuControlList::kOsWin, // os_type
1283 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1284 nullptr, nullptr}, // os_version
1285 0x8086, // vendor_id
1286 0, // DeviceIDs size
1287 nullptr, // DeviceIDs
1288 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1289 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1290 nullptr, // driver info
1291 nullptr, // GL strings
1292 nullptr, // machine model info
1293 nullptr, // more conditions
1294 },
1295 0, // exceptions count
1296 nullptr, // exceptions
1297 },
1298 {
1299 50, // id
1300 "GpuControlListEntryTest.NVidiaNumberingScheme",
1301 arraysize(kFeatureListForEntry50), // features size
1302 kFeatureListForEntry50, // features
1303 0, // DisabledExtensions size
1304 nullptr, // DisabledExtensions
1305 0, // CrBugs size
1306 nullptr, // CrBugs
1307 {
1308 GpuControlList::kOsWin, // os_type
1309 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1310 nullptr, nullptr}, // os_version
1311 0x10de, // vendor_id
1312 0, // DeviceIDs size
1313 nullptr, // DeviceIDs
1314 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1315 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1316 &kDriverInfoForEntry50, // driver info
1317 nullptr, // GL strings
1318 nullptr, // machine model info
1319 nullptr, // more conditions
1320 },
1321 0, // exceptions count
1322 nullptr, // exceptions
1323 },
1324 {
1325 51, // id
1326 "GpuControlListTest.NeedsMoreInfo",
1327 arraysize(kFeatureListForEntry51), // features size
1328 kFeatureListForEntry51, // features
1329 0, // DisabledExtensions size
1330 nullptr, // DisabledExtensions
1331 0, // CrBugs size
1332 nullptr, // CrBugs
1333 {
1334 GpuControlList::kOsWin, // os_type
1335 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1336 nullptr, nullptr}, // os_version
1337 0x10de, // vendor_id
1338 0, // DeviceIDs size
1339 nullptr, // DeviceIDs
1340 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1341 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1342 &kDriverInfoForEntry51, // driver info
1343 nullptr, // GL strings
1344 nullptr, // machine model info
1345 nullptr, // more conditions
1346 },
1347 0, // exceptions count
1348 nullptr, // exceptions
1349 },
1350 {
1351 52, // id
1352 "GpuControlListTest.NeedsMoreInfoForExceptions",
1353 arraysize(kFeatureListForEntry52), // features size
1354 kFeatureListForEntry52, // features
1355 0, // DisabledExtensions size
1356 nullptr, // DisabledExtensions
1357 0, // CrBugs size
1358 nullptr, // CrBugs
1359 {
1360 GpuControlList::kOsLinux, // os_type
1361 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1362 nullptr, nullptr}, // os_version
1363 0x8086, // vendor_id
1364 0, // DeviceIDs size
1365 nullptr, // DeviceIDs
1366 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1367 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1368 nullptr, // driver info
1369 nullptr, // GL strings
1370 nullptr, // machine model info
1371 nullptr, // more conditions
1372 },
1373 arraysize(kExceptionsForEntry52), // exceptions count
1374 kExceptionsForEntry52, // exceptions
1375 },
1376 {
1377 53, // id
1378 "GpuControlListTest.IgnorableEntries.0",
1379 arraysize(kFeatureListForEntry53), // features size
1380 kFeatureListForEntry53, // features
1381 0, // DisabledExtensions size
1382 nullptr, // DisabledExtensions
1383 0, // CrBugs size
1384 nullptr, // CrBugs
1385 {
1386 GpuControlList::kOsLinux, // os_type
1387 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1388 nullptr, nullptr}, // os_version
1389 0x8086, // vendor_id
1390 0, // DeviceIDs size
1391 nullptr, // DeviceIDs
1392 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1393 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1394 nullptr, // driver info
1395 nullptr, // GL strings
1396 nullptr, // machine model info
1397 nullptr, // more conditions
1398 },
1399 0, // exceptions count
1400 nullptr, // exceptions
1401 },
1402 {
1403 54, // id
1404 "GpuControlListTest.IgnorableEntries.1",
1405 arraysize(kFeatureListForEntry54), // features size
1406 kFeatureListForEntry54, // features
1407 0, // DisabledExtensions size
1408 nullptr, // DisabledExtensions
1409 0, // CrBugs size
1410 nullptr, // CrBugs
1411 {
1412 GpuControlList::kOsLinux, // os_type
1413 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1414 nullptr, nullptr}, // os_version
1415 0x8086, // vendor_id
1416 0, // DeviceIDs size
1417 nullptr, // DeviceIDs
1418 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1419 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1420 &kDriverInfoForEntry54, // driver info
1421 nullptr, // GL strings
1422 nullptr, // machine model info
1423 nullptr, // more conditions
1424 },
1425 0, // exceptions count
1426 nullptr, // exceptions
1427 },
1428 {
1429 55, // id
1430 "GpuControlListTest.DisabledExtensionTest.0",
1431 0, // feature size
1432 nullptr, // features
1433 arraysize(kDisabledExtensionsForEntry55), // DisabledExtensions size
1434 kDisabledExtensionsForEntry55, // DisabledExtensions
1435 0, // CrBugs size
1436 nullptr, // CrBugs
1437 {
1438 GpuControlList::kOsWin, // os_type
1439 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1440 nullptr, nullptr}, // os_version
1441 0x00, // vendor_id
1442 0, // DeviceIDs size
1443 nullptr, // DeviceIDs
1444 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1445 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1446 nullptr, // driver info
1447 nullptr, // GL strings
1448 nullptr, // machine model info
1449 nullptr, // more conditions
1450 },
1451 0, // exceptions count
1452 nullptr, // exceptions
1453 },
1454 {
1455 56, // id
1456 "GpuControlListTest.DisabledExtensionTest.1",
1457 0, // feature size
1458 nullptr, // features
1459 arraysize(kDisabledExtensionsForEntry56), // DisabledExtensions size
1460 kDisabledExtensionsForEntry56, // DisabledExtensions
1461 0, // CrBugs size
1462 nullptr, // CrBugs
1463 {
1464 GpuControlList::kOsWin, // os_type
1465 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1466 nullptr, nullptr}, // os_version
1467 0x00, // vendor_id
1468 0, // DeviceIDs size
1469 nullptr, // DeviceIDs
1470 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1471 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1472 nullptr, // driver info
1473 nullptr, // GL strings
1474 nullptr, // machine model info
1475 nullptr, // more conditions
1476 },
1477 0, // exceptions count
1478 nullptr, // exceptions
1479 },
1480 {
1481 57, // id
1482 "GpuControlListEntryTest.DirectRendering",
1483 arraysize(kFeatureListForEntry57), // features size
1484 kFeatureListForEntry57, // features
1485 0, // DisabledExtensions size
1486 nullptr, // DisabledExtensions
1487 0, // CrBugs size
1488 nullptr, // CrBugs
1489 {
1490 GpuControlList::kOsLinux, // os_type
1491 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
1492 nullptr, nullptr}, // os_version
1493 0x00, // vendor_id
1494 0, // DeviceIDs size
1495 nullptr, // DeviceIDs
1496 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1497 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1498 nullptr, // driver info
1499 nullptr, // GL strings
1500 nullptr, // machine model info
1501 &kMoreForEntry57, // more data
1502 },
1503 0, // exceptions count
1504 nullptr, // exceptions
1505 },
1506 {
1507 58, // id
1508 "GpuControlListTest.LinuxKernelVersion",
1509 arraysize(kFeatureListForEntry58), // features size
1510 kFeatureListForEntry58, // features
1511 0, // DisabledExtensions size
1512 nullptr, // DisabledExtensions
1513 0, // CrBugs size
1514 nullptr, // CrBugs
1515 {
1516 GpuControlList::kOsLinux, // os_type
1517 {GpuControlList::kLT, GpuControlList::kVersionStyleNumerical,
1518 "3.19.1", nullptr}, // os_version
1519 0x8086, // vendor_id
1520 0, // DeviceIDs size
1521 nullptr, // DeviceIDs
1522 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
1523 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
1524 nullptr, // driver info
1525 nullptr, // GL strings
1526 nullptr, // machine model info
1527 nullptr, // more conditions
1528 },
1529 0, // exceptions count
1530 nullptr, // exceptions
1531 },
1532 };
1533 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list_testing_autogen.h ('k') | gpu/config/gpu_control_list_testing_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698