freebsd-skq/lib/libvgl
Bruce Evans b8e788b67e Fix copying of MEMBUFs to MEMBUFs. This case was implemented by using
the same code as the VIDBUF8 case, so it only worked for depths <= 8.
The 2 directions for copying between VIDBUFs and MEMBUFs worked by using
a Read/Write organization which makes the destination a VIDBUF so the
MEMBUF case was not reached, and the VIDBUF cases have already been fixed.

Fix this by removing "optimizations" for the VIDBUF8 case so that the
MEMBUF case can fall through to the general (non-segmented) case.  The
optimizations were to duplicate code for the VIDBUF8 case so as to
avoid 2 multiplications by 1 at runtime.  This optimization is not useful
since the multiplications are not in the inner loop.

Remove the same "optimization" for the VIDBUF8S case.  It was even less
useful there since it duplicated more to do relatively less.
2019-04-08 04:54:15 +00:00
..
bitmap.c Fix copying of MEMBUFs to MEMBUFs. This case was implemented by using 2019-04-08 04:54:15 +00:00
keyboard.c
main.c Fix restoring to graphics modes in VGLEnd(). 2019-03-29 16:30:19 +00:00
Makefile
Makefile.depend
mouse.c Fix races in mouse signal handling almost properly using the INTOFF/INTON 2019-03-29 15:20:48 +00:00
simple.c Fix VGLLine() in depths > 8. 2019-03-28 14:21:22 +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 Oops, my previous commit to libvgl was missing the change of VGLSetBorder() 2019-03-24 20:43:21 +00:00