[Mesa-dev] [PATCH] swrast: remove unneeded _glapi_check_multithread() call

Eric Anholt eric at anholt.net
Wed Jul 18 18:34:49 UTC 2018


Emil Velikov <emil.l.velikov at gmail.com> writes:

> From: Emil Velikov <emil.velikov at collabora.com>
>
> With commit c6c0f947142, back in 2006 Brian removed the
> _glapi_check_multithread() call from core mesa - _mesa_make_current.
>
> He moved it to a DRI loader (type of) decision - with equivalents in
> the monolithic OSMesa and libGL-Xlib.
>
> Some time afterwords, swrast (a DRI driver) was introduced as a copy
> paste of the latter two. Remove the call since the DRI loader handles
> that for us.
>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

Does anything make sure it gets called for classic drivers under EGL?

Actually, wouldn't it make sense to move this back to the core, at this
point?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180718/4923d9c4/attachment.sig>


More information about the mesa-dev mailing list