Commit Graph

34 Commits

Author SHA1 Message Date
martin 799fb422ad Remove unused variables 2013-09-15 09:41:55 +00:00
martin f02c188eea Add syntatic sugar to avoid hurting my eyes 2013-03-21 21:00:12 +00:00
macallan 2ed32c39b4 use memset() to clear character cells instead of being terribly slow 2012-01-25 20:18:04 +00:00
macallan 8b892b4cb6 rasops8_putchar_aa():
render glyphs scanline by scanline into a 64bit-aligned buffer, then memcpy()
it into video memory instead of writing directly.
This gives >10% speedup even on valkyriefb, likely more on PCIe framebuffers.
2012-01-25 16:38:27 +00:00
macallan f692d005a8 add support for anti-aliased fonts in r3g3b2 2012-01-04 20:16:20 +00:00
macallan 1e50f31f65 use CHAR_IN_FONT() and WSFONT_GLYPH() macros 2012-01-04 17:01:52 +00:00
macallan 5f8fd44534 add a new flag for ri_flg to allow drivers to request an r3g3b2 devcmap
in 8 bit colour. Drivers are still responsible to generate an appropriate
colour map for the actual hardware.
For use with alpha blending which needs some sort of 'true' colour.
2011-12-28 08:36:46 +00:00
macallan 15a269471f autogenerate box drawing characters for fonts that don't have them, put them
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
2010-05-04 04:57:34 +00:00
dsl 82357f6d42 ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +00:00
dsl 454af1c0e8 Change about 4500 of the K&R function definitions to ANSI ones.
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.)
2009-03-14 15:35:58 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
jmcneill 4c1d81b2b5 Merge jmcneill-pm branch. 2007-12-09 20:27:42 +00:00
christos 53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
jmcneill 4f186b3e0d Add shadow framebuffer support. 2006-02-18 13:57:33 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
uwe 46f38c7fc9 We don't need <sys/bswap.h> here. 2005-09-03 22:55:55 +00:00
perry 18db93c7f6 de-__P 2005-02-04 02:10:35 +00:00
petrov 2f82eaf699 Check character if it in font limits before drawing it in rasops8_putchar
functions.
2004-03-05 08:33:53 +00:00
uwe 6e320d03b8 Undo previous that incorrectly byte-swaps stamps for little endian
machines when RI_BSWAP is *not* set.  Redo my original fix to directly
build stamps in desired endianness instead of calling bswap32().
2002-02-11 20:50:58 +00:00
uch 5e1dc96b6e | Module Name: syssrc
| Committed By:	uwe
 | Date:		Thu Jan 31 11:18:08 UTC 2002
 |
 | Modified Files:
 | 	syssrc/sys/dev/rasops: rasops8.c
 |
 | Log Message:
 | Honor RI_BSWAP.

Endian fix.
2002-02-08 14:55:23 +00:00
uwe 0778a707e9 Honor RI_BSWAP. 2002-01-31 11:18:07 +00:00
lukem 2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
lukem cb1dc621e6 add/cleanup RCSIDs 2001-11-13 07:00:23 +00:00
wiz 9fa0b17629 Give initiali[sz]e all the "i"s it deserves. 2001-09-18 18:15:49 +00:00
bjh21 976681bfed Adjust #ifdefs so RASOPS_SMALL doesn't give "defined but not used" warnings. 2001-08-10 19:12:35 +00:00
ad 3553879fc2 Use my proper name. 2000-06-13 13:36:42 +00:00
pk eba24e4799 * Spell shift counts in decimal and masks in hex
* Optimize numerous array references
* Cleanup whitespace turds
2000-04-12 14:22:28 +00:00
ad c5542264f1 - New option (RASOPS_SMALL) for the tight-fisted.
- 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.
1999-10-23 23:14:13 +00:00
ad afb0c7b853 Make this compile. Patch from Simon Burge. 1999-08-19 11:20:34 +00:00
ad a7510095cc Pass color index through ri_devcmap; don't assume that it already
matches the device's color map.
1999-08-13 09:45:46 +00:00
ad bb3a510fa2 Assign ownership & copyright to TNF. There is probably a procedure for this
that I am unaware of. Also some KNF.
1999-05-18 21:51:57 +00:00
ad f9510a4f4b Innumerable fixes and improvements. README contains list of remaining bugs
that need to be squashed.
1999-04-26 04:27:47 +00:00
ad de43e7cc8d Fixed licensing due to a foobar on my behalf. 1999-04-13 00:40:07 +00:00
ad 14d2ed835e Initial import of 'rasops', the new raster operations set for wscons/rcons. 1999-04-13 00:17:57 +00:00