aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vt/vt.h
diff options
context:
space:
mode:
authorAleksandr Rybalko <ray@FreeBSD.org>2014-03-28 22:04:27 +0000
committerAleksandr Rybalko <ray@FreeBSD.org>2014-03-28 22:04:27 +0000
commit1da9f0d73a8dc19c59a09323af14e50d92ced90d (patch)
treeec216153dfac82a7f71c0e162f7ab78e83f64672 /sys/dev/vt/vt.h
parentbd633799afea471c1797c9ce78acbc654bf4a022 (diff)
downloadsrc-1da9f0d73a8dc19c59a09323af14e50d92ced90d.tar.gz
src-1da9f0d73a8dc19c59a09323af14e50d92ced90d.zip
o Add new vd_driver method to do bitblt with mask, named vd_maskbitbltchr.
o Move vd_bitbltchr vga's driver method to vd_maskbitbltchr. o Implement new vd_bitbltchr method for vga driver. (It do single write for 8 pixels, have to be a bit faster). MFC after: 7 days Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=263885
Diffstat (limited to 'sys/dev/vt/vt.h')
-rw-r--r--sys/dev/vt/vt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/vt/vt.h b/sys/dev/vt/vt.h
index 9f175b8d3fe8..9445cc939cf8 100644
--- a/sys/dev/vt/vt.h
+++ b/sys/dev/vt/vt.h
@@ -282,6 +282,9 @@ typedef void vd_blank_t(struct vt_device *vd, term_color_t color);
typedef void vd_bitbltchr_t(struct vt_device *vd, const uint8_t *src,
const uint8_t *mask, int bpl, vt_axis_t top, vt_axis_t left,
unsigned int width, unsigned int height, term_color_t fg, term_color_t bg);
+typedef void vd_maskbitbltchr_t(struct vt_device *vd, const uint8_t *src,
+ const uint8_t *mask, int bpl, vt_axis_t top, vt_axis_t left,
+ unsigned int width, unsigned int height, term_color_t fg, term_color_t bg);
typedef void vd_putchar_t(struct vt_device *vd, term_char_t,
vt_axis_t top, vt_axis_t left, term_color_t fg, term_color_t bg);
typedef int vd_fb_ioctl_t(struct vt_device *, u_long, caddr_t, struct thread *);
@@ -298,6 +301,7 @@ struct vt_driver {
/* Drawing. */
vd_blank_t *vd_blank;
vd_bitbltchr_t *vd_bitbltchr;
+ vd_maskbitbltchr_t *vd_maskbitbltchr;
vd_drawrect_t *vd_drawrect;
vd_setpixel_t *vd_setpixel;