| Age | Commit message (Collapse) | Author |
|
colors so that stamp is not updated unnecessarily.
|
|
- Introduce and use proper macros.
- Use not ambiguous variable names.
- Unify similar functions as possible as I can.
- G/C unused headers.
- Use #include <dev/rasops/foo.h> instead of "foo.h"
No particular functional changes intended.
|
|
Support scaling underline dimensions by font height.
|
|
|
|
rasops.h, it is not safe to use kmem_alloc(9) in rasops_init();
rasops routines can be used for early putchar, which means that
UVM is not fully initialized.
Should fix a problem reported by macallan:
http://mail-index.netbsd.org/tech-kern/2019/08/02/msg025327.html
Instead of using ri_buf, inline function rasops_memcpy32() is
introduced to fill 32bit data efficiently.
Instead of using ri_stamp (per device stamp), stamp_ri is
introduced to distinguish for which device stamp is calculated.
|
|
|
|
XXX
Bump kernel version after other changes for struct rasops_info.
|
|
- protect private stuff in rasops.h by _RASOPS_PRIVATE
- staticify rasops_copycols() and rasops_isgray[]
- G/C unused extern int cold
|
|
the following fixes:
- stop using memset to framebuffer for depth 8
- correctly support non-standard positions/lengths of RGB bits in pixel
|
|
Also, misc style/cosmetic changes for clarity.
|
|
|
|
rasops_putchar.h and rasops_putchar_width.h, respectively.
XXX
Possibly, we can do the same for putchar_aa functions. But it is
currently missing for 24-bpp.
|
|
|
|
- Make 32bit mask unsigned
- DPRINTF --> __nothing ifndef DEBUG_RASOPS
- "#ifdef DIAGNOSTIC if (x) panic(); #endif" --> KASSERT(!x);
- KNF
No functional changes intended.
|
|
No functional changes intended.
|
|
- u_char --> uint8_t
- u_int*_t --> uint*_t
No functional changes.
|
|
putchar functions work correctly.
|
|
- make upper 4 attribute bits available for such use
- use wscons flag names instead of literal constants.
|
|
Based on rasops8_putchar_aa() and rasops32_putchar_aa().
|
|
uses BGR in 15/16 bit colour
|
|
into an alternate font pointed at by the recently added mappings in wsfont,
adapt all putchar() methods except the rotated ones to use them
XXX no attempt has been made to make this work with rotation
|
|
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
|
|
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Optimize numerous array references
* Cleanup whitespace turds
|
|
|
|
- Don't use int32_t/u_int32_t unless we must.
- Remove C++ single line comment delimeters that crept in.
- Remove defs pertaining to byte granularity 'ragged-edge' bitmasks.
- Move all declarations of per-depth initialization functions to rasops.h.
- Other minor cleanup.
|
|
that I am unaware of. Also some KNF.
|
|
that need to be squashed.
|
|
|
|
|