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

Unified Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 2387333004: [Chromecast] Add kDisableES3GLContext to command line on Cast builds. (Closed)
Patch Set: TODO added. Also, it actually works now. Created 4 years, 2 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 | content/browser/gpu/gpu_process_host.cc » ('j') | 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 22df7643d29d8ef8f303780d6314dfff2fe0b782..d098b063e22e7e5eed15cac013c518ba6368119a 100644
--- a/chromecast/browser/cast_browser_main_parts.cc
+++ b/chromecast/browser/cast_browser_main_parts.cc
@@ -61,6 +61,7 @@
#include "media/base/media.h"
#include "media/base/media_switches.h"
#include "ui/compositor/compositor_switches.h"
+#include "ui/gl/gl_switches.h"
#if !defined(OS_ANDROID)
#include <signal.h>
@@ -241,6 +242,9 @@ DefaultCommandLineSwitch g_default_switches[] = {
// BrowserThreadsStarted). The GPU process will be created as soon as a
// renderer needs it, which always happens after main loop starts.
{ switches::kDisableGpuEarlyInit, "" },
+ // TODO(halliwell): Cast builds don't support ES3. Remove this switch when
+ // support is added (crbug.com/659395)
+ { switches::kDisableES3GLContext, "" },
// Enable navigator.connection API.
// TODO(derekjchow): Remove this switch when enabled by default.
{ switches::kEnableNetworkInformation, "" },
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698