Offscreen rendering with mutiprocess

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Offscreen rendering with mutiprocess

Postby Hayashida » Sun Apr 23, 2017 1:17 am

I have a historic DirectX application. My goal is that the app can show multiple web pages on the screen.
I am now able to do it with CEF3 in offscreen rendering mode and single process mode.
(I appreciate all of your efforts for CEF!)

While performance to render the screen looks pretty good, performance to load a web page is extremely slow.
I guess it is because it is running in single process mode.

I tried the multiple process mode once, but it was not acceptable because it launched multiple instances of my DirectX application.

In this context, am I able to achieve the DirectX application with CEF in multi process mode?
How can I do it if it is possible?
Hayashida
Newbie
 
Posts: 2
Joined: Fri Apr 14, 2017 6:42 pm

Re: Offscreen rendering with mutiprocess

Postby magreenblatt » Sun Apr 23, 2017 9:47 am

You should use a separate subprocess executable. See https://bitbucket.org/chromiumembedded/ ... executable
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Offscreen rendering with mutiprocess

Postby Hayashida » Mon Apr 24, 2017 11:27 pm

It works! That's amazing!
I misunderstood I had to make some messaging protocols between subprocesses.
Performance is pretty good. Thank you.
Hayashida
Newbie
 
Posts: 2
Joined: Fri Apr 14, 2017 6:42 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 86 guests