Re: Window creation questions

Brian Paul <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
Daniel E. Shipton wrote:
> I would like to have chromium render to a context that I have already 
> created.

You mean render to a window, right?  A rendering context != a window.


> Is the best way to do this is re-writing a render spu with that 
> purpose?

Have you seen the render SPU's 'render_to_app_window' option?


> I hacked the render spu a bit for the prototype and got rid of 
> any window/context creation calls and makeCurrent calls.  What I really 
> would like to do is just use Chromium to transport the graphics stream.  
> I would like to be in charge of opening windows and contexts, and then 
> telling chromium to render (insert the stream) into each 
> window/context.  Ideas?

Well, if you don't want to mess with X windows or GLX at all, you can 
use the native Chromium interface for creating windows, rendering 
contexts, binding them, etc.  See the cr/include/chromium.h file.

-Brian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.