diff options
author | gusfernandez <gusfernandez@chromium.org> | 2014-11-03 09:18:38 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-03 17:18:58 +0000 |
commit | dbd2be26de239f58ca23b18e0e8f204cb6d7ba2e (patch) | |
tree | 3383f86b3c34aea17cf01ca5b8619b14e48efee6 | |
parent | 4f420ee7d920c66f193a6aee31973d994d4a2e19 (diff) | |
download | chromium_src-dbd2be26de239f58ca23b18e0e8f204cb6d7ba2e.zip chromium_src-dbd2be26de239f58ca23b18e0e8f204cb6d7ba2e.tar.gz chromium_src-dbd2be26de239f58ca23b18e0e8f204cb6d7ba2e.tar.bz2 |
Specify --ui-disable-partial-swap in the internal command Lines
This works around a blue-screen bug with eglPostSubBuffer.
BUG=429200
Review URL: https://codereview.chromium.org/693953002
Cr-Commit-Position: refs/heads/master@{#302442}
-rw-r--r-- | chromecast/browser/DEPS | 1 | ||||
-rw-r--r-- | chromecast/browser/cast_browser_main_parts.cc | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/chromecast/browser/DEPS b/chromecast/browser/DEPS index b1af363..fcbae35 100644 --- a/chromecast/browser/DEPS +++ b/chromecast/browser/DEPS @@ -1,6 +1,7 @@ include_rules = [ # chromecast/browser/ is the top-level main directory for the Chromecast # embedder and can include from all other chromecast/ directories. + "+cc/base/switches.h", "+chromecast", "+components/crash", "+content/public/browser", diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc index 55d990c..cb07200 100644 --- a/chromecast/browser/cast_browser_main_parts.cc +++ b/chromecast/browser/cast_browser_main_parts.cc @@ -7,6 +7,7 @@ #include "base/command_line.h" #include "base/message_loop/message_loop.h" #include "base/prefs/pref_registry_simple.h" +#include "cc/base/switches.h" #include "chromecast/base/metrics/cast_metrics_helper.h" #include "chromecast/browser/cast_browser_context.h" #include "chromecast/browser/cast_browser_process.h" @@ -56,6 +57,9 @@ DefaultCommandLineSwitch g_default_switches[] = { // 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, ""}, #endif { NULL, NULL }, // Termination }; |