DF Console GUI
saw at online.de
Thu Mar 2 15:23:24 PST 2006
Nigel Weeks wrote:
I was reading through FBSD6's /usr/src/sys/dev/syscons to find out more
about libVGL programming, when I noticed some code based on DF code.
Does anyone know of examples of code using these syscons graphics libraries?
(Want to have a shot at porting Qtopia (was QT-embedded) to BSD)
libvgl does not call code from sys/dev/misc/syscons directly. It has its
own routines for drawing. The code in syscons itself is kinda optimized
towards drawing the things syscons needs (filled rectangles, characters,
mouse pointer) quickly.
On the other hand, if you take a look at vga.c you'll notice that work
on some generic kernel drawing functions seems to have been started
years ago but so far nothing seems to use it. The video_switch_t has
some function members for drawing (vga_fill_rect() e.g.).
If you are looking for examples that use libvgl, there should be some
FreeBSD ports that link against libvgl. grep should find what you want.
More information about the Users