From: Schuyler, D. <Dav...@di...> - 2002-02-28 01:31:00
|
Hi, I've been working on making an app "chromium-aware", where instead of running crappfaker.exe the app will load crfaker.dll or spus on its own. So far each approach I've tried has hit a dead end. I'm still working on how best to handle this. This would (hopefully) allow the application to open any number of chromium and native windows at the same time (potentially asking different motherships about which config info to use (or using its own config scheme)). At the moment I'm wondering how functions get into cr/opengl_stub/defs.py. I don't see a generator for it (like windows_exports.py --> windows_exports.c). Are they simply added by hand? Is there a reason to leave glSwapBuffers (for example) out of cr/opengl_stub/defs.py, or could it be added? -----Original Message----- From: Brian Paul [mailto:br...@tu...] Sent: Wednesday, February 27, 2002 4:59 PM To: chr...@li... Subject: Re: [Chromium-dev] Native and Chromium "Schuyler, Dave" wrote: > > Hi, > > Every now and then I come across code in chromium that talks about rendering > to a native window or a chromium window. Does anyone have an example of > rendering to a local/native window and a chromium window from within the > same app (at the same time)? None of the Chromium demos do that. Some alternatives: Open Inventor sceneviewer - the color/material/light widgets will be rendered with native OpenGL while the main window will use Chromium. Mesa/xdemos/manywin - this is a trivially simple demo, but lets you create an arbitrary number of rendering windows, the first will use Chromium and the rest will use native OpenGL. Mesa/tests/multiwindow.c - (get it via CVS) this demo uses GLUT and creates two windows. I think there's a few other demos in the GLUT distro that create more than one window/context. Performer perfly creates a number of temporary contexts during start-up but really only uses one once it gets going. This probably isn't what you're looking for but it was a good test for Chromium. -Brian _______________________________________________ Chromium-dev mailing list Chr...@li... https://lists.sourceforge.net/lists/listinfo/chromium-dev |