xserver/Xext
Enrico Weigelt, metux IT consult 439d6977c3 (submit/cleanup-vidmode-dispatch) Xext: vidmode: tidy up multi-version request control flow, part 2
Some requests using different structs dependending on which protocol version
(v1 vs. v2) had been selected. That's is handled by coverting v1 structs into v2,
before proceeding with the actual handling.

The code flow of this is very complex and hard to understand. Cleaning this up
in several smaller steps, that are easier to digest.

This part is splitting the huge request handlers into upper and lower half,
where the upper is doing the version check and converting v1 requests into v2,
while the lower one is doing the actual request processing, operating on the
struct pointer passed in from the upper one, instead of the client struct's
request buffer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-09-18 17:23:10 +02:00
..
bigreq.c (!1639) Xext: bigreq: drop swapping request length fields 2024-09-18 17:23:10 +02:00
dpms.c (!1639) Xext: dpms: drop now obsolete swap procs 2024-09-18 17:23:10 +02:00
dpmsproc.h dpms: Consolidate a bunch of stuff into Xext/dpms.c 2017-03-27 15:59:47 -04:00
geext.c (!1596) Xext: geext: simplify dispatcher 2024-09-18 17:23:09 +02:00
geext.h Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
geint.h xge: Hide some implementation details 2015-07-08 16:40:58 -04:00
hashtable.c dix: Fix undefined shift in ht_generic_hash 2019-10-15 14:06:30 -04:00
hashtable.h Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
meson.build Xace: dont install xace.h and xacestr.h anymore 2024-06-23 21:07:48 +00:00
panoramiX.c include: move private definitions out of extinit.h 2024-04-30 00:47:38 +00:00
panoramiX.h Xext: drop _PANORAMIX_SERVER 2024-06-23 19:31:46 +00:00
panoramiXSwap.c (!1639) Xext: panoramiX: drop now obsolete swap procs 2024-09-18 17:23:10 +02:00
panoramiXh.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
panoramiXprocs.c rename remaining RT_* defines to X11_RESTYPE_* 2024-04-15 19:00:47 -07:00
panoramiXsrv.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
saver.c (!1639) Xext: saver: drop now obsolete swap procs 2024-09-18 17:23:10 +02:00
security.c (!1639) Xext: security: drop swapping request length fields 2024-09-18 17:23:10 +02:00
securitysrv.h Xext: securitysrv.h: drop hacks for including secur.h 2024-06-23 19:20:12 +00:00
shape.c (!1639) Xext: shape: drop now obsolete swap procs 2024-09-18 17:23:10 +02:00
shm.c (submit/recv-fds) os: read file descriptors into client struct at once 2024-09-18 17:23:10 +02:00
shmint.h xext: Fix shmint.h to not use headers outside of sdk_HEADERS 2013-11-14 10:22:15 +09:00
sleepuntil.c prevent name clash on Windows w/ RT_* defines 2024-04-15 18:59:23 -07:00
sleepuntil.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
sync.c (!1639) Xext: sync: drop now obsolete swap procs 2024-09-18 17:23:10 +02:00
syncsdk.h xsync: Add resource inside of SyncCreate, export SyncCreate 2019-04-17 14:01:17 -07:00
syncsrv.h sync: Convert from "CARD64" to int64_t. 2017-09-20 13:19:27 -04:00
vidmode.c (submit/cleanup-vidmode-dispatch) Xext: vidmode: tidy up multi-version request control flow, part 2 2024-09-18 17:23:10 +02:00
xace.c (submit/modset-fix-vrr-hook) xace: export XaceRegisterCallback() and XaceDeleteCallback() 2024-09-18 17:23:10 +02:00
xace.h (submit/modset-fix-vrr-hook) xace: export XaceRegisterCallback() and XaceDeleteCallback() 2024-09-18 17:23:10 +02:00
xacestr.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xcmisc.c (!1639) Xext: xcmisc: drop now obsolete swap procs 2024-09-18 17:23:10 +02:00
xf86bigfont.c (!1639) Xext: xf86bigfont: drop swapping request length fields 2024-09-18 17:23:10 +02:00
xf86bigfontsrv.h Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
xres.c (!1639) Xext: xres: drop swapping request length fields 2024-09-18 17:23:10 +02:00
xselinux.h include: unpexport SELINUX_* consts from include/global.h 2024-03-25 19:40:04 +00:00
xselinux_ext.c (!1639) Xext: selinux: drop swapping request length fields 2024-09-18 17:23:10 +02:00
xselinux_hooks.c fix missing includes of <X11/Xfuncproto.h> 2024-07-20 17:18:38 +00:00
xselinux_label.c rename remaining RT_* defines to X11_RESTYPE_* 2024-04-15 19:00:47 -07:00
xselinuxint.h include: drop obsolete registry.h 2024-03-03 23:20:06 +00:00
xtest.c (!1639) Xext: xtest: drop now obsolete swap procs 2024-09-18 17:23:10 +02:00
xvdisp.c (!1639) Xext: xv: drop now obsolete swap procs 2024-09-18 17:23:10 +02:00
xvdisp.h Fix swapped Xv dispatch under Xinerama. 2007-12-02 14:15:36 -05:00
xvdix.h (!1675) Revert "xv: unexport XvScreenRec and XvScreenPtr" 2024-09-18 17:23:09 +02:00
xvdix_priv.h (!1675) Revert "xv: unexport XvScreenRec and XvScreenPtr" 2024-09-18 17:23:09 +02:00
xvmain.c xv: make XvdiSendPortNotify() static 2024-07-26 23:51:13 +00:00
xvmc.c xv: unexport VALIDATE_XV_PORT and _XvBadPort macros 2024-07-26 23:51:13 +00:00
xvmcext.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00