Sluggish performance on branch 2704/Win32

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Sluggish performance on branch 2704/Win32

Postby callum » Fri Jul 29, 2016 4:12 pm

I recently updated the the version of CEF I build against from 2526 to 2704 (Win32).

My use case renders content offscreen and uses it as an OpenGL texture.

I grab pixels via CefRenderHandler::OnPaint() and regularly call CefDoMessageLoopWork() to move things along.

After the update I notice that content is updated much less frequently - YouTube appears to play at 0.5 Hz for example.

CefCLient behaves as expected even when I force off screen rendering.

Does anyone know offhand what changed between 2526 and 2704 that might cause these issues.
callum
Expert
 
Posts: 293
Joined: Mon Feb 23, 2015 6:19 pm

Re: Sluggish performance on branch 2704/Win32

Postby magreenblatt » Fri Jul 29, 2016 4:17 pm

You should use the same command-line flags that cefclient uses: https://bitbucket.org/chromiumembedded/ ... wser.cc-18
magreenblatt
Site Admin
 
Posts: 10748
Joined: Fri May 29, 2009 6:57 pm

Re: Sluggish performance on branch 2704/Win32

Postby callum » Fri Jul 29, 2016 4:54 pm

Experimenting with copying command line flags, removing all mine, removing all of CefClients etc. didn't appear to make any difference.

One thing I notices that might be relevant based on what I saw in a comment is that WebGL is now disabled even though I explicitly enable it during setup.

Did the way those flags are used change from 2526 to 2704?

I'll continue to investigate.
callum
Expert
 
Posts: 293
Joined: Mon Feb 23, 2015 6:19 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 2 guests