xserver/hw
Adam Jackson 5d667df6ea glx: Fix glXQueryContext for GLX_FBCONFIG_ID and GLX_RENDER_TYPE (v2)
Just never filled in, oops. Seems to have gone unnoticed because
normally glXQueryContext simply returns the values filled in by the
client library when the context was created. The only path by which you
normally get to a GLXQueryContext request is glXImportContext, and then
only if the context is already indirect.

However, that's a statement about Mesa's libGL (and anything else that
inherited that bit of the SGI SI more or less intact). Nothing prevents
a mischeivous client from issuing that request of a direct context, and
if they did we'd be in trouble because we never bothered to preserve the
associated fbconfig in the context state, so we'd crash looking up
GLX_VISUAL_ID_EXT. So let's fix that too.

v2: Fixed missing preservation of the config in DRI2 (Eric Anholt)

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-12-01 16:13:18 -05:00
..
dmx glx: Drop references to <GL/internal/glcore.h> 2017-11-14 16:18:47 -05:00
kdrive glamor: Drop the non-VAO rendering path 2017-11-15 09:53:50 -05:00
vfb test: Add basic SYNC tests. 2017-09-20 13:19:27 -04:00
xfree86 modesetting: Remove #if 0 CMAP_LOAD_EVEN_IF_OFFSCREEN 2017-11-29 14:50:50 -05:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz glx: Fix glXQueryContext for GLX_FBCONFIG_ID and GLX_RENDER_TYPE (v2) 2017-12-01 16:13:18 -05:00
xwayland xwayland: Stop printing the EGL version 2017-11-07 15:57:54 -05:00
xwin Use ARRAY_SIZE all over the tree 2017-10-30 13:45:20 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00