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

Side by Side Diff: gpu/config/gpu_control_list_testing_exceptions_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
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_EXCEPTIONS_AUTOGEN_H_
12 #define GPU_CONFIG_GPU_CONTROL_LIST_TESTING_EXCEPTIONS_AUTOGEN_H_
13
14 namespace gpu {
15 const GpuControlList::Conditions kExceptionsForEntry4[1] = {
16 {
17 GpuControlList::kOsAny, // os_type
18 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
19 nullptr, nullptr}, // os_version
20 0x10de, // vendor_id
21 0, // DeviceIDs size
22 nullptr, // DeviceIDs
23 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
24 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
25 nullptr, // driver info
26 nullptr, // GL strings
27 nullptr, // machine model info
28 nullptr, // more conditions
29 },
30 };
31
32 const GpuControlList::Conditions kExceptionsForEntry5[1] = {
33 {
34 GpuControlList::kOsAny, // os_type
35 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
36 nullptr, nullptr}, // os_version
37 0x8086, // vendor_id
38 0, // DeviceIDs size
39 nullptr, // DeviceIDs
40 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
41 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
42 nullptr, // driver info
43 nullptr, // GL strings
44 nullptr, // machine model info
45 nullptr, // more conditions
46 },
47 };
48
49 const GpuControlList::Conditions kExceptionsForEntry22[1] = {
50 {
51 GpuControlList::kOsAny, // os_type
52 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
53 nullptr, nullptr}, // os_version
54 0x00, // vendor_id
55 0, // DeviceIDs size
56 nullptr, // DeviceIDs
57 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
58 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
59 nullptr, // driver info
60 &kGLStringsForEntry22Exception0, // GL strings
61 nullptr, // machine model info
62 nullptr, // more conditions
63 },
64 };
65
66 const GpuControlList::Conditions kExceptionsForEntry28[1] = {
67 {
68 GpuControlList::kOsAndroid, // os_type
69 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
70 nullptr, nullptr}, // os_version
71 0x00, // vendor_id
72 0, // DeviceIDs size
73 nullptr, // DeviceIDs
74 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
75 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
76 nullptr, // driver info
77 nullptr, // GL strings
78 &kMachineModelInfoForEntry28Exception0, // machine model info
79 nullptr, // more conditions
80 },
81 };
82
83 const GpuControlList::Conditions kExceptionsForEntry30[1] = {
84 {
85 GpuControlList::kOsAny, // os_type
86 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
87 nullptr, nullptr}, // os_version
88 0x00, // vendor_id
89 0, // DeviceIDs size
90 nullptr, // DeviceIDs
91 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
92 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
93 nullptr, // driver info
94 nullptr, // GL strings
95 &kMachineModelInfoForEntry30Exception0, // machine model info
96 nullptr, // more conditions
97 },
98 };
99
100 const GpuControlList::Conditions kExceptionsForEntry45[2] = {
101 {
102 GpuControlList::kOsAny, // os_type
103 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
104 nullptr, nullptr}, // os_version
105 0x8086, // vendor_id
106 arraysize(kDeviceIDsForEntry45Exception0), // DeviceIDs size
107 kDeviceIDsForEntry45Exception0, // DeviceIDs
108 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
109 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
110 &kDriverInfoForEntry45Exception0, // driver info
111 nullptr, // GL strings
112 nullptr, // machine model info
113 nullptr, // more conditions
114 },
115 {
116 GpuControlList::kOsAny, // os_type
117 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
118 nullptr, nullptr}, // os_version
119 0x8086, // vendor_id
120 arraysize(kDeviceIDsForEntry45Exception1), // DeviceIDs size
121 kDeviceIDsForEntry45Exception1, // DeviceIDs
122 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
123 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
124 &kDriverInfoForEntry45Exception1, // driver info
125 nullptr, // GL strings
126 nullptr, // machine model info
127 nullptr, // more conditions
128 },
129 };
130
131 const GpuControlList::Conditions kExceptionsForEntry52[1] = {
132 {
133 GpuControlList::kOsAny, // os_type
134 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
135 nullptr, nullptr}, // os_version
136 0x00, // vendor_id
137 0, // DeviceIDs size
138 nullptr, // DeviceIDs
139 GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
140 GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
141 nullptr, // driver info
142 &kGLStringsForEntry52Exception0, // GL strings
143 nullptr, // machine model info
144 nullptr, // more conditions
145 },
146 };
147
148 } // namespace gpu
149
150 #endif // GPU_CONFIG_GPU_CONTROL_LIST_TESTING_EXCEPTIONS_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list_testing_entry_enums_autogen.h ('k') | gpu/config/gpu_control_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698