[Mesa-dev] [Bug 30457] [7.9] DRI drawables prematurely destroyed on context switch

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 29 06:12:56 PDT 2010


Kristian Høgsberg <krh at bitplanet.net> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Kristian Høgsberg <krh at bitplanet.net> 2010-09-29 06:12:56 PDT ---
4b70fe8421f5132c585ff1dfb8d90229be26e71f should fix the clutter issue, but the
piglit test you sent tests something different.  If you look at the actual X
errors, the clutter problem comes from glXMakeCurrent getting a BadDrawable,
the test case fails in glXSwapBuffers.  To test the clutter problem you'll have
to create two GLXDrawables (A and B) and then make a context current with A,
then B, then switch back to A.  If you have time to write up a test case for
this, that would be much appreciated.

The swapbuffer problem is still present, and I've committed the test case to
piglit, but it's a much rarer case to hit.  Few applications do glXSwapBuffer
for a drawable that's not also current, but it has to work, of course.

The clutter problem is fixed (reproduced using test-multistage) and
cherry-picked back to 7.9 (b24238c49abf9b6aaaac56ffbf45a3c203c7ddd2) so I'll
close this bug.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the mesa-dev mailing list