xserver/glx
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Peter Hutterer 265e7b76cf glx: fix wrong pointer passed to non-swap handlers in TexImage/CopySubBuffer
Three GLX byte-swap dispatch functions advance the pc pointer past the
vendor private header (pc += __GLX_VENDPRIV_HDR_SIZE) for local field
swapping, then pass the ADVANCED pc to the non-swap handler. But the
non-swap handlers expect pc to point to the start of the
xGLXVendorPrivateReq — they cast pc to xGLXVendorPrivateReq* to access
req->contextTag, then do their own pc += __GLX_VENDPRIV_HDR_SIZE.

Co-Authored-by: Claude Code <noreply@anthropic.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2181>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-04-28 11:00:07 +02:00
..
glx_dri stop defining _XF86DRI_SERVER_ 2026-01-05 14:42:01 +01:00
clientinfo.c
createcontext.c dix: unexport enableIndirectGLX 2025-11-20 19:25:41 +01:00
extension_string.c dix: unexport enableIndirectGLX 2025-11-20 19:25:41 +01:00
extension_string.h
glxcmds.c glx: avoid null dereference in validGlxFBConfigForWindow() 2026-04-21 12:26:07 +02:00
glxcmdsswap.c glx: fix wrong pointer passed to non-swap handlers in TexImage/CopySubBuffer 2026-04-28 11:00:07 +02:00
glxcontext.h
glxdrawable.h
glxext.c glx: turn retval of xorgGlxCreateVendor() into void 2026-04-23 19:45:53 +02:00
glxext.h glx: glxext.h: add missing includes 2026-04-27 18:20:11 +02:00
glxscreens.c glx: fix missing includes of extinit.h 2025-09-25 13:48:08 +02:00
glxscreens.h
glxserver.h Treewide: Fix typos 2026-03-16 13:11:07 +01:00
glxutil.h
indirect_dispatch.c
indirect_dispatch.h
indirect_dispatch_swap.c
indirect_program.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
indirect_reqsize.c Revert 9a82f5c, bring back Cygwin support. 2025-12-21 12:59:03 +01:00
indirect_reqsize.h glx: indirect_reqsize.h: move include inside the guards 2026-04-24 13:05:14 +02:00
indirect_size.h
indirect_size_get.c Revert 9a82f5c, bring back Cygwin support. 2025-12-21 12:59:03 +01:00
indirect_size_get.h
indirect_table.c
indirect_table.h
indirect_texture_compression.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
indirect_util.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
indirect_util.h
meson.build glx: move over vndserver.h public SDK header to include/ 2026-02-12 14:25:12 +01:00
render2.c
render2swap.c glx: replace __GLX_SWAP_INT() by swapl() 2025-09-04 18:33:24 +02:00
renderpix.c
renderpixswap.c glx: replace __GLX_SWAP_INT() by swapl() 2025-09-04 18:33:24 +02:00
rensize.c
single2.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
single2swap.c dix: unexport SwapLongs() 2025-11-25 18:26:02 +01:00
singlepix.c dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
singlepixswap.c glx: replace __GLX_SWAP_INT() by swapl() 2025-09-04 18:33:24 +02:00
singlesize.c
singlesize.h
swap_interval.c
unpack.h dix: move request/response related functions to new request_priv.h header 2025-09-24 11:32:50 +02:00
vnd_dispatch_stubs.c treewide: use helper dixGetScreenPtr() for retrieving ScreenPtr's 2025-10-30 09:44:24 +01:00
vndcmds.c glx: vndcmds: Update a comment 2025-10-24 12:47:15 +02:00
vndext.c glx: revert cb85ceae2d 2025-11-11 10:46:29 +01:00
vndserver_priv.h
vndservermapping.c
vndservervendor.c
vndservervendor.h
xfont.c