Hi there,

I think the easiest approach is to use 'system X11' which has the graphics driver build-in. You need to rip some stuff, like palette, mode switching and GLX to make it easier to understand. Interesting is x11image.c where it creates the image and primary.c where it renders it (XPutImage).
Just note that it is a 'test' driver so it might have some funny tweaks.

Greets
Niels

Welson Jr wrote:
Hi All,

The device i´m trying to support does not have a framebuffer hardware, instead there is a api in user land with two simple functions:
1 - Allocate a memory buffer
2 - Render this buffer to screen.
------------------------------------------------------------------------

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev


--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to