I have tried to disable accelerated compositing and webgl both programmatically and using command line switches but the browser process is still launching a process with type=gpu-process. Here is the complete browser setting:
CefBrowserSettings browserSettings;
browserSettings.accelerated_compositing = STATE_DISABLED;
browserSettings.webgl = STATE_DISABLED;
// the other settings used are:
browserSettings.plugins = STATE_DISABLED;
browserSettings.java = STATE_DISABLED;
browserSettings.javascript_close_windows = STATE_DISABLED;
browserSettings.javascript_access_clipboard = STATE_DISABLED;
browserSettings.javascript_dom_paste = STATE_DISABLED;
browserSettings.local_storage = STATE_DISABLED;
browserSettings.databases = STATE_DISABLED;
browserSettings.universal_access_from_file_urls = STATE_DISABLED;
browserSettings.web_security = STATE_ENABLED;
I am also providing the following command line switches when launching the CEF process: "--disable-accelerated-compositing", "--disable-webgl".