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

Unified Diff: content/browser/gpu/gpu_data_manager_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, 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_exceptions_autogen.h
diff --git a/content/browser/gpu/gpu_data_manager_testing_exceptions_autogen.h b/content/browser/gpu/gpu_data_manager_testing_exceptions_autogen.h
new file mode 100644
index 0000000000000000000000000000000000000000..a5504276602a581708afa7bf70e5cc1070b0d895
--- /dev/null
+++ b/content/browser/gpu/gpu_data_manager_testing_exceptions_autogen.h
@@ -0,0 +1,68 @@
+// 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_EXCEPTIONS_AUTOGEN_H_
+#define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_TESTING_EXCEPTIONS_AUTOGEN_H_
+
+namespace gpu {
+const GpuControlList::Conditions kExceptionsForEntry5[1] = {
+ {
+ GpuControlList::kOsAny, // os_type
+ {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
+ nullptr, nullptr}, // os_version
+ 0x00, // vendor_id
+ 0, // DeviceIDs size
+ nullptr, // DeviceIDs
+ GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
+ GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
+ nullptr, // driver info
+ &kGLStringsForEntry5Exception0, // GL strings
+ nullptr, // machine model info
+ nullptr, // more conditions
+ },
+};
+
+const GpuControlList::Conditions kExceptionsForEntry6[1] = {
+ {
+ GpuControlList::kOsAny, // os_type
+ {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
+ nullptr, nullptr}, // os_version
+ 0x8086, // vendor_id
+ arraysize(kDeviceIDsForEntry6Exception0), // DeviceIDs size
+ kDeviceIDsForEntry6Exception0, // DeviceIDs
+ GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
+ GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
+ &kDriverInfoForEntry6Exception0, // driver info
+ nullptr, // GL strings
+ nullptr, // machine model info
+ nullptr, // more conditions
+ },
+};
+
+const GpuControlList::Conditions kExceptionsForEntry7[1] = {
+ {
+ GpuControlList::kOsAny, // os_type
+ {GpuControlList::kUnknown, GpuControlList::kVersionStyleNumerical,
+ nullptr, nullptr}, // os_version
+ 0x8086, // vendor_id
+ arraysize(kDeviceIDsForEntry7Exception0), // DeviceIDs size
+ kDeviceIDsForEntry7Exception0, // DeviceIDs
+ GpuControlList::kMultiGpuCategoryNone, // multi_gpu_category
+ GpuControlList::kMultiGpuStyleNone, // multi_gpu_style
+ &kDriverInfoForEntry7Exception0, // driver info
+ nullptr, // GL strings
+ nullptr, // machine model info
+ nullptr, // more conditions
+ },
+};
+
+} // namespace gpu
+
+#endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_TESTING_EXCEPTIONS_AUTOGEN_H_
« no previous file with comments | « content/browser/gpu/gpu_data_manager_testing_entry_enums_autogen.h ('k') | content/browser/resources/gpu/info_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698