Question

I'm looking for a portable, as-less-hackish-as-possible way of rendering WebKit into texture, and injecting events back into texture. Bonus points for being able to override theme of UI elements (textboxes, buttons, scrollbars). Extra bonus points for being able to render into SDL surface as well. Overall, I'd like to be able to just grab a RGBA pixel byte array and do with it as I please. Browser shouldn't be running, it should all be done in-game.

This should in no way be platform dependent and should be compatible with developing both proprietary and DFGS-free software.

Was it helpful?

Solution

Berkelium is an open source (BSD) project designed to do this, but I don't have any personal experience with it.

Edit October 2013:

I still seem to be getting the occasional upvote for this answer, although as mentioned in the comments bellow Berkelium does seem to be pretty much abandoned (I know I vaguely defend it against that accusation in the comments, but realistically it is true).

I've read some encouraging things recently about Chromium Embedded and would suggest the dear reader may want to check that out, as well as this related SO question.

Awesomium is also well worth a mention. Not being FOSS might be a deal-breaker for some, but it is free to use if your revenue is <$100k.

OTHER TIPS

I think Awesomium does what you are asking for. It is free for non-commercial use. But be forewarned, previous versions of the project had some serious bugs and performance issues. Try before you buy.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top