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

Unified Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 965643002: Chromecast: always enable CMA pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_browser_main_parts.cc
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc
index 3d9cee1c0e906367698b417e411c7a0f89459c98..513e6f8078a595f87aff90060368b8ee4c319fac 100644
--- a/chromecast/browser/cast_browser_main_parts.cc
+++ b/chromecast/browser/cast_browser_main_parts.cc
@@ -114,14 +114,16 @@ DefaultCommandLineSwitch g_default_switches[] = {
#if defined(DISABLE_DISPLAY)
{ switches::kDisableGpu, "" },
#endif
-#if defined(OS_LINUX) && defined(ARCH_CPU_X86_FAMILY)
+#if defined(OS_LINUX)
+#if defined(ARCH_CPU_X86_FAMILY)
// This is needed for now to enable the egltest Ozone platform to work with
// current Linux/NVidia OpenGL drivers.
{ switches::kIgnoreGpuBlacklist, ""},
- // TODO(gusfernandez): This is needed to fix a bug with
- // glPostSubBufferCHROMIUM (crbug.com/429200)
- { cc::switches::kUIDisablePartialSwap, ""},
+#elif defined(ARCH_CPU_ARM_FAMILY) && !defined(DISABLE_DISPLAY)
+ // On Linux arm, enable CMA pipeline by default.
+ { switches::kEnableCmaMediaPipeline, "" },
#endif
+#endif // defined(OS_LINUX)
// Needed to fix a bug where the raster thread doesn't get scheduled for a
// substantial time (~5 seconds). See https://crbug.com/441895.
{ switches::kUseNormalPriorityForTileTaskWorkerThreads, "" },
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698