diff options
author | junov <junov@chromium.org> | 2014-12-22 12:27:11 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-22 20:28:01 +0000 |
commit | 1546f423005338aac5961415bbfc48c61dc183ae (patch) | |
tree | 9957d5f4e4be1b46c246e171408d02a43acbc253 /content/shell/app/shell_main_delegate.cc | |
parent | 6b29eeed84720fc77b5ec2b5c9abe94a34df26fe (diff) | |
download | chromium_src-1546f423005338aac5961415bbfc48c61dc183ae.zip chromium_src-1546f423005338aac5961415bbfc48c61dc183ae.tar.gz chromium_src-1546f423005338aac5961415bbfc48c61dc183ae.tar.bz2 |
Enable display list 2D canvas by default
With this change, display list 2D canvas will become enabled by
default in Chrome. Content shell with --dump-render-tree will
continue to have display lists disabled by default.
Currently, having display lists enabled in blink means
that display lists will be used whenever 2d canvases would
not be GPU-accelerated.
BUG=386601
Review URL: https://codereview.chromium.org/818443002
Cr-Commit-Position: refs/heads/master@{#309453}
Diffstat (limited to 'content/shell/app/shell_main_delegate.cc')
-rw-r--r-- | content/shell/app/shell_main_delegate.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc index 914c264..2c54863 100644 --- a/content/shell/app/shell_main_delegate.cc +++ b/content/shell/app/shell_main_delegate.cc @@ -173,6 +173,10 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { command_line.AppendSwitch(switches::kForceTextBlobs); } + if (!command_line.HasSwitch(switches::kEnableDisplayList2dCanvas)) { + command_line.AppendSwitch(switches::kDisableDisplayList2dCanvas); + } + command_line.AppendSwitch(switches::kEnableInbandTextTracks); command_line.AppendSwitch(switches::kMuteAudio); |