[PATCH xserver 4/4] glx: Remove glx{Suspend,Resume}Clients

Keith Packard keithp at keithp.com
Thu Jun 29 17:39:50 UTC 2017


Adam Jackson <ajax at redhat.com> writes:

> -static __GLXcontext *glxPendingDestroyContexts;

Can you explain why glx context destruction was delayed until we had the
VT again? And, if so, why you don't think we still need to do this?

> -    /* If we're currently blocking GLX clients, just put this guy to
> -     * sleep, reset the request and return. */
> -    if (glxBlockClients) {
> -        ResetCurrentRequest(client);
> -        client->sequence--;
> -        IgnoreClient(client);
> -        return Success;
> -    }
> -

This suspends delivery of rendering requests to the driver during VT
switch, which still seems necessary if we're driving the hardware ring
from user space.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170629/11f595ba/attachment.sig>


More information about the xorg-devel mailing list