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

Unified Diff: gpu/config/gpu_finch_features.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: fix win clang build Created 3 years, 10 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
« no previous file with comments | « gpu/config/gpu_finch_features.h ('k') | gpu/config/gpu_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_finch_features.cc
diff --git a/gpu/config/gpu_finch_features.cc b/gpu/config/gpu_finch_features.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f3b9685d473f938f6b2a2f9ce7e731c76e57a773
--- /dev/null
+++ b/gpu/config/gpu_finch_features.cc
@@ -0,0 +1,21 @@
+// 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.
+#include "gpu/config/gpu_finch_features.h"
+
+#include "build/build_config.h"
+
+namespace features {
+
+// Enable GPU Rasterization by default. This can still be overridden by
+// --force-gpu-rasterization or --disable-gpu-rasterization.
+#if defined(OS_ANDROID) || defined(OS_MACOSX)
+// DefaultEnableGpuRasterization has launched on Android and Mac.
+const base::Feature kDefaultEnableGpuRasterization{
+ "DefaultEnableGpuRasterization", base::FEATURE_ENABLED_BY_DEFAULT};
+#else
+const base::Feature kDefaultEnableGpuRasterization{
+ "DefaultEnableGpuRasterization", base::FEATURE_DISABLED_BY_DEFAULT};
+#endif
+
+} // namespace features
« no previous file with comments | « gpu/config/gpu_finch_features.h ('k') | gpu/config/gpu_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698