Mesa (master): Revert "glx: Unset the direct_support bit for GLX_EXT_import_context"

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 30 22:06:58 UTC 2019


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

Author: Adam Jackson <ajax at redhat.com>
Date:   Thu Aug 29 12:15:22 2019 -0400

Revert "glx: Unset the direct_support bit for GLX_EXT_import_context"

The GLX extension strings are independent of any context, so abusing the
direct_support bit to control this extension's visibility is wrong.

This reverts commit 079d0717fc896bc8086b037d0ed22642274986c7.

Reported-by: Michel Dänzer <michel at daenzer.net>
Reviewed-by: Michel Dänzer <michel at daenzer.net>

---

 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 a6fcc5f744b..f6a7a31a219 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -146,7 +146,7 @@ static const struct extension_info known_glx_extensions[] = {
    { GLX(EXT_create_context_es_profile), VER(0,0), Y, N, N, N },
    { GLX(EXT_fbconfig_packed_float),   VER(0,0), Y, Y, N, N },
    { GLX(EXT_framebuffer_sRGB),        VER(0,0), Y, Y, N, N },
-   { GLX(EXT_import_context),          VER(0,0), Y, N, N, N },
+   { GLX(EXT_import_context),          VER(0,0), Y, Y, N, N },
    { GLX(EXT_texture_from_pixmap),     VER(0,0), Y, N, N, N },
    { GLX(EXT_visual_info),             VER(0,0), Y, Y, N, N },
    { GLX(EXT_visual_rating),           VER(0,0), Y, Y, N, N },




More information about the mesa-commit mailing list