mesa/src/glx
Adam Jackson acaf07c24b glx: Fix GLX_SGI_video_sync for the no-current-drawable case
Starting with GL 3.0 it's legal to have no drawable bound to the current
context. GLX_SGI_video_sync doesn't take a drawable for an argument so
it implicitly operates on... something. NVIDIA's driver throws
GLX_BAD_CONTEXT for GetVideoSync, but WaitVideoSync seems to actually
wait for the next MSC on the context's screen. We could work around this
by internally creating/destroying a GLXWindow for the root window, but
for Xwayland there's not necessarily a good answer it can return.

Just throw GLX_BAD_CONTEXT for both.

Fixes: mesa/mesa#1207
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8334>
2021-02-10 21:10:04 +00:00
..
apple meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
tests glx/tests: Fix leaks in the unit tests. 2020-12-15 19:39:29 +00:00
windows meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
applegl_glx.c Revert "glx: Implement GLX_EXT_no_config_context" 2019-09-26 11:07:13 -04:00
clientattrib.c
clientinfo.c glx: Claim to support more GL versions in __glX_send_client_info 2020-12-03 04:40:28 +00:00
compsize.c
create_context.c glx/indirect: Validate the context version in CreateContextAttribs 2020-12-03 04:40:28 +00:00
dri2.c
dri2.h
dri2_glx.c glx: Handle create_context in terms of create_context_attribs 2020-12-01 18:40:18 +00:00
dri2_priv.h glx: Delegate the core of glXGetScreenDriver to the GLX screen vtable 2020-10-21 10:24:31 -04:00
dri3_glx.c glx: Handle create_context in terms of create_context_attribs 2020-12-01 18:40:18 +00:00
dri3_priv.h util: rename xmlpool.h to driconf.h 2020-06-22 21:50:12 +00:00
dri_common.c glx: Handle create_context in terms of create_context_attribs 2020-12-01 18:40:18 +00:00
dri_common.h glx: Handle create_context in terms of create_context_attribs 2020-12-01 18:40:18 +00:00
dri_common_interop.c
dri_common_query_renderer.c
drisw_glx.c glx: Handle create_context in terms of create_context_attribs 2020-12-01 18:40:18 +00:00
drisw_priv.h drisw: Cache the depth of the X drawable 2020-01-23 23:03:13 +00:00
driwindows_glx.c Revert "glx: Implement GLX_EXT_no_config_context" 2019-09-26 11:07:13 -04:00
eval.c
g_glxglvnddispatchfuncs.c glx: Provide glvnd wrapper for glXSwapIntervalEXT 2021-01-22 22:34:23 -08:00
g_glxglvnddispatchindices.h glx: Provide glvnd wrapper for glXSwapIntervalEXT 2021-01-22 22:34:23 -08:00
glx_error.c
glx_error.h
glx_pbuffer.c glx: Eliminate some stub functions for !GLX_DIRECT_RENDERING 2020-12-01 18:40:18 +00:00
glx_query.c glx: Fix SEGV due to dereferencing a NULL ptr from XCB-GLX. 2019-09-04 16:00:10 +00:00
glxclient.h glx: Remove DRI1 2020-12-01 18:40:18 +00:00
glxcmds.c glx: Fix GLX_SGI_video_sync for the no-current-drawable case 2021-02-10 21:10:04 +00:00
glxconfig.c Revert "glx: convert glx_config_create_list to one big calloc" 2020-03-04 10:19:48 +00:00
glxconfig.h glx: Add fields for color shifts 2019-08-21 18:36:57 +00:00
glxcurrent.c Revert "glx: Lift sending the MakeCurrent request to top-level code" 2019-09-26 11:07:42 -04:00
glxext.c glx: Remove DRI1 2020-12-01 18:40:18 +00:00
glxextensions.c glx: get rid of memory leak 2020-10-26 12:49:09 +00:00
glxextensions.h glx: let users force-enable/disable indirect GL extensions 2020-10-22 07:47:28 +03:00
glxglvnd.c
glxglvnd.h
glxglvnddispatchfuncs.h
glxhash.c
glxhash.h
indirect_glx.c glx: fix spelling issues 2020-12-14 16:57:00 +00:00
indirect_init.h
indirect_texture_compression.c
indirect_transpose_matrix.c
indirect_vertex_array.c glx: update fallthrough comments 2020-12-01 10:04:41 +01:00
indirect_vertex_array.h
indirect_vertex_array_priv.h
indirect_vertex_program.c
indirect_window_pos.c
meson.build meson: Make the glvnd vendor name configurable 2020-12-03 22:36:27 +00:00
packrender.h
packsingle.h
pixel.c
pixelstore.c
query_renderer.c
render2.c
renderpix.c glx: Remove unused indirection for glx_context->fillImage 2019-09-12 13:23:32 -04:00
single2.c
singlepix.c
vertarr.c
xfont.c glx: Fix drawable lookup bugs in glXUseXFont 2019-09-19 21:06:01 -04:00