Go to file
Eamon Walsh d7c5e8bfc1 Modified performance patches from Arjan van de Ven <arjan@infradead.org>
Subject: [PATCH] fix some performance gaps in Xace

The XaceHook function is used in several hotpaths.
The problem with it (performance wise) is twofold:
 * The XaceHook function has a big switch() statement for the hook number in it
 * The XaceHook function uses varargs to reassemble the final dispatch arguments again

Both are expensive operations... for something that is known at compile time

This patch turns the hotpath XaceHook call into a direct call to avoid
the switch and varargs; this gives me over 10% performance gain
on the x11perf benchmark.
2007-11-06 16:26:09 -05:00
afb afb: Remove usage of alloca 2007-11-05 14:34:45 +00:00
cfb cfb: Remove usage of alloca 2007-11-05 14:34:45 +00:00
cfb32 get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE 2006-07-18 18:17:38 -04:00
composite Add CreatePixmap allocation hints. 2007-11-04 16:11:28 -08:00
config Config: D-Bus: Fix dbus_bus_request_name failure check 2007-11-06 09:40:36 +00:00
damageext Death to RCS tags. 2007-06-29 14:06:52 -04:00
dbe Add CreatePixmap allocation hints. 2007-11-04 16:11:28 -08:00
dix Modified performance patches from Arjan van de Ven <arjan@infradead.org> 2007-11-06 16:26:09 -05:00
doc Add Xserver man section about catalogue:<dir> FPE 2007-09-04 17:20:28 -07:00
exa EXA: Remove usage of alloca 2007-11-05 14:36:36 +00:00
fb fb: Remove usage of alloca 2007-11-05 14:34:42 +00:00
GL GL: fix crash at mesa destruction time 2007-11-05 17:33:01 +01:00
hw Xephyr: fix a crash when using xrandr twice 2007-11-06 16:24:46 +01:00
include Remove all traces of external RGB database (and Speedo) 2007-11-05 16:28:35 +00:00
mfb mfb: Remove usage of alloca 2007-11-05 14:34:42 +00:00
mi mi: Remove usage of alloca 2007-11-05 14:34:41 +00:00
miext Damage: Remove usage of alloca 2007-11-05 14:34:41 +00:00
os Remove all traces of external RGB database (and Speedo) 2007-11-05 16:28:35 +00:00
randr RandR: Remove usage of alloca 2007-11-05 14:34:41 +00:00
record Record: Remove usage of alloca 2007-11-05 14:34:41 +00:00
render Render: Remove usage of alloca 2007-11-05 14:34:41 +00:00
Xext Modified performance patches from Arjan van de Ven <arjan@infradead.org> 2007-11-06 16:26:09 -05:00
xfixes Death to RCS tags. 2007-06-29 14:06:52 -04:00
Xi Xi: Remove usage of alloca 2007-11-05 14:34:46 +00:00
xkb XKB: Remove usage of alloca 2007-11-05 14:34:41 +00:00
XTrap XTrap: Remove usage of alloca 2007-11-05 14:34:47 +00:00
.gitignore Add more generated files to .gitignore. 2007-08-29 16:05:23 -07:00
acinclude.m4 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 2007-07-25 17:42:23 -07:00
autogen.sh Use canonical autogen.sh, which supports srcdir != objdir autogen. 2005-07-01 21:13:36 +00:00
configure.ac Export the server ABI versions from xorg-server.pc 2007-11-05 17:18:46 -05:00
COPYING Add proper COPYING file 2007-08-01 08:07:08 +03:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Generate ChangeLog file for make dist. 2007-07-10 21:33:54 -07:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Export the server ABI versions from xorg-server.pc 2007-11-05 17:18:46 -05:00