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

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

Issue 2812003006: Move gpu jason file data generation to build time. (Closed)
Patch Set: remove git-format from build time generated files 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/software_rendering_list_autogen.cc ('k') | no next file » | 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_SOFTWARE_RENDERING_LIST_EXCEPTIONS_AUTOGEN_H_
12 #define GPU_CONFIG_SOFTWARE_RENDERING_LIST_EXCEPTIONS_AUTOGEN_H_
13
14 namespace gpu {
15 const GpuControlList::Conditions kExceptionsForEntry5[3] = {
16 {
17 GpuControlList::kOsAny, // os_type
18 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
19 nullptr, nullptr}, // os_version
20 0x00, // vendor_id
21 0, // DeviceIDs size
22 nullptr, // DeviceIDs
23 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
24 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
25 &kDriverInfoForEntry5Exception0, // driver info
26 nullptr, // GL strings
27 nullptr, // machine model info
28 nullptr, // more conditions
29 },
30 {
31 GpuControlList::kOsAny, // os_type
32 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
33 nullptr, nullptr}, // os_version
34 0x00, // vendor_id
35 0, // DeviceIDs size
36 nullptr, // DeviceIDs
37 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
38 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
39 &kDriverInfoForEntry5Exception1, // driver info
40 nullptr, // GL strings
41 nullptr, // machine model info
42 nullptr, // more conditions
43 },
44 {
45 GpuControlList::kOsAny, // os_type
46 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
47 nullptr, nullptr}, // os_version
48 0x00, // vendor_id
49 0, // DeviceIDs size
50 nullptr, // DeviceIDs
51 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
52 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
53 &kDriverInfoForEntry5Exception2, // driver info
54 nullptr, // GL strings
55 nullptr, // machine model info
56 nullptr, // more conditions
57 },
58 };
59
60 const GpuControlList::Conditions kExceptionsForEntry12[3] = {
61 {
62 GpuControlList::kOsAny, // os_type
63 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
64 nullptr, nullptr}, // os_version
65 0x8086, // vendor_id
66 arraysize(kDeviceIDsForEntry12Exception0), // DeviceIDs size
67 kDeviceIDsForEntry12Exception0, // DeviceIDs
68 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
69 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
70 &kDriverInfoForEntry12Exception0, // driver info
71 nullptr, // GL strings
72 nullptr, // machine model info
73 nullptr, // more conditions
74 },
75 {
76 GpuControlList::kOsAny, // os_type
77 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
78 nullptr, nullptr}, // os_version
79 0x00, // vendor_id
80 0, // DeviceIDs size
81 nullptr, // DeviceIDs
82 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
83 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
84 &kDriverInfoForEntry12Exception1, // driver info
85 nullptr, // GL strings
86 nullptr, // machine model info
87 nullptr, // more conditions
88 },
89 {
90 GpuControlList::kOsAny, // os_type
91 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
92 nullptr, nullptr}, // os_version
93 0x1414, // vendor_id
94 arraysize(kDeviceIDsForEntry12Exception2), // DeviceIDs size
95 kDeviceIDsForEntry12Exception2, // DeviceIDs
96 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
97 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
98 nullptr, // driver info
99 nullptr, // GL strings
100 nullptr, // machine model info
101 nullptr, // more conditions
102 },
103 };
104
105 const GpuControlList::Conditions kExceptionsForEntry17[5] = {
106 {
107 GpuControlList::kOsAny, // os_type
108 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
109 nullptr, nullptr}, // os_version
110 0x8086, // vendor_id
111 arraysize(kDeviceIDsForEntry17Exception0), // DeviceIDs size
112 kDeviceIDsForEntry17Exception0, // DeviceIDs
113 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
114 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
115 &kDriverInfoForEntry17Exception0, // driver info
116 nullptr, // GL strings
117 nullptr, // machine model info
118 nullptr, // more conditions
119 },
120 {
121 GpuControlList::kOsAny, // os_type
122 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
123 nullptr, nullptr}, // os_version
124 0x8086, // vendor_id
125 arraysize(kDeviceIDsForEntry17Exception1), // DeviceIDs size
126 kDeviceIDsForEntry17Exception1, // DeviceIDs
127 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
128 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
129 &kDriverInfoForEntry17Exception1, // driver info
130 nullptr, // GL strings
131 nullptr, // machine model info
132 nullptr, // more conditions
133 },
134 {
135 GpuControlList::kOsAny, // os_type
136 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
137 nullptr, nullptr}, // os_version
138 0x8086, // vendor_id
139 arraysize(kDeviceIDsForEntry17Exception2), // DeviceIDs size
140 kDeviceIDsForEntry17Exception2, // DeviceIDs
141 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
142 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
143 &kDriverInfoForEntry17Exception2, // driver info
144 nullptr, // GL strings
145 nullptr, // machine model info
146 nullptr, // more conditions
147 },
148 {
149 GpuControlList::kOsAny, // os_type
150 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
151 nullptr, nullptr}, // os_version
152 0x8086, // vendor_id
153 arraysize(kDeviceIDsForEntry17Exception3), // DeviceIDs size
154 kDeviceIDsForEntry17Exception3, // DeviceIDs
155 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
156 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
157 &kDriverInfoForEntry17Exception3, // driver info
158 nullptr, // GL strings
159 nullptr, // machine model info
160 nullptr, // more conditions
161 },
162 {
163 GpuControlList::kOsAny, // os_type
164 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
165 nullptr, nullptr}, // os_version
166 0x8086, // vendor_id
167 arraysize(kDeviceIDsForEntry17Exception4), // DeviceIDs size
168 kDeviceIDsForEntry17Exception4, // DeviceIDs
169 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
170 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
171 &kDriverInfoForEntry17Exception4, // driver info
172 nullptr, // GL strings
173 nullptr, // machine model info
174 nullptr, // more conditions
175 },
176 };
177
178 const GpuControlList::Conditions kExceptionsForEntry27[2] = {
179 {
180 GpuControlList::kOsAny, // os_type
181 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
182 nullptr, nullptr}, // os_version
183 0x00, // vendor_id
184 0, // DeviceIDs size
185 nullptr, // DeviceIDs
186 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
187 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
188 &kDriverInfoForEntry27Exception0, // driver info
189 nullptr, // GL strings
190 nullptr, // machine model info
191 nullptr, // more conditions
192 },
193 {
194 GpuControlList::kOsAny, // os_type
195 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
196 nullptr, nullptr}, // os_version
197 0x00, // vendor_id
198 0, // DeviceIDs size
199 nullptr, // DeviceIDs
200 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
201 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
202 &kDriverInfoForEntry27Exception1, // driver info
203 nullptr, // GL strings
204 nullptr, // machine model info
205 nullptr, // more conditions
206 },
207 };
208
209 const GpuControlList::Conditions kExceptionsForEntry28[1] = {
210 {
211 GpuControlList::kOsAny, // os_type
212 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
213 nullptr, nullptr}, // os_version
214 0x00, // vendor_id
215 0, // DeviceIDs size
216 nullptr, // DeviceIDs
217 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
218 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
219 &kDriverInfoForEntry28Exception0, // driver info
220 nullptr, // GL strings
221 nullptr, // machine model info
222 nullptr, // more conditions
223 },
224 };
225
226 const GpuControlList::Conditions kExceptionsForEntry29[1] = {
227 {
228 GpuControlList::kOsAny, // os_type
229 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
230 nullptr, nullptr}, // os_version
231 0x00, // vendor_id
232 0, // DeviceIDs size
233 nullptr, // DeviceIDs
234 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
235 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
236 &kDriverInfoForEntry29Exception0, // driver info
237 nullptr, // GL strings
238 nullptr, // machine model info
239 nullptr, // more conditions
240 },
241 };
242
243 const GpuControlList::Conditions kExceptionsForEntry50[2] = {
244 {
245 GpuControlList::kOsAny, // os_type
246 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
247 nullptr, nullptr}, // os_version
248 0x00, // vendor_id
249 0, // DeviceIDs size
250 nullptr, // DeviceIDs
251 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
252 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
253 &kDriverInfoForEntry50Exception0, // driver info
254 &kGLStringsForEntry50Exception0, // GL strings
255 nullptr, // machine model info
256 nullptr, // more conditions
257 },
258 {
259 GpuControlList::kOsAny, // os_type
260 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
261 nullptr, nullptr}, // os_version
262 0x00, // vendor_id
263 0, // DeviceIDs size
264 nullptr, // DeviceIDs
265 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
266 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
267 &kDriverInfoForEntry50Exception1, // driver info
268 &kGLStringsForEntry50Exception1, // GL strings
269 nullptr, // machine model info
270 nullptr, // more conditions
271 },
272 };
273
274 const GpuControlList::Conditions kExceptionsForEntry57[1] = {
275 {
276 GpuControlList::kOsAny, // os_type
277 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
278 nullptr, nullptr}, // os_version
279 0x8086, // vendor_id
280 arraysize(kDeviceIDsForEntry57Exception0), // DeviceIDs size
281 kDeviceIDsForEntry57Exception0, // DeviceIDs
282 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
283 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
284 nullptr, // driver info
285 nullptr, // GL strings
286 nullptr, // machine model info
287 nullptr, // more conditions
288 },
289 };
290
291 const GpuControlList::Conditions kExceptionsForEntry74[1] = {
292 {
293 GpuControlList::kOsAny, // os_type
294 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
295 nullptr, nullptr}, // os_version
296 0x1414, // vendor_id
297 arraysize(kDeviceIDsForEntry74Exception0), // DeviceIDs size
298 kDeviceIDsForEntry74Exception0, // DeviceIDs
299 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
300 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
301 nullptr, // driver info
302 nullptr, // GL strings
303 nullptr, // machine model info
304 nullptr, // more conditions
305 },
306 };
307
308 const GpuControlList::Conditions kExceptionsForEntry76[2] = {
309 {
310 GpuControlList::kOsAny, // os_type
311 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
312 nullptr, nullptr}, // os_version
313 0x00, // vendor_id
314 0, // DeviceIDs size
315 nullptr, // DeviceIDs
316 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
317 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
318 nullptr, // driver info
319 nullptr, // GL strings
320 nullptr, // machine model info
321 &kMoreForEntry76Exception0, // more data
322 },
323 {
324 GpuControlList::kOsAny, // os_type
325 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
326 nullptr, nullptr}, // os_version
327 0x00, // vendor_id
328 0, // DeviceIDs size
329 nullptr, // DeviceIDs
330 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
331 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
332 nullptr, // driver info
333 &kGLStringsForEntry76Exception1, // GL strings
334 nullptr, // machine model info
335 nullptr, // more conditions
336 },
337 };
338
339 const GpuControlList::Conditions kExceptionsForEntry96[5] = {
340 {
341 GpuControlList::kOsAndroid, // os_type
342 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
343 nullptr, nullptr}, // os_version
344 0x00, // vendor_id
345 0, // DeviceIDs size
346 nullptr, // DeviceIDs
347 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
348 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
349 nullptr, // driver info
350 &kGLStringsForEntry96Exception0, // GL strings
351 nullptr, // machine model info
352 nullptr, // more conditions
353 },
354 {
355 GpuControlList::kOsAndroid, // os_type
356 {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "4.4",
357 nullptr}, // os_version
358 0x00, // vendor_id
359 0, // DeviceIDs size
360 nullptr, // DeviceIDs
361 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
362 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
363 nullptr, // driver info
364 &kGLStringsForEntry96Exception1, // GL strings
365 nullptr, // machine model info
366 nullptr, // more conditions
367 },
368 {
369 GpuControlList::kOsAndroid, // os_type
370 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
371 nullptr, nullptr}, // os_version
372 0x00, // vendor_id
373 0, // DeviceIDs size
374 nullptr, // DeviceIDs
375 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
376 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
377 nullptr, // driver info
378 &kGLStringsForEntry96Exception2, // GL strings
379 nullptr, // machine model info
380 nullptr, // more conditions
381 },
382 {
383 GpuControlList::kOsAndroid, // os_type
384 {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "4.4",
385 nullptr}, // os_version
386 0x00, // vendor_id
387 0, // DeviceIDs size
388 nullptr, // DeviceIDs
389 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
390 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
391 nullptr, // driver info
392 nullptr, // GL strings
393 nullptr, // machine model info
394 &kMoreForEntry96Exception3, // more data
395 },
396 {
397 GpuControlList::kOsAndroid, // os_type
398 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
399 nullptr, nullptr}, // os_version
400 0x00, // vendor_id
401 0, // DeviceIDs size
402 nullptr, // DeviceIDs
403 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
404 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
405 nullptr, // driver info
406 &kGLStringsForEntry96Exception4, // GL strings
407 nullptr, // machine model info
408 nullptr, // more conditions
409 },
410 };
411
412 const GpuControlList::Conditions kExceptionsForEntry122[3] = {
413 {
414 GpuControlList::kOsAny, // os_type
415 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
416 nullptr, nullptr}, // os_version
417 0x10de, // vendor_id
418 0, // DeviceIDs size
419 nullptr, // DeviceIDs
420 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
421 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
422 nullptr, // driver info
423 nullptr, // GL strings
424 nullptr, // machine model info
425 &kMoreForEntry122Exception0, // more data
426 },
427 {
428 GpuControlList::kOsAny, // os_type
429 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
430 nullptr, nullptr}, // os_version
431 0x8086, // vendor_id
432 0, // DeviceIDs size
433 nullptr, // DeviceIDs
434 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
435 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
436 nullptr, // driver info
437 nullptr, // GL strings
438 nullptr, // machine model info
439 &kMoreForEntry122Exception1, // more data
440 },
441 {
442 GpuControlList::kOsAny, // os_type
443 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
444 nullptr, nullptr}, // os_version
445 0x1002, // vendor_id
446 0, // DeviceIDs size
447 nullptr, // DeviceIDs
448 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
449 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
450 &kDriverInfoForEntry122Exception2, // driver info
451 nullptr, // GL strings
452 nullptr, // machine model info
453 &kMoreForEntry122Exception2, // more data
454 },
455 };
456
457 const GpuControlList::Conditions kExceptionsForEntry124[1] = {
458 {
459 GpuControlList::kOsAny, // os_type
460 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
461 nullptr, nullptr}, // os_version
462 0x00, // vendor_id
463 0, // DeviceIDs size
464 nullptr, // DeviceIDs
465 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
466 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
467 &kDriverInfoForEntry124Exception0, // driver info
468 nullptr, // GL strings
469 nullptr, // machine model info
470 nullptr, // more conditions
471 },
472 };
473
474 const GpuControlList::Conditions kExceptionsForEntry134[2] = {
475 {
476 GpuControlList::kOsAny, // os_type
477 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
478 nullptr, nullptr}, // os_version
479 0x00, // vendor_id
480 0, // DeviceIDs size
481 nullptr, // DeviceIDs
482 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
483 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
484 nullptr, // driver info
485 &kGLStringsForEntry134Exception0, // GL strings
486 nullptr, // machine model info
487 nullptr, // more conditions
488 },
489 {
490 GpuControlList::kOsAny, // os_type
491 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
492 nullptr, nullptr}, // os_version
493 0x00, // vendor_id
494 0, // DeviceIDs size
495 nullptr, // DeviceIDs
496 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
497 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
498 nullptr, // driver info
499 &kGLStringsForEntry134Exception1, // GL strings
500 nullptr, // machine model info
501 nullptr, // more conditions
502 },
503 };
504
505 const GpuControlList::Conditions kExceptionsForEntry137[1] = {
506 {
507 GpuControlList::kOsAny, // os_type
508 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
509 nullptr, nullptr}, // os_version
510 0x8086, // vendor_id
511 0, // DeviceIDs size
512 nullptr, // DeviceIDs
513 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
514 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
515 nullptr, // driver info
516 nullptr, // GL strings
517 nullptr, // machine model info
518 nullptr, // more conditions
519 },
520 };
521
522 } // namespace gpu
523
524 #endif // GPU_CONFIG_SOFTWARE_RENDERING_LIST_EXCEPTIONS_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/config/software_rendering_list_autogen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698