https://bugs.freedesktop.org/show_bug.cgi?id=29370
--- Comment #3 from Mario Kleiner <mario.klei...@tuebingen.mpg.de> 2010-08-03 12:11:14 PDT --- (In reply to comment #1) > This bug is the same I reported on the mailing list last week and it is > related > to bug 29181. Nevertheless, Kristian Høgsberg told me that it should not > return > NULL since there should always be a __GLXDRIdrawable in the hash table. > > dri2_glx.c, line 508ff says the following: > > /* Old servers don't send invalidate events */ > if (!pdp->invalidateAvailable) > dri2InvalidateBuffers(dpyPriv->dpy, pdraw->drawable); > > I am not sure if xorg-server 1.8.2 sends invalidate events which might > conflict > with this function call - but then pdp->invalidateAvailable should not be > false... 1.8.2 doesn't send invalidate events, so this call is correctly taken. Even if it were taken erroneously, it wouldn't matter or cause these symptoms. Could also be that something goes wrong inside dri2InvalidateBuffers(Display *dpy, XID drawable) { __GLXDRIdrawable *pdraw = dri2GetGlxDrawableFromXDrawableId(dpy, drawable); struct dri2_screen *psc = (struct dri2_screen *) pdraw->psc; struct dri2_drawable *pdp = (struct dri2_drawable *) pdraw; when it calls dri2GetGlxDrawableFromXDrawableId() and that one returns an invalid result. However i tested mesa master with both 1.8.2 (no invalidate events) and master (invalidate events) and it worked well. Didn't test with KWin though, so i don't know. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev