OpenGrok
Cross Reference: wsdisplay_glyphcachevar.h
xref
: /
src
/
sys
/
dev
/
wscons
/
wsdisplay_glyphcachevar.h
Home
|
History
|
Annotate
|
Download
|
only in
wscons
History log of
/src/sys/dev/wscons/wsdisplay_glyphcachevar.h
Revision
Date
Author
Comments
1.7
06-Dec-2024
macallan
allow placement of the glyph cache anywhere in VRAM
mostly for weird HP graphics hardware that has usable off-screen memory to the
right of the visible screen instead of below it
1.6
08-Jun-2023
macallan
branches: 1.6.6;
allow drivers to specify horizontal alignment of glyph cache cells
for things like SX which have alignment restrictions
1.5
02-Jun-2017
macallan
branches: 1.5.42;
make glyph caches reconfigurable
1.4
04-Oct-2012
macallan
branches: 1.4.14;
allow caching of glyphs with attributes other than the default
while there, also add support for underlined characters
1.3
22-Apr-2012
uebayasi
branches: 1.3.2;
Add newline at end of file; fix ALL build for me.
1.2
19-Apr-2012
macallan
no need to convert cell number to coordinates every time we draw a glyph
from cache - just stick the coordinates directly into the map
1.1
16-Feb-2012
macallan
branches: 1.1.2; 1.1.4;
generic support for caching glyphs in video memory
for speeding up anti-aliased fonts on slow CPUs
1.1.4.4
30-Oct-2012
yamt
sync with head
1.1.4.3
23-May-2012
yamt
sync with head.
1.1.4.2
17-Apr-2012
yamt
sync with head
1.1.4.1
16-Feb-2012
yamt
file wsdisplay_glyphcachevar.h was added on branch yamt-pagecache on 2012-04-17 00:08:11 +0000
1.1.2.3
29-Apr-2012
mrg
sync to latest -current.
1.1.2.2
18-Feb-2012
mrg
merge to -current.
1.1.2.1
16-Feb-2012
mrg
file wsdisplay_glyphcachevar.h was added on branch jmcneill-usbmp on 2012-02-18 07:35:14 +0000
1.3.2.2
03-Dec-2017
jdolecek
update from HEAD
1.3.2.1
20-Nov-2012
tls
Resync to 2012-11-19 00:00:00 UTC
1.4.14.1
28-Aug-2017
skrll
Sync with HEAD
1.5.42.1
05-Jul-2023
martin
Pull up following revision(s) (requested by abs in ticket #224):
sys/dev/wscons/wsdisplay_vconsvar.h: revision 1.34
sys/dev/wscons/wsdisplay_glyphcachevar.h: revision 1.6
sys/arch/sparc/dev/cgfourteen.c: revision 1.94
sys/arch/sparc/dev/cgfourteen.c: revision 1.95
sys/dev/sbus/mgx.c: revision 1.21
sys/dev/sbus/mgx.c: revision 1.22
sys/dev/sbus/mgx.c: revision 1.23
sys/dev/wscons/wsdisplay_vcons.c: revision 1.65
sys/dev/wscons/wsdisplay_vcons.c: revision 1.66
sys/dev/wscons/wsdisplay_glyphcache.c: revision 1.12
sys/arch/sparc/dev/sxvar.h: revision 1.5
sys/arch/sparc/dev/sx.c: revision 1.6
sys/arch/sparc/dev/sx.c: revision 1.7
make vcons_putchar_buffer() return a flag indicating if anything actually
changed, skip the actual drawing op if nothing did
add flags for drivers to requesr R2L bit/byte-ordered fonts, default to
L2R, chack them in vcons_load_font() instead of just trusting that we'd get
what we need
initialize the diagnostic register with the value suggested by the SunOS
header. This sets a bunch of undocumented bits and yields a 10% speed increase
when rendering antialiased text.
use macros compatible with xf86-video-suncg14 to issue SX instructions
much more readable, alignment weirdness is handled automatically and code is
interchangable
allow drivers to specify horizontal alignment of glyph cache cells
for things like SX which have alignment restrictions
add counter to periodically drain the instruction queue in order to avoid
stalling the MBus during long SX operations
adapted from xf86-video-suncg14
- use sx_wait() to avoid stalling the MBus
- request 32bit alignment for glyphcache cells
wait for the engine to go idle before issuing rectfill commands
we get occasional overlap with blit commands if we just wait for fifo slots
needs further investigation, it is possible that not all writes to drawing
engine registers are pipelined and of course we don't have docs
following a hunch...
- cache DEC and FG registers, only write them if the value actually changes
- wait for the engine to go idle before writing DEC
- wait for FIFO slots on everything else
with this we avoid waiting if possible and still avoid overlapping blit and
fill commands
1.6.6.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Wed Oct 15 16:09:53 GMT 2025