Age | Commit message (Collapse) | Author | Files | Lines |
|
Conflicts:
Xi/extinit.c
Xi/grabdev.c
Xi/setmode.c
Xi/ungrdev.c
dix/devices.c
dix/events.c
dix/getevents.c
include/dix.h
mi/midispcur.c
mi/misprite.c
xkb/xkbActions.c
xkb/xkbEvents.c
xkb/xkbPrKeyEv.c
|
|
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.
|
|
|
|
* hw/kdrive/ephyr/ephyr.c:
(ephyrScreenFini): don't forget to
free shadowfb data (if necessary) upon server is reset.
|
|
The code in connect_hook incorrectly checks for dbus_bus_request_name failure.
The dbus_bus_request_name error indicator is -1, not 0. This leads
to subsequent assertion failure in libdbus.
|
|
|
|
|
|
* GL/glx/glxglcore.c:
(_glXMesaScreenDestroy): delete the same amount of visuals
that those which were created in createMesaVisuals().
|
|
Remove all references to an external RGB database (which hasn't been enabled
for a very long time). Also get rid of some references to Speedo fonts.
|
|
|
|
Remove ALLOCATE_LOCAL_FALLBACK and DEALLOCATE_LOCAL_FALLBACK from os.h, and
remove the include of Xalloca.h as well.
|
|
Replace with heap allocations.
|
|
Replace with heap allocations.
|
|
Replace with xalloc/xfree.
|
|
Replace with heap allocations.
|
|
Replace with xalloc/xfree.
|
|
Replace with heap allocations.
|
|
Replace with xalloc/xfree.
|
|
Replace with heap allocations.
|
|
Replace with heap allocations.
|
|
Replace with heap storage.
|
|
Replace with heap allocations.
|
|
Replace with heap allocations.
|
|
Replace with heap allocations.
|
|
Replace with heap allocations
|
|
Replace with heap-based allocations.
|
|
Replace with heap allocations.
|
|
Replace with heap-based allocations.
|
|
Replace with heap allocations.
|
|
Replace with heap allocations.
|
|
Replace with heap allocations.
|
|
Replace with heap allocations.
|
|
Replace with xalloc/xfree.
|
|
Replace it with heap-based allocations.
|
|
alloca has no way to return failure, and instead can possibly arbitrarily
overflow the stack. Let's avoid that one.
|
|
|
|
|
|
|
|
|
|
These hints allow an acceleration architecture to optimize allocation of certain
types of pixmaps, such as pixmaps that will serve as backing pixmaps for
redirected windows.
|
|
Treat touchpads -- not just mice -- as pointer devices.
|
|
Make sure errno is saved and restored from the SIGIO handler, so errors
from system calls in input handlers don't break the interrupted code.
|
|
|
|
|
|
If the originating mode didn't have a name, we would end up with the name of
the original mode being setup correctly, but with the name of the copy still
being NULL.
|
|
It doesn't link against cfb, so don't conditionalize its build against cfb.
|
|
In a multihead setup, if only the first screen can be
initialized, but the second screen is mentioned first in the
ServerLayout section, the xf86InitOrigins() function will crash
because the screen referred to in the e.g. "RightOf" part is
non-existent.
|
|
Pass all VBE modes back up to the driver, on the assumption that it
knows how to filter modes intelligently.
|
|
The transformation between fbdev and xfree86 mode timings needs to be
invertible, otherwise Xen and other framebuffers that don't have real
pixel clocks won't initialize.
|
|
|