mesa/src/glx
Daniel Stone 696762eef5 x11: Only report supported DRI3/Present versions
The version passed to QueryVersion requests is the version that the
client supports. We were just passing in whatever version of XCB was
present on the system, which may not be a version that Mesa actually
explicitly supports, e.g. it might bring unwanted semantics.

Set specific protocol versions which we support, and only pass those.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Fixes: 7aeef2d4ef ("dri3: allow building against older xcb (v3)")
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2018-03-30 16:53:51 +01:00
..
apple glx: remove empty GLX_SGIX_swap_group stubs 2018-03-12 14:48:52 +00:00
tests glx/test: fix building for osx 2018-02-02 15:28:52 +00:00
windows autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
.gitignore
applegl_glx.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
clientattrib.c
clientinfo.c
compsize.c glx: Fix image size computation for EXT_texture_integer (v2) 2015-07-31 12:32:16 -04:00
create_context.c Revert "glx: Implement GLX_EXT_no_config_context (v2)" 2017-11-09 11:41:14 -05:00
dri2.c glx: remove DRI2DriverPrimeShift compile guards 2017-02-13 10:13:46 +00:00
dri2.h glx: Fix build since 679c2ef "glx/drisw: add support for DRI2rendererQueryExtension", when only building drisw renderer 2014-08-21 16:59:48 +01:00
dri2_glx.c glx/dri: Add a driconf option to disable GLX_SGI_video_sync 2018-03-08 07:26:29 +01:00
dri2_priv.h mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri3_glx.c x11: Only report supported DRI3/Present versions 2018-03-30 16:53:51 +01:00
dri3_priv.h egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
dri_common.c glx: Prepare driFetchDrawable for no-config contexts 2017-12-01 15:53:52 -05:00
dri_common.h glx: Implement GLX_ARB_context_flush_control 2017-11-06 16:09:02 -05:00
dri_common_interop.c mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri_common_query_renderer.c mesa/glx: Resolve GCC sign-compare warning. 2015-08-18 11:34:43 -07:00
dri_glx.c glx: don't use the template keyword 2017-09-30 19:03:07 +02:00
dri_sarea.h include: move sarea.h next to it's only user 2014-08-21 21:47:37 +01:00
drisw_glx.c glx/drisw: Fix glXMakeCurrent(dpy, None, ctx) 2017-11-13 10:39:48 -05:00
drisw_priv.h glx/drisw: add support for DRI2rendererQueryExtension 2014-08-15 17:35:37 +01:00
driwindows_glx.c glx: use ARRAY_SIZE macro 2017-09-08 10:29:40 +01:00
eval.c
g_glxglvnddispatchfuncs.c glx: fix non-dri build 2018-01-16 16:27:19 +00:00
g_glxglvnddispatchindices.h glxglvnddispatch: Add missing dispatch for GetDriverConfig 2017-05-17 20:02:18 +02:00
glx_error.c glx: Don't use current context in __glXSendError 2016-08-17 17:16:34 +09:00
glx_error.h glx: Don't enclose includes inside extern "C" { }. 2016-04-26 21:28:34 +01:00
glx_pbuffer.c glx: Prepare driFetchDrawable for no-config contexts 2017-12-01 15:53:52 -05:00
glx_query.c
glxclient.h glx: Prepare driFetchDrawable for no-config contexts 2017-12-01 15:53:52 -05:00
glxcmds.c glx: remove empty GLX_SGIX_swap_group stubs 2018-03-12 14:48:52 +00:00
glxconfig.c glx: Remove #include <GL/glxint.h> 2017-03-28 14:48:12 -04:00
glxconfig.h
glxcurrent.c glx: Use __glXSendError instead of open-coding it 2017-12-01 15:46:46 -05:00
glxext.c egl+glx: turn LIBGL_DRI3_DISABLE into a boolean 2017-09-12 13:53:12 +01:00
glxextensions.c glx: remove empty GLX_SGIX_swap_group stubs 2018-03-12 14:48:52 +00:00
glxextensions.h glx: remove empty GLX_SGIX_swap_group stubs 2018-03-12 14:48:52 +00:00
glxglvnd.c glx/glvnd: Use bsearch() in FindGLXFunction instead of open-coding it 2016-11-02 14:52:43 -04:00
glxglvnd.h glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
glxglvnddispatchfuncs.h glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
glxhash.c
glxhash.h
indirect_glx.c glx: Lower GLX opcode lookup into SendMakeCurrentRequest 2017-11-13 10:39:33 -05:00
indirect_init.h Fix invalid extern "C" around header inclusion. 2015-03-05 10:21:40 -08:00
indirect_texture_compression.c
indirect_transpose_matrix.c
indirect_vertex_array.c glx: Fix for commit 2c86668694. 2016-07-08 16:46:17 -07:00
indirect_vertex_array.h
indirect_vertex_array_priv.h glx: Fix indirect multi-texture GL_DOUBLE coordinate arrays. 2016-07-08 14:03:16 -07:00
indirect_vertex_program.c
indirect_window_pos.c
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: build src/glx/apple 2018-02-05 19:40:43 +00:00
packrender.h glx: Avoid aliasing violations. 2016-07-26 12:12:27 -07:00
packsingle.h glx: Avoid aliasing violations. 2016-07-26 12:12:27 -07:00
pixel.c
pixelstore.c glx: Use _mesa_lroundevenf() in glPixelStoref(). 2015-08-04 10:33:16 -07:00
query_renderer.c glx: fix error code when there is no context bound 2016-08-15 09:24:10 +03:00
render2.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
renderpix.c
SConscript glx: turn LIBGL_DIAGNOSTIC into a boolean 2017-09-12 13:53:11 +01:00
single2.c Fix a few typos 2015-04-27 17:28:29 +03:00
singlepix.c mesa: remove empty glthread.h file 2014-03-03 13:08:59 -07:00
vertarr.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
XF86dri.c Fix a few typos 2015-04-27 17:28:29 +03:00
xf86dri.h
xf86dristr.h
xfont.c darwin: build fix 2015-02-10 22:22:33 -08:00