freebsd-dev/sys
Bruce Evans 8bae6e480d Fix removal of mouse image by the vga planar renderer in the right border
in unusual cases.  Optimize and significantly clean up removal in this
renderer.  Optimize removal in the vga direct renderer.

Removal only needs to be done in the border (the part with pixels) in
both cases.  The planar renderer used the condition scp->xoff > 0 to
test whether a right border exists.  This actually tests for a left
border, and when the total horizontal border is 8 pixels, rounding gives
only a right border.  This was the unusual broken case.  An example
is easy to configure using something like "vidcontrol -f 8x16 iso-8x16
-g 79x25 MODE_27".

Optimize the planar case a little by only removing 9x13 active pixels
out of 16x16.  Optimize it a lot by not doing anything if there is no
overlap with the border.  Don't unroll the main loop or hard-code so
many assumptions about font sizes in it.  On my Haswell system, graphics
memory and i/o accesses takes about 520 cycles each so optimizations from
unrolling are in the noise.

Optimize the direct case to not do anything if there is no overlap with
the border.  Do a sanity check on the saveunder's coordinates.  This
requires a previous change to pass non-rounded coordinates.
2017-04-12 18:52:06 +00:00
..
amd64 Corrected misspelled versions of rendezvous. 2017-04-09 02:00:03 +00:00
arm Port the IMX6 kernel configuration to use MULTIDELAY. This will help adding 2017-04-10 12:35:58 +00:00
arm64 Start to use the User and Privileged execute-never bits in the arm64 2017-04-12 16:28:40 +00:00
boot loader.efi: only fetch zfs pool guid for the actual boot device 2017-04-11 15:20:32 +00:00
bsm Merge OpenBSM 1.2-alpha5 from vendor branch to FreeBSD -CURRENT: 2017-03-26 21:14:49 +00:00
cam Fix few minor issues found by Clang Analyzer. 2017-04-09 07:54:39 +00:00
cddl Corrected misspelled versions of rendezvous. 2017-04-09 02:00:03 +00:00
compat Import CK as of commit 6b141c0bdd21ce8b3e14147af8f87f22b20ecf32 2017-04-09 21:02:05 +00:00
conf Disable fformat-extensions for RISC-V target as GCC 6.1 external compiler 2017-04-12 10:40:30 +00:00
contrib Import CK as of commit 6b141c0bdd21ce8b3e14147af8f87f22b20ecf32 2017-04-09 21:02:05 +00:00
crypto Implement boot-time encryption key passing (keybuf) 2017-04-01 05:05:22 +00:00
ddb Fix printing of negative offsets (typically from frame pointers) again. 2017-03-26 18:46:35 +00:00
dev Fix removal of mouse image by the vga planar renderer in the right border 2017-04-12 18:52:06 +00:00
fs Don't throw away Open state when a NFSv4.1 client recovery fails. 2017-04-11 22:47:02 +00:00
gdb
geom Handle NULL entries in gmirror disk ds_bios arrays. 2017-04-10 17:15:59 +00:00
gnu Update our device tree files to a Linux 4.10 2017-03-07 13:56:49 +00:00
i386 Corrected misspelled versions of rendezvous. 2017-04-09 02:00:03 +00:00
isa Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
kern Corrected misspelled versions of rendezvous. 2017-04-09 02:00:03 +00:00
kgssapi
libkern Use inline asm instead of unportable intrinsics for the SSE4 crc32 2017-03-26 10:31:48 +00:00
mips This file is also used in libcompiler_rt, so bring in stdbool.h if we're not 2017-04-11 13:31:27 +00:00
modules Remove the last vestiges of FDC_DEBUG & FD_DEBUG 2017-04-07 16:14:25 +00:00
net Inherit IPv6 checksum offloading flags to vlan interfaces. 2017-04-11 19:23:25 +00:00
net80211 [net80211] refactor out "add slot" and "purge slot" for A-MPDU. 2017-04-11 07:05:55 +00:00
netgraph mppc - Finish pluging NETGRAPH_MPPC_COMPRESSION. 2017-01-20 00:02:11 +00:00
netinet Make sysctl identifiers for direct netisr queue unique. 2017-04-11 19:20:20 +00:00
netinet6 Allow explicitly assigned IPv6 loopback address to be used in jails 2017-03-31 09:10:05 +00:00
netipsec When we are doing SA lookup for TCP-MD5, check both source and 2017-04-04 13:41:50 +00:00
netnatm
netpfil Remove "IPFW static rules" rmlock. 2017-04-03 13:35:04 +00:00
netsmb
nfs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsclient Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsserver Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nlm
ofed Add full VNET support to the inet_get_local_port_range() function in 2017-03-22 15:46:31 +00:00
opencrypto Don't leak a session and lock if a GMAC key has an invalid length. 2017-04-05 01:46:41 +00:00
powerpc Corrected misspelled versions of rendezvous. 2017-04-09 02:00:03 +00:00
riscv Provide a NULL pointer to device tree blob so GENERIC kernel 2017-04-12 10:34:50 +00:00
rpc Fix a crash during unmount of an NFSv4.1 mount. 2017-04-10 22:47:18 +00:00
security Break audit_bsm_klib.c into two files: one (audit_bsm_klib.c) 2017-04-03 10:15:58 +00:00
sparc64 Corrected misspelled versions of rendezvous. 2017-04-09 02:00:03 +00:00
sys Bump __FreeBSD_version due to r316648, rename of 2017-04-10 17:59:29 +00:00
teken Oops, my fix for bright colors broke bright black some more (in cases 2017-03-27 10:48:28 +00:00
tests
tools [fdt] Make DTBs generated by make_dtb.sh overlay-ready 2017-03-10 22:45:07 +00:00
ufs ufs: Export UFS_MAXNAMLEN to pathconf, statfs 2017-04-05 01:44:03 +00:00
vm Busy the map in vm_map_protect(). 2017-04-10 21:01:42 +00:00
x86 Corrected misspelled versions of rendezvous. 2017-04-09 02:00:03 +00:00
xdr
xen xenstore: fix suspension when using the xenstore device 2017-03-07 09:17:48 +00:00
Makefile Remove pc98 support completely. 2017-01-28 02:22:15 +00:00