Eric Anholt
563b6ee873
Rewrite the byte swapping macros.
...
The clever pointer tricks were actually not working, and we were doing
the byte-by-byte moves in general. By just doing the memcpy and
obvious byte swap code, we end up generating actual byte swap
instructions, thanks to optimizing compilers.
text data bss dec hex filename
before: 2240807 51552 132016 2424375 24fe37 hw/xfree86/Xorg
after: 2215167 51552 132016 2398735 249a0f hw/xfree86/Xorg
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
2017-04-25 15:01:23 -07:00
..
.gitignore
busfault.h
callback.h
Avoid starting a comment with */*
2014-07-17 10:19:52 -07:00
client.h
closestr.h
closure.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
colormap.h
dix: Unexport various implementation details
2015-07-08 16:40:57 -04:00
colormapst.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
cursor.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
cursorstr.h
cursor: drop ARGB_CURSOR
2015-06-30 12:17:51 +10:00
dbus-core.h
xfree86: drop double-typedef of DBusConnection
2014-11-12 10:25:00 +10:00
displaymode.h
vidmode: move display mode definitions
2016-02-29 16:28:57 -05:00
dix-config-apple-verbatim.h
dix-config.h.in
glx: Use the same endian swapping as the rest of the server.
2017-04-21 11:39:10 -07:00
dix.h
dix: Silence TSan warnings when checking for pending input
2016-09-22 14:55:01 -07:00
dixaccess.h
dixevents.h
dixfont.h
dix: Switch to the libXfont2 API (v2)
2016-07-18 15:25:59 -04:00
dixfontstr.h
dix: Switch to the libXfont2 API (v2)
2016-07-18 15:25:59 -04:00
dixgrabs.h
Avoid starting a comment with */*
2014-07-17 10:19:52 -07:00
dixstruct.h
AttendClient of grab-pervious client must queue to saved_ready_clients [v2]
2017-01-11 14:31:43 -05:00
eventconvert.h
events.h
eventstr.h
Input: Add focus-in event source
2015-11-24 11:36:34 +10:00
exevents.h
extension.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
extinit.h
Make PseudoramiXExtensionInit() prototype more generally available
2015-03-16 16:56:17 +00:00
extnsionst.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
gc.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
gcstruct.h
fb: Remove 24bpp support (v3)
2017-03-17 15:14:42 -04:00
globals.h
dpms: Consolidate a bunch of stuff into Xext/dpms.c
2017-03-27 15:59:47 -04:00
glx_extinit.h
hotplug.h
config: Replace OdevAttributes linked list with struct
2014-07-17 17:10:48 -07:00
input.h
os: log a bug whenever WriteToClient is called from the input thread
2017-02-27 09:25:08 +10:00
inputstr.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
inpututils.h
Input: Add DeviceEventSource enum
2015-11-24 11:36:32 +10:00
list.h
Fix uninitialized variable warnings reported by clang
2016-01-06 09:42:59 -05:00
Makefile.am
include: Add 'xserver_poll.h' to Makefile.am
2016-09-16 10:57:23 -07:00
misc.h
Rewrite the byte swapping macros.
2017-04-25 15:01:23 -07:00
miscstruct.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
nonsdk_extinit.h
Make PseudoramiXExtensionInit() prototype more generally available
2015-03-16 16:56:17 +00:00
opaque.h
configurable maximum number of clients
2015-08-24 00:00:18 -07:00
optionstr.h
os.h
Use timingsafe_memcmp() to compare MIT-MAGIC-COOKIES CVE-2017-2624
2017-02-28 13:59:14 -05:00
pixmap.h
prime: clean up slave bo properly. (v3)
2016-06-08 12:51:51 -04:00
pixmapstr.h
prime: add rotation support for offloaded outputs (v2)
2015-07-08 11:13:09 -07:00
privates.h
dix: Remove PRIVATE_DAMAGE
2017-03-21 11:20:26 -04:00
probes.h
Get rid of const warnings in XSERVER_INPUT_EVENT dtrace probe calls
2015-02-10 18:14:44 -08:00
property.h
dix: Add a callback chain for window property state change
2017-02-23 13:30:11 -05:00
propertyst.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
protocol-versions.h
Add Windows-DRI extension
2016-09-15 20:10:29 +01:00
ptrveloc.h
region.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
regionstr.h
dix: make RegionInit legal C++
2015-01-23 10:35:49 -08:00
registry.h
XSERVER_DTRACE needs request names from registry too
2014-09-22 12:00:46 -07:00
resource.h
dix: export ResourceClientBits()
2015-09-01 20:11:26 -07:00
rgb.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
screenint.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
scrnintstr.h
dix: Lift DPMS to a screen hook
2017-03-27 15:59:42 -04:00
selection.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
servermd.h
dix: Fix image byte order on big endian hardware
2015-05-07 14:03:50 -04:00
site.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
swaprep.h
dix: Unexport various implementation details
2015-07-08 16:40:57 -04:00
swapreq.h
dix: Unexport various implementation details
2015-07-08 16:40:57 -04:00
systemd-logind.h
systemd-logind: let the logind code decided whether to close an fd
2014-05-05 07:26:33 +10:00
validate.h
version-config.h.in
vidmodestr.h
vidmode: build without xf86vidmodeproto
2016-03-01 11:25:59 -05:00
window.h
dix: Add hybrid full-size/empty-clip mode to SetRootClip
2016-02-22 13:26:31 -05:00
windowstr.h
dix: unifdef pWin->rootlessUnhittable
2015-07-08 16:41:28 -04:00
XIstubs.h
xkb-config.h.in
xkbfile.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
xkbrules.h
xkbsrv.h
xkb: Match key releases with an overlaid press
2017-01-04 13:23:31 +10:00
xkbstr.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
xorg-config.h.in
xorg: Change __XCONFIGFILE__ to XCONFIGFILE (and DIR) to fix scan.c.
2017-04-25 15:01:23 -07:00
xorg-server.h.in
xorg: Change __XCONFIGFILE__ to XCONFIGFILE (and DIR) to fix scan.c.
2017-04-25 15:01:23 -07:00
Xprintf.h
xserver-properties.h
xserver_poll.h
os: Add poll emulation for mingw [v2]
2016-07-19 11:08:21 -07:00
xsha1.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
xwin-config.h.in
configure: Restore DEFAULT_LOGDIR to xwin-config.h, it is used
2014-06-02 13:07:46 +01:00