glx: Prepare the DRI backends for GLX_EXT_no_config_context
authorAdam Jackson <ajax@redhat.com>
Tue, 7 Nov 2017 16:36:52 +0000 (11:36 -0500)
committerAdam Jackson <ajax@redhat.com>
Thu, 9 Nov 2017 14:35:22 +0000 (09:35 -0500)
commit3f66d54a2a59b6f295671ea03aa9f83ce1aee34a
tree26d7dab3e5d08d53ea44f82600f0e336e2eee15a
parent74b701d84cd33b83c96525e70487091a05bb6ad6
glx: Prepare the DRI backends for GLX_EXT_no_config_context

This should be safe as these backends already support the EGL version of
this extension. DRI1 is not affected because it does not support
GLX_ARB_create_context anyway. DRI-Windows is not prepared to implement
this as there's no equivalent WGL extension, and wglCreateContextAttribs
seems to really want the HDC's pixel format to be set.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glx/dri2_glx.c
src/glx/dri3_glx.c
src/glx/drisw_glx.c