diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-08 16:36:55 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-08 16:36:55 +0000 |
commit | 081bc1891ee5c3e8c350fa5e97a68790bd3c45b4 (patch) | |
tree | 9de4ba5d2d7f65292f20f8cddfa766c0b15fce9a /sys/arch/mac68k/dev/macfbvar.h | |
parent | fdaaebfdce3e8e9646281669dc49ad5f3090abac (diff) |
Switch macfb from an rcons backend to a rasops backend; supposedly restores
all pixel depth operation, but there are still font display problems at
4bpp and 16bpp at the moment; also make sure the display is white on black,
whichever colour depth we are in.
Diffstat (limited to 'sys/arch/mac68k/dev/macfbvar.h')
-rw-r--r-- | sys/arch/mac68k/dev/macfbvar.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/arch/mac68k/dev/macfbvar.h b/sys/arch/mac68k/dev/macfbvar.h index 3dd0765a853..7ea6e623503 100644 --- a/sys/arch/mac68k/dev/macfbvar.h +++ b/sys/arch/mac68k/dev/macfbvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: macfbvar.h,v 1.1 2006/01/04 20:39:05 miod Exp $ */ +/* $OpenBSD: macfbvar.h,v 1.2 2006/01/08 16:36:54 miod Exp $ */ /* $NetBSD: macfbvar.h,v 1.3 2005/01/15 16:00:59 chs Exp $ */ /* * Copyright (c) 1998 Matt DeBergalis @@ -47,16 +47,18 @@ struct macfb_devconfig { int dc_depth; /* depth of frame buffer */ int dc_rowbytes; /* bytes in fb scan line */ - struct raster dc_raster; /* raster description */ - struct rcons dc_rcons; /* raster blitter control info */ + /* rasops information */ + struct rasops_info dc_ri; + + /* wsdisplay information */ + struct wsscreen_descr wsd; + int nscreens; }; struct macfb_softc { struct device sc_dev; - int nscreens; struct macfb_devconfig *sc_dc; }; int macfb_cnattach(paddr_t); -void macfb_clear(struct macfb_devconfig *); |