Commit dbd2be26 authored by gusfernandez's avatar gusfernandez Committed by Commit bot

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}
parent 4f420ee7
include_rules = [ include_rules = [
# chromecast/browser/ is the top-level main directory for the Chromecast # chromecast/browser/ is the top-level main directory for the Chromecast
# embedder and can include from all other chromecast/ directories. # embedder and can include from all other chromecast/ directories.
"+cc/base/switches.h",
"+chromecast", "+chromecast",
"+components/crash", "+components/crash",
"+content/public/browser", "+content/public/browser",
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "base/command_line.h" #include "base/command_line.h"
#include "base/message_loop/message_loop.h" #include "base/message_loop/message_loop.h"
#include "base/prefs/pref_registry_simple.h" #include "base/prefs/pref_registry_simple.h"
#include "cc/base/switches.h"
#include "chromecast/base/metrics/cast_metrics_helper.h" #include "chromecast/base/metrics/cast_metrics_helper.h"
#include "chromecast/browser/cast_browser_context.h" #include "chromecast/browser/cast_browser_context.h"
#include "chromecast/browser/cast_browser_process.h" #include "chromecast/browser/cast_browser_process.h"
...@@ -56,6 +57,9 @@ DefaultCommandLineSwitch g_default_switches[] = { ...@@ -56,6 +57,9 @@ DefaultCommandLineSwitch g_default_switches[] = {
// This is needed for now to enable the egltest Ozone platform to work with // This is needed for now to enable the egltest Ozone platform to work with
// current Linux/NVidia OpenGL drivers. // current Linux/NVidia OpenGL drivers.
{ switches::kIgnoreGpuBlacklist, ""}, { switches::kIgnoreGpuBlacklist, ""},
// TODO(gusfernandez): This is needed to fix a bug with
// glPostSubBufferCHROMIUM (crbug.com/429200)
{ cc::switches::kUIDisablePartialSwap, ""},
#endif #endif
{ NULL, NULL }, // Termination { NULL, NULL }, // Termination
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment