diff options
author | marius <marius@FreeBSD.org> | 2005-09-28 14:54:07 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-09-28 14:54:07 +0000 |
commit | fe0a34c8f15fa82e0fec35f34ee9c6efe4abdcc4 (patch) | |
tree | bb4b1851d014027e2b948702d0726e8539fa0e12 /sys/dev/fb/tga.c | |
parent | 2d942f188d24ea6077fd2e56a8676851b448c161 (diff) | |
download | FreeBSD-src-fe0a34c8f15fa82e0fec35f34ee9c6efe4abdcc4.zip FreeBSD-src-fe0a34c8f15fa82e0fec35f34ee9c6efe4abdcc4.tar.gz |
Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_t
and do some preparations for handling 12x22 fonts (currently lots of code
implies and/or hardcodes a font width of 8 pixels). This will be required
on sparc64 which uses a default font size of 12x22 in order to add font
loading and saving support as well as to use a syscons(4)-supplied mouse
pointer image.
This API breakage is committed now so it can be MFC'ed in time for 6.0
and later on upcoming framebuffer drivers destined for use on sparc64
and which are expected to rely on using font loading internally and on
a syscons(4)-supplied mouse pointer image can be easily MFC'ed to
RELENG_6 rather than requiring a backport.
Tested on: i386, sparc64, make universe
MFC after: 1 week
Diffstat (limited to 'sys/dev/fb/tga.c')
-rw-r--r-- | sys/dev/fb/tga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/tga.c b/sys/dev/fb/tga.c index 84923ef..bfd7ce4 100644 --- a/sys/dev/fb/tga.c +++ b/sys/dev/fb/tga.c @@ -1308,7 +1308,7 @@ tga_puts(video_adapter_t *adp, vm_offset_t off, u_int16_t *s, int len) int tga_putm(video_adapter_t *adp, int x, int y, u_int8_t *pixel_image, - gfb_reg_t pixel_mask, int size) + gfb_reg_t pixel_mask, int size, int width) { gfb_reg_t gpxr; gfb_reg_t gmor; |