[Mesa-dev] [Bug 29646] baddrawable when resizing a window in gnome-shell/mutter

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 23 13:18:10 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29646

--- Comment #4 from Owen Taylor <otaylor at redhat.com> 2010-09-23 13:18:10 PDT ---
(In reply to comment #3)
> Created an attachment (id=37983)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37983
 Review: https://bugs.freedesktop.org/review?bug=29646&attachment=37983

> ignore bad drawable error from dri2 destroy drawable.
> 
> Please give this patch a try.

I'm wondering if a client side approach like this can possibly be right. If the
sequence:

 XDestroyPixmap()
 glxDestroyPixmap()

Then the sequence:

 XDestroyPixmap()
 [ arbitrary time passes ]
 [ GLX pixmap ID is recycled via client/server negotiation ]
 glxDestroyPixmap()

is also valid. So, I'd think that if glxDestroyPixmap() can follow
XDestroyPixmap() the GLX pixmap X ID has to be kept around and not deallocated
in the server until glXDestroyPixmp is called (or the client exits)

-- 
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