diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-10-20 21:24:02 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-10-20 21:24:02 +0000 |
commit | fb33eeebaac60c24bf5ead035da2d63f675dc290 (patch) | |
tree | b6964334238130bf91233521e15ebc711a8d8a83 /usr.sbin/pkg_add | |
parent | 10e70977872a9790c42077be5db06d18048385c9 (diff) |
No longer store fonts added with the WSDISPLAYIO_LDFONT ioctl into the
wsdisplay softc. Instead, since the knowledge about available fonts lies in
the parent driver itself, introduce a list_font wsdisplay_accessop which
queries a font index, suitable to use within the WSDISPLAYIO_LSFONT ioctl.
With this in place:
- there is no global wsdisplay limit on the number of fonts loaded. Such a
limit will be enforced by the display drivers themselves.
- built-in kernel fonts will now appear in the list of fonts.
Grow a list_font accesop for rasops, which relies upon wsfont_enum(), which
is turned into something useful (and abortable if you do not need to iterate
further). Not used by any rasops driver yet.
Diffstat (limited to 'usr.sbin/pkg_add')
0 files changed, 0 insertions, 0 deletions