mutter/cogl/winsys
Emmanuele Bassi c878acf6cf cogl-x11: Trap glXDestroyPixmap()
There are ordering issues in the pixmap destruction with current and
past X11 server, Mesa and dri2. Under some circumstances, an X pixmap
might be destroyed with the GLX pixmap still referencing it, and thus
the X server will decide to destroy the GLX pixmap as well; then, when
Cogl tries to destroy the GLX pixmap, it gets BadDrawable errors.

Clutter 1.2 used to trap + sync all calls to glXDestroyPixmap(), but
then we assumed that the ordering issue had been solved. So, we're back
to square 1.

I left a Big Fat Comment™ right above the glXDestroyPixmap() call
referencing the bug and the reasoning behind the trap, so that we don't
go and remove it in the future without checking that the issue has been
in fact solved.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2324
2010-10-04 14:26:23 +01:00
..
cogl-context-winsys.c Add a CoglTexturePixmapX11 texture backend 2010-06-22 12:22:48 +01:00
cogl-context-winsys.h texture-pixmap-x11: don't assume anything about the GLXFBConfig type 2010-06-22 16:53:59 +01:00
cogl-egl.c egl: Consolidates eglx and eglnative into one "egl" winsys 2010-06-18 17:38:41 +01:00
cogl-fruity.c Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-glx.c Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-osx.c Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-sdl.c Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-texture-pixmap-x11-private.h Add a CoglTexturePixmapX11 texture backend 2010-06-22 12:22:48 +01:00
cogl-texture-pixmap-x11.c cogl-x11: Trap glXDestroyPixmap() 2010-10-04 14:26:23 +01:00
cogl-texture-pixmap-x11.h docs: API reference fixes 2010-09-20 13:15:44 +01:00
cogl-win32.c Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-winsys-feature-functions.h Add a CoglTexturePixmapX11 texture backend 2010-06-22 12:22:48 +01:00
cogl-winsys.h Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-xlib.c cogl: Add _cogl_xlib_{,un}trap_errors 2010-06-22 12:22:47 +01:00
cogl-xlib.h cogl: Add _cogl_xlib_{,un}trap_errors 2010-06-22 12:22:47 +01:00