From 1e180a6fa7f9d40f063d9dbfca6deae2c4daa08f Mon Sep 17 00:00:00 2001 From: Ylva Selling Date: Tue, 26 Apr 2022 18:39:08 -0400 Subject: [PATCH] Update CEF flags --- modules/webbrowser/src/webbrowserapp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/webbrowser/src/webbrowserapp.cpp b/modules/webbrowser/src/webbrowserapp.cpp index abca6be8dc..5558a987b3 100644 --- a/modules/webbrowser/src/webbrowserapp.cpp +++ b/modules/webbrowser/src/webbrowserapp.cpp @@ -42,7 +42,9 @@ void WebBrowserApp::OnContextCreated(CefRefPtr, CefRefPtr, void WebBrowserApp::OnBeforeCommandLineProcessing(const CefString&, CefRefPtr commandLine) { - commandLine->AppendSwitch("ignore-gpu-blacklist"); + commandLine->AppendSwitch("--enable-gpu-rasterization"); + commandLine->AppendSwitch("--use-gl=desktop"); + commandLine->AppendSwitch("ignore-gpu-blocklist"); commandLine->AppendSwitch("log-gpu-control-list-decisions"); commandLine->AppendSwitch("use-mock-keychain"); commandLine->AppendSwitch("enable-begin-frame-scheduling");