Skip to content

Commit

Permalink
Set command-line arguments for best off-screen rendering performance
Browse files Browse the repository at this point in the history
This is also a workaround for the issue where CEF wouldn't render anything.
  • Loading branch information
OsirisNL committed Aug 7, 2016
1 parent dcb39e4 commit 834edb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shared/browser-app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ void BrowserApp::OnBeforeCommandLineProcessing(
CefRefPtr<CefCommandLine> command_line)
{
command_line->AppendSwitch("enable-system-flash");
command_line->AppendSwitch("disable-gpu");
command_line->AppendSwitch("disable-gpu-compositing");
command_line->AppendSwitch("enable-begin-frame-scheduling");
}

0 comments on commit 834edb9

Please sign in to comment.