You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CefSharp
Just out of curiosity: what would be necessary to get the WPF control rendering without the offscreen renderer?
Alex Maitland
unread,
Jul 29, 2015, 4:26:02 AM7/29/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CefSharp, ray...@gmail.com
Can you elaborate more? What exactly are you trying to achieve?
There is obviously a WinForms version which theoretically you can host in `WPF`.
Raimund Bauer
unread,
Jul 29, 2015, 10:32:05 AM7/29/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CefSharp, maitla...@gmail.com
It is my understanding, that the offscreen renderer has to render a whole page for every little change in the page's markup. With a big window and animations running or animated gifs showing, the application's cpu usage goes up to about 40% (from below 10%) and customers complained about it... Disabling hw acceleration has already helped a bit, but isn't really the solution we're happy with.
Using the WinForms control in WPF also doesn't sound like an efficient solution, do you think I should try it?
Alex Maitland
unread,
Jul 29, 2015, 6:12:06 PM7/29/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CefSharp, ray...@gmail.com
You can try using a different implementation for generating the bitmaps. The alternate implementation supports only updating dirty rects, so it may prove some performance benefit, it also may not if you have a large number of animations all happening at once as there is only one rect that's updated, so if you have things happening everywhere, it basically redraws the whole screen.