summaryrefslogtreecommitdiffstats
path: root/sys/dev/rasops/rasops.h
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-10-20 16:44:47 +0000
committermiod <miod@openbsd.org>2013-10-20 16:44:47 +0000
commit2ba919516a42cf1267d7a21cdef4f8a6f5666cfd (patch)
tree67ef120e3191d7e2ffb87f0361a90fed3b50f872 /sys/dev/rasops/rasops.h
parentDeep inside DIOCXCOMMIT, should return a real errno instead of -1 (diff)
downloadwireguard-openbsd-2ba919516a42cf1267d7a21cdef4f8a6f5666cfd.tar.xz
wireguard-openbsd-2ba919516a42cf1267d7a21cdef4f8a6f5666cfd.zip
Add a load_font accessop to rasops, to allow for fonts to be loaded and
selected. All rasops fonts are managed by wsfont, which allows a font to be loaded on a rasops device and used on another. Currently not plumbed in any driver yet. This is work in progress.
Diffstat (limited to 'sys/dev/rasops/rasops.h')
-rw-r--r--sys/dev/rasops/rasops.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/rasops/rasops.h b/sys/dev/rasops/rasops.h
index c58d1197dbf..bb255ef4c4f 100644
--- a/sys/dev/rasops/rasops.h
+++ b/sys/dev/rasops/rasops.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rasops.h,v 1.13 2013/06/28 20:06:50 kettenis Exp $ */
+/* $OpenBSD: rasops.h,v 1.14 2013/10/20 16:44:48 miod Exp $ */
/* $NetBSD: rasops.h,v 1.13 2000/06/13 13:36:54 ad Exp $ */
/*-
@@ -173,6 +173,7 @@ int rasops_alloc_screen(void *, void **, int *, int *, long *);
void rasops_free_screen(void *, void *);
int rasops_show_screen(void *, void *, int,
void (*)(void *, int, int), void *);
+int rasops_load_font(void *, void *, struct wsdisplay_font *);
int rasops_getchar(void *, int, int, struct wsdisplay_charcell *);
extern const u_char rasops_isgray[16];