JCEF for CefBrowserProcessHandler

Having problems with building or using the JCEF Java binding? Ask your questions here.

JCEF for CefBrowserProcessHandler

Postby bdenuit » Sun Aug 07, 2016 2:24 pm

Hi, I am using JCEF on a Windows Intelstick (Windows 10, M Core). It's working fine, but I noticed that in order to run videos I need to disable my GPU (--disable-gpu), and in order to run WebGL, I need to enable it.
I am currently using the CefAppHandler to add custom command line arguments to the browser process, but that only works once for my app. I would like to be able to switch command-line args for different urls I'm loading.

I think I could do this with CefBrowserProcessHandler::OnBeforeChildProcessLaunch, but I couldn't find the equivalent JCEF method for that.
Is my assumption correct?

Thanks,
Bruno.
bdenuit
Newbie
 
Posts: 4
Joined: Sun Aug 07, 2016 2:20 pm

Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 21 guests