Mesa (master): glx: GLX_MESA_multithread_makecurrent is direct-only

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Aug 9 16:33:36 UTC 2018


Module: Mesa
Branch: master
Commit: 63a6b719d98fb1ad58ae93c2de859e6d4bfa8b8b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63a6b719d98fb1ad58ae93c2de859e6d4bfa8b8b

Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Dec  5 11:10:09 2017 -0500

glx: GLX_MESA_multithread_makecurrent is direct-only

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>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.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 a575862670..e85a8c9284 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 },




More information about the mesa-commit mailing list