mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
c878acf6cf
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 |
||
---|---|---|
.. | ||
cogl-context-winsys.c | ||
cogl-context-winsys.h | ||
cogl-egl.c | ||
cogl-fruity.c | ||
cogl-glx.c | ||
cogl-osx.c | ||
cogl-sdl.c | ||
cogl-texture-pixmap-x11-private.h | ||
cogl-texture-pixmap-x11.c | ||
cogl-texture-pixmap-x11.h | ||
cogl-win32.c | ||
cogl-winsys-feature-functions.h | ||
cogl-winsys.h | ||
cogl-xlib.c | ||
cogl-xlib.h |