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

Side by Side Diff: content/browser/gpu/gpu_data_manager_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
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 CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_TESTING_ARRAYS_AND_STRUCTS_AUTOGEN_ H_
12 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_TESTING_ARRAYS_AND_STRUCTS_AUTOGEN_ H_
13
14 #include "gpu/config/gpu_feature_type.h"
15
16 namespace gpu {
17 const int kFeatureListForEntry1[1] = {
18 GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
19 };
20
21 const int kFeatureListForEntry2[1] = {
22 GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS,
23 };
24
25 const GpuControlList::GLStrings kGLStringsForEntry2 = {
26 nullptr, ".*GeForce.*", nullptr, nullptr,
27 };
28
29 const int kFeatureListForEntry3[1] = {
30 GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS,
31 };
32
33 const int kFeatureListForEntry4[2] = {
34 GPU_FEATURE_TYPE_WEBGL2, GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
35 };
36
37 const GpuControlList::GLStrings kGLStringsForEntry4 = {
38 nullptr, ".*GeForce.*", nullptr, nullptr,
39 };
40
41 const int kFeatureListForEntry5[1] = {
42 GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
43 };
44
45 const GpuControlList::GLStrings kGLStringsForEntry5Exception0 = {
46 nullptr, ".*GeForce.*", nullptr, nullptr,
47 };
48
49 const int kFeatureListForEntry6[1] = {
50 GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
51 };
52
53 const uint32_t kDeviceIDsForEntry6Exception0[1] = {
54 0x0042,
55 };
56
57 const GpuControlList::DriverInfo kDriverInfoForEntry6Exception0 = {
58 nullptr, // driver_vendor
59 {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "8.0.2",
60 nullptr}, // driver_version
61 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
62 nullptr}, // driver_date
63 };
64
65 const int kFeatureListForEntry7[1] = {
66 GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
67 };
68
69 const uint32_t kDeviceIDsForEntry7Exception0[1] = {
70 0x0042,
71 };
72
73 const GpuControlList::DriverInfo kDriverInfoForEntry7Exception0 = {
74 nullptr, // driver_vendor
75 {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "8.0.2",
76 nullptr}, // driver_version
77 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
78 nullptr}, // driver_date
79 };
80
81 const int kFeatureListForEntry8[1] = {
82 GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
83 };
84
85 const uint32_t kDeviceIDsForEntry8[1] = {
86 0x0042,
87 };
88
89 const GpuControlList::DriverInfo kDriverInfoForEntry8 = {
90 "Mesa", // driver_vendor
91 {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "8.0.0",
92 nullptr}, // driver_version
93 {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
94 nullptr}, // driver_date
95 };
96
97 const int kFeatureListForEntry9[12] = {
98 GPU_FEATURE_TYPE_FLASH_STAGE3D,
99 GPU_FEATURE_TYPE_GPU_COMPOSITING,
100 GPU_FEATURE_TYPE_PANEL_FITTING,
101 GPU_FEATURE_TYPE_FLASH3D,
102 GPU_FEATURE_TYPE_GPU_RASTERIZATION,
103 GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS,
104 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE,
105 GPU_FEATURE_TYPE_WEBGL2,
106 GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE,
107 GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
108 GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE,
109 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE,
110 };
111
112 const int kFeatureListForEntry10[1] = {
113 GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
114 };
115
116 } // namespace gpu
117
118 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_TESTING_ARRAYS_AND_STRUCTS_AUTOG EN_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_testing.json ('k') | content/browser/gpu/gpu_data_manager_testing_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698