Summary: | [7.9] DRI drawables prematurely destroyed on context switch | ||
---|---|---|---|
Product: | Mesa | Reporter: | Christopher James Halse Rogers <chalserogers> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | sarvatt |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Simpleminded patch which fixes Clutter apps. |
Description
Christopher James Halse Rogers
2010-09-29 04:14:54 UTC
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. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.