1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/lib/libvgl
Bruce Evans 2f5cff3750 Fix copying planar bitmaps when the horizontal start and end are both not
multiples of 8.  Then the misaligned pixels at the end were not copied.

Clean up variable misuse related to this bug.  The width in bytes was
first calculated correctly and used to do complicated reblocking
correctly, but it was stored in an unrelated scratch variable and later
recalculated with an off-by-1-error, so the last byte (times 4 planes)
in the intermediate copy was not copied.

This doubly-misaligned case is especially slow.  Misalignment complicates
the reblocking, and each misaligment requires a read before write, and this
read is still not done from the shadow buffer.
2019-05-03 13:06:46 +00:00
..
bitmap.c Fix copying planar bitmaps when the horizontal start and end are both not 2019-05-03 13:06:46 +00:00
keyboard.c
main.c Refactor and simplify hiding the mouse cursor and fix bugs caused by 2019-04-29 14:13:53 +00:00
Makefile
Makefile.depend
mouse.c Support all reasonable cursor sizes. Reduce the size of the standard 2019-04-29 16:26:29 +00:00
simple.c Oops, r346889 broke showing of the mouse cursor after clearing, by 2019-04-29 15:58:05 +00:00
text.c Fix the type of the color args for VGLMouseFreeze(), VGLBitmapPutChar(), 2019-03-24 20:36:35 +00:00
vgl.3 Oops, my previous commit to libvgl was missing the change of VGLSetBorder() 2019-03-24 20:43:21 +00:00
vgl.h Refactor and simplify hiding the mouse cursor and fix bugs caused by 2019-04-29 14:13:53 +00:00