I'm using Awesomium(www.awesomium.com), version 1.7, to store a website and then render it to a plane in my application. The plan is to have some kind of GUI system connected to a home page and continuously render the site on the plane and update it once something has happened on the site.
Now, the problem is that I have not idea where to start with this framework. The documentation for 1.7 is completely different from the 1.6.6 version and there's no sample code or tutorials to be found anywhere. So far I've initialized the entire thing and have been able to load a website and save it to a PNG. I can then, of course, just render the PNG to the plane and it works.
However, loading a website, saving it to file only to load it from file and render it is a huge waste of resources so I'm trying to skip the SaveToPNG - stage. The problem is that I have no idea how to use the Awesomium Framework for rendering. In the old version there were RenderBuffers and Render calls to be made from those buffers, but the 1.7 version has that completely changed and I can't find the equivalent ways to do this in the 1.7.
Using the 1.6.6 version is not an option since it's not compatible with VS2010. Even if I set the VS2010 to use the old compiler from VS2008(which should work) it doesn't work.
What I've done so far is load the website onto a Awesomium::BitmapSurface object, but I don't know what to do with the data in it. The Awesomium::BitmapSurface contains a buffer with raw 32-bit BGRA format and I can get the bitmap height and width in pixels as well.
If anyone can help me out I would be very grateful, thanks in advance
Edited by PwFClockWise, 08 January 2013 - 03:53 AM.