NetBSD/sys/dev/rasops
chs fd34ea77eb remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
2017-06-01 02:45:05 +00:00
..
README
files.rasops
rasops.c remove checks for failure after memory allocation calls that cannot fail: 2017-06-01 02:45:05 +00:00
rasops.h add RI_PREFER_ALPHA flag, for drivers that can draw such fonts by hardware 2017-04-22 15:05:02 +00:00
rasops1.c
rasops2.c
rasops4.c
rasops8.c
rasops15.c
rasops24.c
rasops32.c
rasops_bitops.h
rasops_masks.c
rasops_masks.h

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