From: Brian P. <bri...@tu...> - 2006-08-24 16:57:33
|
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 |