From: Brian P. <br...@tu...> - 2002-02-28 00:55:37
|
"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 |