11 Commits

Author SHA1 Message Date
rpaulo
bde4329af1 Need to include machine/fdt.h. 2014-04-05 23:20:49 +00:00
ray
d10ea36fa3 Add two new vt(9) driver methods: vd_drawrect and vd_setpixel.
Implement vd_drawrect and vd_setpixel for vt_fb driver.

Sponsored by:	The FreeBSD Foundation
2014-02-06 15:12:44 +00:00
ray
ff1baa3a0a Style(9) fix.
No functional changes.

Sponsored by:	The FreeBSD Foundation
2014-01-20 23:36:16 +00:00
ray
4cd7151fa0 o Add virtual terminal mmap request handler.
o Forward termianl framebuffer ioctl to fbd.
o Forward terminal mmap request to fbd.
o Move inclusion of sys/conf.h to vt.h.

Sponsored by:	The FreeBSD Foundation
2013-12-23 18:09:10 +00:00
nwhitehorn
9cdeadcae2 Work around false positive errors from GCC. 2013-11-30 22:46:43 +00:00
ray
2edf4bd36a Update vd_bitbltchr_t type to handle operation mask (to not touch pixels which
is not defined in mask) and bpl (bytes per source line).
Only vt_fb driver handle handle bpl yet.
Add protector for case when blitting image can be drawn partially out of screen,
like mouse cursor.

Mouse cursor and its movements works fine, copy/paste not yet.

Sponsored by:	The FreeBSD Foundation
2013-11-11 13:25:49 +00:00
ray
89ea1ab094 Handle suspend/resume. Switch to console window before suspend, switch back on
resume. That fix issue with broken Xorg image after resume.
Fix some style whilst here.

Sponsored by:   The FreeBSD Foundation
2013-11-07 21:08:52 +00:00
ray
147123a2c6 Early console with FDT/OFW support.
TODO - done PPC, SPARC64 and FDT-less variants.

Sponsored by:	The FreeBSD Foundation
2013-11-05 23:09:36 +00:00
ray
1e2852a5da Export vt_fb VT driver methods to allow reuse.
Sponsored by:	The FreeBSD Foundation
2013-11-05 23:01:57 +00:00
ray
b5d885c5f9 Use copy method which maybe defined by framebuffer provider, but not just
memmove.

Sponsored by:	The FreeBSD Foundation
2013-10-23 19:45:14 +00:00
ray
280385557c Add VT(9) driver for generic framebuffer.
Sponsored by:	The FreeBSD Foundation
2013-10-22 14:39:32 +00:00