xserver-multidpi/dix
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
..
atom.c Bug #10560: Code-Cleanup: function declarations () -> (void) 2007-04-09 14:33:15 -07:00
buildatoms XFree86 4.3.0.1 2003-11-14 16:49:22 +00:00
BuiltInAtoms R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
CHANGES R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
colormap.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
cursor.c DIX: Clean up null root cursor handling 2007-08-01 01:53:31 +03:00
devices.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
dispatch.c Modified performance patches from Arjan van de Ven <arjan@infradead.org> 2007-11-06 16:26:09 -05:00
dispatch.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
dixfonts.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
dixutils.c dixLookupClient: Use access parameter. 2007-06-11 09:23:18 +02:00
events.c dix: don't compress motion events from different devices (EventEnqueue) 2007-10-28 16:07:30 +02:00
extension.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
ffs.c ffs: handle 0 argument (bug #8968) 2006-11-11 14:13:56 +02:00
gc.c Add CreatePixmap allocation hints. 2007-11-04 16:11:28 -08:00
getevents.c Input: Fix key down test (bug #12858) 2007-10-25 18:46:27 +03:00
globals.c Remove all traces of external RGB database (and Speedo) 2007-11-05 16:28:35 +00:00
glyphcurs.c Add CreatePixmap allocation hints. 2007-11-04 16:11:28 -08:00
grabs.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
initatoms.c Bug #10560: Code-Cleanup: function declarations () -> (void) 2007-04-09 14:33:15 -07:00
main.c Move SIGUSR1 notification as late as possible. 2007-11-02 11:54:16 -04:00
Makefile.am Fix server version reporting to be the server package version. 2007-09-05 12:43:28 -07:00
pixmap.c Add CreatePixmap allocation hints. 2007-11-04 16:11:28 -08:00
privates.c Bug #10560: Code-Cleanup: function declarations () -> (void) 2007-04-09 14:33:15 -07:00
property.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
resource.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
strcasecmp.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
swaprep.c DIX: Remove usage of alloca 2007-11-05 14:34:43 +00:00
swapreq.c dix: remove 'register' keyword for all variables. 2007-03-08 17:50:25 +10:30
tables.c Remove the old Kerberos 5 authentication code. 2007-06-04 18:07:00 -04:00
window.c Add CreatePixmap allocation hints. 2007-11-04 16:11:28 -08:00
xpstubs.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
Xserver-dtrace.h.in Add DTrace probe points for X server <-> client communications 2006-11-03 12:54:43 -08:00
Xserver.d Add DTrace probe points for X server <-> client communications 2006-11-03 12:54:43 -08:00