Hi Tasos,

as far as I know there is no 'written' documentation.

I would advise two things:
(1) have a look at a relatively simple graphics driver to get an idea of the basic architecture. The simplest one is the ep9x driver. (2) have a look at src/core/gfxcard.h, which contains the big, commented, structure of the directfb graphics device functions; these are the callbacks that you may, or may not, need to implement for your driver.

Normally, DirectFB will call SetState as a result of colour changes etcetera, but as a first shot simplification, you can simply query and set these state variables directly in your card on each blit/draw call; this saves you some housekeeping (but will cost you performance).

hth
Niels

Tasos Parisinos wrote:
Hi devels

Where can i find the most up to date and thorough documentation on how to write gfxdrivers and what are the semantics of the various items in the gfxdriver?

Thanx
Tasos Parisinos

_______________________________________________
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