From: Brian P. <br...@tu...> - 2002-02-28 02:23:31
|
"Schuyler, Dave" wrote: > > 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)). The Cr vs. native OpenGL stuff is only available via the faked GLX/WGL interfaces. It would be nice to expose that feature through the crCreateContext/crMakeCurrent/etc. interface as seen in psubmit.c. I'll keep that in the back of my mind. You should add it as a feature request on the SourceForge page. > 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? Evidently. defs.py seems to be a Windows-only thing. I haven't touched it. > Is there a reason to leave glSwapBuffers (for example) out of > cr/opengl_stub/defs.py, or could it be added? glSwapBuffers? crSwapBuffers and wglSwapBuffers are already present. -Brian |