xserver/exa
Enrico Weigelt, metux IT consult 50ebc2464c (!1711) exa: simplify CreatePixmap()/DestroyPixmap() handlers error pathes
Instead of complex wrap/unwrap trickery in the error path, just protect
the DestroyPixmap() handlers from half-initialized state.

This not just makes the code flow simpler and easier to understand, but
also clears the road for decoupling the extension specific pixmap destructor
logic from the ScreenRec proc vectors (*1).

*1) see: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1755

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-10-03 12:36:00 +02:00
..
exa.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
exa.h exa: rename some badly named variables 2020-07-10 06:17:40 +10:00
exa_accel.c rootless: Use screen_x and screen_y instead of pixmap pointer hacks 2023-01-20 17:10:54 +00:00
exa_classic.c (!1711) exa: simplify CreatePixmap()/DestroyPixmap() handlers error pathes 2024-10-03 12:36:00 +02:00
exa_driver.c (!1711) exa: simplify CreatePixmap()/DestroyPixmap() handlers error pathes 2024-10-03 12:36:00 +02:00
exa_glyphs.c (!1711) exa: use dixDestroyPixmap() instead of direct driver call 2024-10-03 12:34:36 +02:00
exa_migration_classic.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
exa_migration_mixed.c Convert exa & fb to new *allocarray functions 2015-04-21 16:58:07 -07:00
exa_mixed.c (!1711) exa: simplify CreatePixmap()/DestroyPixmap() handlers error pathes 2024-10-03 12:36:00 +02:00
exa_offscreen.c (!1711) exa: use dixDestroyPixmap() instead of direct driver call 2024-10-03 12:34:36 +02:00
exa_priv.h include: drop obsolete check for typeof operator 2024-04-22 22:15:45 +00:00
exa_render.c (!1711) exa: use dixDestroyPixmap() instead of direct driver call 2024-10-03 12:34:36 +02:00
exa_unaccel.c mi: Add a default no-op miSourceValidate 2019-10-30 16:26:01 +00:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00