Set VizDisplayCompositor feature enabled on desktop platforms.
In preparation for launching OOP-D on stable switch the
VizDisplayCompositor feature from disabled to enabled by default. This
is following with the finch best practices.
OOP-D is still disabled by default on Android and Chrome OS. Android
should get switched over shortly after fixing a few failing tests.
Chrome OS isn't ready to launch yet.
Bug: 730193
Change-Id: I6f55d40492291321d13925dd685181bdfda9f3d2
Reviewed-on: https://chromium-review.googlesource.com/c/1361930
Reviewed-by: Saman Sami <samans@chromium.org>
Commit-Queue: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613979}
diff --git a/components/viz/common/features.cc b/components/viz/common/features.cc
index 45ada21..edb4054 100644
--- a/components/viz/common/features.cc
+++ b/components/viz/common/features.cc
@@ -26,8 +26,13 @@
// Enables running the display compositor as part of the viz service in the GPU
// process. This is also referred to as out-of-process display compositor
// (OOP-D).
+#if defined(OS_CHROMEOS) || defined(OS_ANDROID)
const base::Feature kVizDisplayCompositor{"VizDisplayCompositor",
base::FEATURE_DISABLED_BY_DEFAULT};
+#else
+const base::Feature kVizDisplayCompositor{"VizDisplayCompositor",
+ base::FEATURE_ENABLED_BY_DEFAULT};
+#endif
// Enables running the Viz-assisted hit-test logic.
#if defined(OS_CHROMEOS)