[PATCH xserver 2/5] glx: Use vnd layer for dispatch (v4)

Adam Jackson ajax at nwnk.net
Wed Feb 14 22:15:34 UTC 2018


On Mon, 2018-02-05 at 15:00 -0500, 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 the context and move the
> context state there, so the tag data still points to a real context. As
> a result we can stop trying so hard to detach the client from contexts
> at disconnect time and just let resource destruction handle it.
> 
> Since vnd handles all the MakeCurrent protocol now, our request handlers
> for it can just be return BadImplementation. We also remove a bunch of
> LEGAL_NEW_RESOURCE, because now by the time we're called vnd has already
> allocated its tracking resource on that XID.
> 
> v2: Update to match v2 of the vnd import, and remove more redundant work
> like request length checks.
> 
> v3: Add/remove the XID map from the vendor private thunk, not the
> backend. (Kyle Brenneman)
> 
> v4: Fix deletion of ghost contexts (Kyle Brenneman)
> 
> Signed-off-by: Adam Jackson <ajax at redhat.com>

Merged this version, and the rest of the series:

remote: I: patch #202149 updated using rev 8753218beae641e5c5ac2c2ba598cfb99a893cf4.
remote: E: failed to find patch for rev d8ec33fe0542141aed1d9016d2ecaf52da944b4b.
remote: I: patch #196907 updated using rev 67c303fff303f94b62f03a76de97116c6ebcfda9.
remote: I: patch #196905 updated using rev 5d87e4f71355272c8da38c83f493b826623301cc.
remote: E: failed to find patch for rev 133bd4443be6b76a36afadfae0905b832e998165.
remote: I: 3 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   d1fdddeb7..133bd4443  master -> master

- ajax


More information about the xorg-devel mailing list