CEF3: Off-screen rendering never paints/finishes loading

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.

CEF3: Off-screen rendering never paints/finishes loading

Postby dreijer » Mon Jan 21, 2013 12:15 pm

I run CEF3 in multithreaded mode (through Xilium).I create a browser window by calling CefWindowInfo::SetAsOffScreen() passing it to CefBrowserHost::CreateBrowser(). I get the CefLifeSpanHandler::OnAfterCreated() callback, at which point I call CefBrowserHost::WasResized(), which results in a CefRenderHandler::GetViewRect() callback. I then get CefDisplayHandler::OnLoadingStateChange() with isLoading set to true. Then everything stops.

Am I missing something here?
dreijer
Expert
 
Posts: 201
Joined: Mon Apr 11, 2011 10:09 pm

Re: CEF3: Off-screen rendering never paints/finishes loading

Postby magreenblatt » Tue Jan 22, 2013 9:00 am

Does Xilium provide an off-screen rendering example? If so, does that example work? Perhaps you can start with that example and work backwards to identify your problem.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF3: Off-screen rendering never paints/finishes loading

Postby fddima » Tue Jan 22, 2013 9:23 am

So, no have idea what which can be wrong.
Currently no OSR sample provided.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: CEF3: Off-screen rendering never paints/finishes loading

Postby dreijer » Tue Jan 22, 2013 9:39 am

fddima wrote:So, no have idea what which can be wrong.
Currently no OSR sample provided.


Would you be up for working on identifying this together? I'm not sure why Xilium would have any effect on this if it mostly just passes through the calls.
dreijer
Expert
 
Posts: 201
Joined: Mon Apr 11, 2011 10:09 pm

Re: CEF3: Off-screen rendering never paints/finishes loading

Postby fddima » Tue Jan 22, 2013 9:42 am

dreijer wrote:
fddima wrote:So, no have idea what which can be wrong.
Currently no OSR sample provided.


Would you be up for working on identifying this together? I'm not sure why Xilium would have any effect on this if it mostly just passes through the calls.


1: If you have minimal reproduction sample, give it to me. I will try look at this sample. Or if you want, you can write own OSR sample for Xilium.CefGlue;

2: project named "Xilium.CefGlue", once anyone just say Xilium, it is becomes not useful for peoples who read your post, and doesn't know what about subject you saying.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: CEF3: Off-screen rendering never paints/finishes loading

Postby dreijer » Tue Jan 22, 2013 9:48 am

fddima wrote:1: If you have minimal reproduction sample, give it to me. I will try look at this sample. Or if you want, you can write own OSR sample for Xilium.CefGlue;


Yes, I have a minimal WPF sample I can send you (.NET 4). Are you available on XMPP or anything like that?
dreijer
Expert
 
Posts: 201
Joined: Mon Apr 11, 2011 10:09 pm

Re: CEF3: Off-screen rendering never paints/finishes loading

Postby fddima » Tue Jan 22, 2013 9:49 am

dreijer wrote:
fddima wrote:1: If you have minimal reproduction sample, give it to me. I will try look at this sample. Or if you want, you can write own OSR sample for Xilium.CefGlue;


Yes, I have a minimal WPF sample I can send you (.NET 4). Are you available on XMPP or anything like that?

Yes, search same nick as at this forum at google talk.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: CEF3: Off-screen rendering never paints/finishes loading

Postby dreijer » Tue Jan 22, 2013 9:52 am

fddima wrote:Yes, search same nick as at this forum at google talk.

Great, I added you.
dreijer
Expert
 
Posts: 201
Joined: Mon Apr 11, 2011 10:09 pm

Re: CEF3: Off-screen rendering never paints/finishes loading

Postby fddima » Tue Jan 22, 2013 3:36 pm

After examining sample, i'm still waiting for feedback, but looks like in general works good.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 199 guests