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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/gpu/gpu_data_manager_testing_arrays_and_structs_autogen.h
diff --git a/content/browser/gpu/gpu_data_manager_testing_arrays_and_structs_autogen.h b/content/browser/gpu/gpu_data_manager_testing_arrays_and_structs_autogen.h
new file mode 100644
index 0000000000000000000000000000000000000000..2e3413afabeef667c91268ce7b11ce405bd4ca8a
--- /dev/null
+++ b/content/browser/gpu/gpu_data_manager_testing_arrays_and_structs_autogen.h
@@ -0,0 +1,118 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file is auto-generated from
+// gpu/config/process_json.py
+// It's formatted by clang-format using chromium coding style:
+// clang-format -i -style=chromium filename
+// DO NOT EDIT!
+
+#ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_TESTING_ARRAYS_AND_STRUCTS_AUTOGEN_H_
+#define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_TESTING_ARRAYS_AND_STRUCTS_AUTOGEN_H_
+
+#include "gpu/config/gpu_feature_type.h"
+
+namespace gpu {
+const int kFeatureListForEntry1[1] = {
+ GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
+};
+
+const int kFeatureListForEntry2[1] = {
+ GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS,
+};
+
+const GpuControlList::GLStrings kGLStringsForEntry2 = {
+ nullptr, ".*GeForce.*", nullptr, nullptr,
+};
+
+const int kFeatureListForEntry3[1] = {
+ GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS,
+};
+
+const int kFeatureListForEntry4[2] = {
+ GPU_FEATURE_TYPE_WEBGL2, GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
+};
+
+const GpuControlList::GLStrings kGLStringsForEntry4 = {
+ nullptr, ".*GeForce.*", nullptr, nullptr,
+};
+
+const int kFeatureListForEntry5[1] = {
+ GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
+};
+
+const GpuControlList::GLStrings kGLStringsForEntry5Exception0 = {
+ nullptr, ".*GeForce.*", nullptr, nullptr,
+};
+
+const int kFeatureListForEntry6[1] = {
+ GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
+};
+
+const uint32_t kDeviceIDsForEntry6Exception0[1] = {
+ 0x0042,
+};
+
+const GpuControlList::DriverInfo kDriverInfoForEntry6Exception0 = {
+ nullptr, // driver_vendor
+ {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "8.0.2",
+ nullptr}, // driver_version
+ {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
+ nullptr}, // driver_date
+};
+
+const int kFeatureListForEntry7[1] = {
+ GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
+};
+
+const uint32_t kDeviceIDsForEntry7Exception0[1] = {
+ 0x0042,
+};
+
+const GpuControlList::DriverInfo kDriverInfoForEntry7Exception0 = {
+ nullptr, // driver_vendor
+ {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "8.0.2",
+ nullptr}, // driver_version
+ {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
+ nullptr}, // driver_date
+};
+
+const int kFeatureListForEntry8[1] = {
+ GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
+};
+
+const uint32_t kDeviceIDsForEntry8[1] = {
+ 0x0042,
+};
+
+const GpuControlList::DriverInfo kDriverInfoForEntry8 = {
+ "Mesa", // driver_vendor
+ {GpuControlList::kGE, GpuControlList::kVersionStyleNumerical, "8.0.0",
+ nullptr}, // driver_version
+ {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical, nullptr,
+ nullptr}, // driver_date
+};
+
+const int kFeatureListForEntry9[12] = {
+ GPU_FEATURE_TYPE_FLASH_STAGE3D,
+ GPU_FEATURE_TYPE_GPU_COMPOSITING,
+ GPU_FEATURE_TYPE_PANEL_FITTING,
+ GPU_FEATURE_TYPE_FLASH3D,
+ GPU_FEATURE_TYPE_GPU_RASTERIZATION,
+ GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS,
+ GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE,
+ GPU_FEATURE_TYPE_WEBGL2,
+ GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE,
+ GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
+ GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE,
+ GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE,
+};
+
+const int kFeatureListForEntry10[1] = {
+ GPU_FEATURE_TYPE_ACCELERATED_WEBGL,
+};
+
+} // namespace gpu
+
+#endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_TESTING_ARRAYS_AND_STRUCTS_AUTOGEN_H_
« 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