The NetBSD Project

CVS log for src/sys/dev/rasops/rasops8.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / rasops

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 21 21:00:12 2013 UTC (2 months ago) by martin
Branch: MAIN
CVS Tags: khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Add syntatic sugar to avoid hurting my eyes

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jan 25 20:18:04 2012 UTC (15 months, 3 weeks ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Changes since 1.31: +9 -21 lines
Diff to previous 1.31 (colored)

use memset() to clear character cells instead of being terribly slow

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jan 25 16:38:27 2012 UTC (15 months, 3 weeks ago) by macallan
Branch: MAIN
Changes since 1.30: +6 -5 lines
Diff to previous 1.30 (colored)

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.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 4 20:16:20 2012 UTC (16 months, 2 weeks ago) by macallan
Branch: MAIN
Changes since 1.29: +129 -15 lines
Diff to previous 1.29 (colored)

add support for anti-aliased fonts in r3g3b2

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 4 17:01:52 2012 UTC (16 months, 2 weeks ago) by macallan
Branch: MAIN
Changes since 1.28: +6 -10 lines
Diff to previous 1.28 (colored)

use CHAR_IN_FONT() and WSFONT_GLYPH() macros

Revision 1.28 / (download) - annotate - [select for diffs], Wed Dec 28 08:36:46 2011 UTC (16 months, 3 weeks ago) by macallan
Branch: MAIN
Changes since 1.27: +10 -2 lines
Diff to previous 1.27 (colored)

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.

Revision 1.27 / (download) - annotate - [select for diffs], Tue May 4 04:57:34 2010 UTC (3 years ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.26: +31 -31 lines
Diff to previous 1.26 (colored)

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

Revision 1.26 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:22 2009 UTC (4 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.25: +6 -22 lines
Diff to previous 1.25 (colored)

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.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:20 2009 UTC (4 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.24: +4 -7 lines
Diff to previous 1.24 (colored)

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.)

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:56 2008 UTC (5 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Changes since 1.23: +2 -9 lines
Diff to previous 1.23 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.23 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:14 2007 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.22: +22 -9 lines
Diff to previous 1.22 (colored)

Merge jmcneill-pm branch.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:39 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, yamt-idlelwp-base8, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, matt-armv6, jmcneill-pm
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Feb 18 13:57:33 2006 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.20: +90 -9 lines
Diff to previous 1.20 (colored)

Add shadow framebuffer support.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:44 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

merge ktrace-lwp.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 3 22:55:55 2005 UTC (7 years, 8 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

We don't need <sys/bswap.h> here.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:47 2005 UTC (8 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, matt-timespec, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)

de-__P

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 5 08:33:53 2004 UTC (9 years, 2 months ago) by petrov
Branch: MAIN
CVS Tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.16: +14 -2 lines
Diff to previous 1.16 (colored)

Check character if it in font limits before drawing it in rasops8_putchar
functions.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Feb 11 20:50:58 2002 UTC (11 years, 3 months ago) by uwe
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, ifpoll, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: ktrace-lwp
Changes since 1.15: +18 -17 lines
Diff to previous 1.15 (colored)

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().

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 8 14:55:23 2002 UTC (11 years, 3 months ago) by uch
Branch: MAIN
Changes since 1.14: +6 -2 lines
Diff to previous 1.14 (colored)

 | 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.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 31 11:18:07 2002 UTC (11 years, 3 months ago) by uwe
Branch: MAIN
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

Honor RI_BSWAP.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:15 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored)

don't need <sys/types.h> when including <sys/param.h>

Revision 1.12 / (download) - annotate - [select for diffs], Tue Nov 13 07:00:23 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

add/cleanup RCSIDs

Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 18 18:15:53 2001 UTC (11 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Give initiali[sz]e all the "i"s it deserves.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 10 19:12:36 2001 UTC (11 years, 9 months ago) by bjh21
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Adjust #ifdefs so RASOPS_SMALL doesn't give "defined but not used" warnings.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 13 13:36:59 2000 UTC (12 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Branch point for: nathanw_sa, kqueue
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Use my proper name.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 12 14:22:29 2000 UTC (13 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.7: +67 -76 lines
Diff to previous 1.7 (colored)

* Spell shift counts in decimal and masks in hex
* Optimize numerous array references
* Cleanup whitespace turds

Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 23 23:14:14 1999 UTC (13 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Changes since 1.6: +16 -19 lines
Diff to previous 1.6 (colored)

- 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.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 19 11:20:34 1999 UTC (13 years, 9 months ago) by ad
Branch: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.5: +8 -7 lines
Diff to previous 1.5 (colored)

Make this compile. Patch from Simon Burge.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 13 09:45:46 1999 UTC (13 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

Pass color index through ri_devcmap; don't assume that it already
matches the device's color map.

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 18 21:51:59 1999 UTC (14 years ago) by ad
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: chs-ubc2
Changes since 1.3: +25 -16 lines
Diff to previous 1.3 (colored)

Assign ownership & copyright to TNF. There is probably a procedure for this
that I am unaware of. Also some KNF.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 26 04:27:47 1999 UTC (14 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.2: +9 -213 lines
Diff to previous 1.2 (colored)

Innumerable fixes and improvements. README contains list of remaining bugs
that need to be squashed.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 13 00:40:09 1999 UTC (14 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.1: +17 -25 lines
Diff to previous 1.1 (colored)

Fixed licensing due to a foobar on my behalf.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 13 00:18:01 1999 UTC (14 years, 1 month ago) by ad
Branch: MAIN

Initial import of 'rasops', the new raster operations set for wscons/rcons.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>