Re: [PATCH xserver 2/4] glx: Use vnd layer for dispatch (v3)

2018-02-05 Thread Adam Jackson
On Mon, 2018-02-05 at 12:05 -0700, Kyle Brenneman wrote: > In __glXDisp_DestroyContext, doesn't it need to record the fake XID that > it generates? If I'm reading it right, if the client deletes a current > context and later unbinds it, then xorgGlxMakeCurrent will call > FreeResourceByType

Re: [PATCH xserver 2/4] glx: Use vnd layer for dispatch (v3)

2018-02-05 Thread Kyle Brenneman
On 02/02/2018 12:15 PM, Adam Jackson wrote: The big change here is MakeCurrent and context tag tracking. We now delegate context tags entirely to the vnd layer, and simply store a pointer to the context state as the tag data. If a context is deleted while it's current, we allocate a fake ID for

[PATCH xserver 2/4] glx: Use vnd layer for dispatch (v3)

2018-02-02 Thread Adam Jackson
The big change here is MakeCurrent and context tag tracking. We now delegate context tags entirely to the vnd layer, and simply store a pointer to the context state as the tag data. If a context is deleted while it's current, we allocate a fake ID for the context and move the context state there,