off-screen rendering for linux

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

off-screen rendering for linux

Postby johanneswilm » Wed Jul 04, 2012 4:10 pm

Support for off-screen rending through SetAsOffScreen.

It is available for Mac OS X and Windows, but unfortunately not Linux. Essentially I would imagine it would mean replicating most of what has been done to the Mac OS X version. The problem is that the corresponding commit (http://code.google.com/p/chromiumembedd ... ail?r=625#) includes various other things, so it's not that easy to figure out exactly what would be needed for someone who doesn't know the codebase well. But if magrennblatt could say something about what of this relates to off-screen rendering and how the Linux version is different in a way that made it impossible to copy the Mac OS X code, then that would be helpful and I could have a go at it.

This has previously been mentioned as a "bug": http://code.google.com/p/chromiumembedd ... rt=&id=594
johanneswilm
Newbie
 
Posts: 1
Joined: Wed Jul 04, 2012 3:32 pm

Re: off-screen rendering for linux

Postby magreenblatt » Fri Jul 06, 2012 3:12 pm

There are two parts to off-screen rendering;

1. Implementing the CefResourceHandler callbacks.
2. Supporting input events via CefBrowser.

Look for those methods in the Windows and Max OS-X code (mostly WebWidgetHost and BrowserWebViewDelegate).
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 50 guests