diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-08 22:28:44 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-08 22:28:44 +0000 |
commit | fda42b5add85625d515849886a87228d10924814 (patch) | |
tree | 7849de50a9531e5b8133cd38385c4b9e5bde782e /sys/dev/wscons/wsdisplayvar.h | |
parent | 02e0d54c66a867c4789380666e0ac55a8b780f8a (diff) |
inplement screen burner in screenblank(1) style (no program though).
disabled by default, also supports vsync blanking, disabled by default.
aaron@ looked at it a while back and i fixed problems he had indicated.
Diffstat (limited to 'sys/dev/wscons/wsdisplayvar.h')
-rw-r--r-- | sys/dev/wscons/wsdisplayvar.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsdisplayvar.h b/sys/dev/wscons/wsdisplayvar.h index 1674f53d6d6..edf941e647c 100644 --- a/sys/dev/wscons/wsdisplayvar.h +++ b/sys/dev/wscons/wsdisplayvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsdisplayvar.h,v 1.9 2001/04/14 04:44:02 aaron Exp $ */ +/* $OpenBSD: wsdisplayvar.h,v 1.10 2001/05/08 22:28:43 mickey Exp $ */ /* $NetBSD: wsdisplayvar.h,v 1.14.4.1 2000/06/30 16:27:53 simonb Exp $ */ /* @@ -115,6 +115,7 @@ struct wsdisplay_accessops { int (*load_font) __P((void *, void *, struct wsdisplay_font *)); void (*scrollback) __P((void *, void *, int)); u_int16_t (*getchar) __P((void *, int, int)); + void (*burn_screen) __P((void *, u_int, u_int)); void (*pollc) __P((void *, int)); }; @@ -210,8 +211,16 @@ const struct wsscreen_descr * /* * for use by wskbd */ -void wsscrollback __P((void *, int op)); +void wsdisplay_burn __P((void *v, u_int flags)); +void wsscrollback __P((void *v, int op)); #define WSDISPLAY_SCROLL_BACKWARD 0 #define WSDISPLAY_SCROLL_FORWARD 1 #define WSDISPLAY_SCROLL_RESET 2 + +/* + * screen burner + */ +#define WSDISPLAY_DEFBURNOUT 600000 /* ms */ +#define WSDISPLAY_DEFBURNIN 250 /* ms */ + |