From: Brian P. <bri...@tu...> - 2004-06-25 21:22:44
|
Mike Houston wrote: > >> [...] >> >> This is funny. Notice that glXMakeCurrent is being called with two >> different windows (8388610 and 8388612), and two different contexts. >> >> Are you using the same version of GLUT that you've always been using? >> I wonder if FC2 is using "freeglut" instead of the Kilgard library. >> >> -Brian >> > Say NO to FreeGLUT! Everything is working again with RH9's glut > package. What the heck is wrong with how freeglut works?... grumble, > grumble. > Can one of the RedHat folks take a look at freeglut, since it now ships > with Fedora, and see what the heck is breaking Chromium? Outside of > Chromium, glut apps seem to work fine with freeglut... I've got patches for freeglut and Chromium that seem to fix this problem. As I mentioned before, freeglut uses OpenGL to render its pop-up menus instead of Xlib or Win32 like the original glut. The second Cr window that's appearing corresponds to the app's glut menu. The patch to freeglut sets the menu window's name to "freeglut menu" and moves the initial call to glXMakeCurrent after the window's name is set. The patch to Chromium adds a new crfaker option 'ignore_freeglut_menus' (defaults to True) that checks if the window title is 'freeglut menu" and causes Chromium to render such windows with the native OpenGL. I'll check in the changes to Chromium and send the patch to the freeglut developers. -Brian |