[Mesa-dev] [PATCH] glx: GLX_MESA_multithread_makecurrent is direct-only

Nicolai Hähnle nhaehnle at gmail.com
Wed Dec 6 10:29:37 UTC 2017


On 05.12.2017 17:10, Adam Jackson wrote:
> This extension is not defined for indirect contexts. Marking it as
> "client only", as the old code did here, would make the extension
> available in indirect contexts, even though the server would certainly
> not have it in its extension list.
> 
> Cc: <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Adam Jackson <ajax at redhat.com>

Makes sense.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>


> ---
>   src/glx/glxextensions.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
> index af6ffbf660..638d8bcbbe 100644
> --- a/src/glx/glxextensions.c
> +++ b/src/glx/glxextensions.c
> @@ -152,7 +152,7 @@ static const struct extension_info known_glx_extensions[] = {
>      { GLX(ATI_pixel_format_float),      VER(0,0), N, N, N, N },
>      { GLX(INTEL_swap_event),            VER(0,0), Y, N, N, N },
>      { GLX(MESA_copy_sub_buffer),        VER(0,0), Y, N, N, N },
> -   { GLX(MESA_multithread_makecurrent),VER(0,0), Y, N, Y, N },
> +   { GLX(MESA_multithread_makecurrent),VER(0,0), Y, N, N, Y },
>      { GLX(MESA_query_renderer),         VER(0,0), Y, N, N, Y },
>      { GLX(MESA_swap_control),           VER(0,0), Y, N, N, Y },
>      { GLX(NV_float_buffer),             VER(0,0), N, N, N, N },
> 


-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the mesa-dev mailing list