summaryrefslogtreecommitdiff
path: root/sys/dev/rasops
AgeCommit message (Collapse)Author
2003-11-08For the rasops-drawn cursor the fg/bg indices are bit inverted, souwe
provide complimentary colors in the upper 16 entries.
2003-05-03In rasops_copycols change bcopy to memmove. In that particular placeuwe
the src and dst are very likely to overlap, so using bcopy causes garbage to be displayed
2003-04-16rasops32_putchar: don't paint character out of font limits.petrov
2002-09-27remove trailing \n in panic(). approved perry.provos
2002-09-05compiler warning.petrov
2002-07-04Rename rasops_alloc_cattr and rasops_alloc_mattr tojunyoung
rasops_allocattr_color and rasops_allocattr_mono, respectively.
2002-07-04alloc_attr -> allocattrjunyoung
Approved by Matthias Drochner.
2002-05-31Avoid sequence point error.thorpej
2002-03-13Reorganise the wsfont stuff slightly so that multiple display adaptersad
with different bit/byte order requirements can co-exist happily.
2002-02-11Undo previous that incorrectly byte-swaps stamps for little endianuwe
machines when RI_BSWAP is *not* set. Redo my original fix to directly build stamps in desired endianness instead of calling bswap32().
2002-02-08 | Module Name: syssrcuch
| 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-01-31Honor RI_BSWAP.uwe
2001-11-28- convert usage of "defopt" to "defflag" where the relevant option doeslukem
not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
2001-11-15don't need <sys/types.h> when including <sys/param.h>lukem
2001-11-13add/cleanup RCSIDslukem
2001-09-18Give initiali[sz]e all the "i"s it deserves.wiz
2001-08-10Adjust #ifdefs so RASOPS_SMALL doesn't give "defined but not used" warnings.bjh21
2001-04-11Only install headers which are actually used by our userland. Thisjdolecek
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@ recently. I HOPE to get the list right. The headers I left in are ones used for MI tools and those whose usage I discovered by grep over tree sources. Feel free to put needed includes back in if you encounter anything which should not be removed from lists.
2001-02-15rasops4.c depend on rasops_masks.csato
2001-02-12Correct the ri_xorigin calculation for the RI_CENTER case again.nathanw
Original calculation (bits += (ri_stride - ri_emustride) / 2) was incorrect because stride may be wider than visible width. Fix in 1.33 (bits += (ri_width - ri_emustride) / 2) was incorrect because units do not match; "bits" and "ri_emustride" are in bytes, but "width" is in pels. Works by accident for 8bpp displays. Change to bits += ((ri_width * bpp / 8) - ri_emustride) / 2 to correctly account for visible width and bpp.
2001-02-02Now does character remapping depending on font encoding.marcus
2001-01-21Rasops supports 4bit depth.takemura
2001-01-12The mask tables have no excuse for being in the data segment.bjh21
2000-12-19Fix an error in xoffset calculation. Revealed in the case whennisimura
ri_width is less than ri_stride and screen is layouted RI_CENTERed.
2000-06-13Use my proper name.ad
2000-06-12Let this build on LP64 if DEBUG is defined.sommerfeld
2000-04-20Put the rasops attributes in conf/files so that everyone can runthorpej
config(8) without pulling in files.rasops. There is prior art for this, e.g. audio.
2000-04-12* Spell shift counts in decimal and masks in hexpk
* Optimize numerous array references * Cleanup whitespace turds
2000-04-05Advance index into rasops_cmap for each color, not per triplet.nathanw
This makes highlighing and color possible on truecolor displays.
2000-04-04Fix computation of ri_xorigin in RI_CENTER case; convery from bytes tonathanw
pixels, not from bytes to bytes^2/pixel.
2000-03-14Resolve LP64 issues.nisimura
2000-02-12Misplaced #endif.ad
2000-02-12Fix the unaligned accesses discovered by dbj.ad
2000-01-06replace WSFONT_L2R by WSDISPLAY_FONTORDER_L2R to compile again.shin
1999-12-16Dispatch another nit.ad
1999-12-14Note that per-depth initialization functions shouldn't be called by meread
mortals.
1999-12-14The ri_hw member was added to 'struct rasops_info'. This does the same thingad
as ri_priv; since ri_priv is not used anywhere in the kernel, nuke it.
1999-12-04-use the right namespace for screen capabilitiesdrochner
-make attribute decomposing a bit more friendly if the caller doesn't care about underlines
1999-12-02-initialize the colormap completely at compile time, to allow driversdrochner
to use it early -now we can declare it "const" (as "rasops_isgray[]", while we are here) -don't use the fg/bg colors in ...alloc_attr() if the WSATTR_WSCOLORS flag was not given - use reasonable defaults instead -add an opaque "ri_hw" member to "rasops_info", for driver use
1999-11-06Possible typo.enami
1999-11-05In rasops_do_cursor(), don't pull the mask from ri_devcmap[], just use ~0.ad
Needed to make cursor DTRT on NetBSD/hpcmips - from takemura.
1999-10-24Wrap a line properly.ad
1999-10-23- New option (RASOPS_SMALL) for the tight-fisted.ad
- 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-07Note some ideas from Toru Nishimura.ad
1999-10-04Use proper mask when RI_FORCEMONO is set and XORing cursor.ad
1999-09-17- Collapse forward and reverse cases in rasops_copyrows() into onead
- Pull in opt_rasops.h so we know if clipping is enabled - Some KNF
1999-09-17Clean up attribute allocation some more.ad
1999-08-31Pass color value through ri->ri_devcmap before writing.ad
1999-08-26Small consistency nit.thorpej
1999-08-26Make monochrome attribte allocation a bit more obvious.thorpej