NetBSD/sys/dev/rasops
tsutsui b3d834c6ab Fix 1 bpp rasops copycols() op:
- fix inverted shift direction in MBL() and MBR() macro in BE case
   (used by GETBITS() and PUTBITS() in copycols() function in rasops_bitops.h)
 - make all bitmask values unsigned and use proper uint32_t types for
   bitmap variables (to avoid arithmetic right shift)
 - fix various botches in right-to-left copy op (logic is taken from hp300)

Tested on bwtwo(4) on NetBSD/sparc.
2013-12-02 14:05:51 +00:00
..
README Fix 1 bpp rasops copycols() op: 2013-12-02 14:05:51 +00:00
files.rasops
rasops.c
rasops.h
rasops1.c
rasops2.c Support little endian makestamp. 2013-04-21 04:28:05 +00:00
rasops4.c Support little endian makestamp. 2013-04-21 04:28:05 +00:00
rasops8.c Remove unused variables 2013-09-15 09:41:55 +00:00
rasops15.c
rasops24.c
rasops32.c Remove unused variable 2013-09-15 09:38:28 +00:00
rasops_bitops.h Fix 1 bpp rasops copycols() op: 2013-12-02 14:05:51 +00:00
rasops_masks.c Fix 1 bpp rasops copycols() op: 2013-12-02 14:05:51 +00:00
rasops_masks.h Fix 1 bpp rasops copycols() op: 2013-12-02 14:05:51 +00:00

README

$NetBSD: README,v 1.6 2013/12/02 14:05:51 tsutsui Exp $

This directory contains `rasops', a set of raster operations intended to
replace the dev/rcons/raster stuff for both wscons and rcons. It yields
significantly improved performance, supports multiple depths and color.

Issues/TODO:

- There is no generic `putchar' function for 2bpp
- Color handling for 2bpp is broken
- 64-bit types are not used on machines that are 64-bit
- We should never be doing reads/writes of less than 32-bits
- Flags in attribute values are hardcoded
- Need a manpage
- Should handle multiple fonts simulatneously
- Generate an `empty' box character when we have no match?
- Use 'int' in lieu of 'int32' where we can
- Compress some cases in rasops1.c