xserver/Xext
Enrico Weigelt, metux IT consult 9ef5fc9a29 Xext: vidmode: untwist ProcVidModeGetAllModeLines() and use stack buffer
The ProcVidModeGetAllModeLines() is a bit complicated, because reply structs
differ depending the active protocol version. In order to make it easier to
understand and allow further simplification of the request/reply marshalling
(see ticket #1701), splitting the two protocol versions into separate functions.

Also collecting the whole payload in a stack buffer (size is already known
anyways), in order to save arbirary number of individual WriteToClient() calls,
but send out the whole reply in one pass, which in turn allows further
simplifications in the sending path.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 17:21:44 +02:00
..
bigreq.c Xext: bigreq: drop swapping request length fields 2025-02-06 22:28:49 +00:00
dpms.c Xext: use calloc() instead of malloc() 2025-06-12 16:48:11 +02:00
dpmsproc.h Xext: drop checking for HAVE_DIX_CONFIG_H 2025-06-12 16:50:20 +02:00
geext.c Xext: geext: unexport GERegisterExtension() and document it 2025-06-12 16:39:23 +02:00
geext_priv.h Xext: geext: unexport GERegisterExtension() and document it 2025-06-12 16:39:23 +02:00
hashtable.c xext: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
hashtable.h Xext: hashtable.h: unexport functions not used by drivers 2025-06-12 16:51:36 +02:00
meson.build Xext: geext: drop obsolete geext.h 2025-06-12 16:39:26 +02:00
panoramiX.c Xext: clean up including panoramix headers 2025-06-12 17:21:43 +02:00
panoramiX.h composite: clean up including panoramix headers 2025-06-12 17:21:43 +02:00
panoramiXSwap.c Xext: clean up including panoramix headers 2025-06-12 17:21:43 +02:00
panoramiXh.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
panoramiXprocs.c panoramix: protect against allocaton failure 2025-06-12 17:21:44 +02:00
panoramiXsrv.h panoramix: unexport XineramaVisualsEqualPtr and make it static 2025-06-12 16:51:33 +02:00
saver.c xext: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
security.c Xext: drop obsolete including of colormapst.h 2025-06-12 17:21:43 +02:00
securitysrv.h Xext: security: drop not needed include 2025-06-12 16:30:13 +02:00
shape.c Xext: clean up including panoramix headers 2025-06-12 17:21:43 +02:00
shm.c Xext: clean up including panoramix headers 2025-06-12 17:21:43 +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 Xext: use calloc() instead of malloc() 2025-06-12 16:48:11 +02:00
sleepuntil.h Xext: drop checking for HAVE_DIX_CONFIG_H 2025-06-12 16:50:20 +02:00
sync.c xext: replace xallocarray() by calloc() 2025-06-12 17:21:43 +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 Xext: vidmode: untwist ProcVidModeGetAllModeLines() and use stack buffer 2025-06-12 17:21:44 +02:00
xace.c Xext: use calloc() instead of malloc() 2025-06-12 16:48:11 +02:00
xace.h Xace: remove remains of XACE_CORE_DISPATCH 2025-06-12 17:21:43 +02:00
xacestr.h Xace: remove remains of XACE_CORE_DISPATCH 2025-06-12 17:21:43 +02:00
xcmisc.c xext: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
xf86bigfont.c xext: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
xf86bigfontsrv.h Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
xres.c Xext: xres: ProcXResQueryClientIds() collect reply in one buffer 2025-06-12 17:21:44 +02:00
xselinux.h include: unpexport SELINUX_* consts from include/global.h 2024-03-25 19:40:04 +00:00
xselinux_ext.c dix: rename dixLookupClient() to dixLookupResourceOwner() 2025-06-12 16:52:07 +02:00
xselinux_hooks.c dix: add dixClientForXID() 2025-06-12 16:53:34 +02:00
xselinux_label.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
xselinuxint.h include: drop obsolete registry.h 2024-03-03 23:20:06 +00:00
xtest.c Xext: clean up including panoramix headers 2025-06-12 17:21:43 +02:00
xvdisp.c Xext: clean up including panoramix headers 2025-06-12 17:21:43 +02:00
xvdisp.h Xext: xv: untwist Xinerama handling 2025-06-12 17:21:43 +02:00
xvdix.h Xext: xv: use PixmapDestroy hook 2025-06-12 16:46:36 +02:00
xvdix_priv.h Revert "xv: unexport XvScreenRec and XvScreenPtr" 2025-02-07 10:08:41 +01:00
xvmain.c xext: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
xvmc.c Xext: xvmc: skip reply payload assembly when no data to send 2025-06-12 17:21:44 +02:00
xvmcext.h xvmc: unexport XvMCFindXvImage() 2024-10-10 19:59:48 +00:00