Re: Window creation questions
"Daniel E. Shipton" <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.user |
|---|---|
| Message-ID | <[email protected]> |
On 8/24/06, Brian Paul <[email protected]> wrote: > > 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. A passive window that already has a context that was created by another program for me. > 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 have seen the render_to_app_window, but this is for the desktop application, not the server(render nodes). I want the render nodes that are rendering the crapfaker graphics to be essentially injecting the OpenGL stream into this passive window. I ulitimately am going to be changing the OpenGL stream to cut out the view matrices and such but this is the first step before I get to that. > 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. I would like to avoid getting deep into X and GLX if possible ;) -Daniel ------------------------------------------------------------------------- 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 _______________________________________________ Chromium-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chromium-users