Hi Haixiang Liu,

you can start with the presentation on bottom of this page:
http://celinuxforum.org/pubwiki/moin.cgi/ITJ2005Detail1_2d3

cheers
Oliver

刘海翔 wrote:

> Hi all developers,
>
> Now I want to port DirectFB to ST chip platform and framebuffer
> already worked now. Today I downloaded the DirectFB core source code
> and want to add support on my chip. And I have some questions on it
> because I can not find any material on how to programing DirectFB
> Graphic devices.
> 1. I think the chip graphic device driver should be under
> DirectFB-0.9.22/gfxdrivers. Is there any standard API interface for
> the graphic device driver to do some hardware accelarate operation?
> I noticed there are driver_init_driver, driver_init_device,
> driver_close_device and driver_close_driver in all graphic drivers. It
> seemed the interface API between graphic devices and DirectFB graphic.
> And I found one data structure contains the all function pointers to
> do hardware accelator operation. Is it right?
>
> 2. How does DirectFB know which graphic device should be called?
> From the architecture document, I need to add new device supported in
> configure file. I noticed in DirectFB-0.9.22/configure.in there are
> graphic driver supported list. So is it enough for me to add my chip
> in this file?
>
> bets regards
>
> Haixiang Liu


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

Reply via email to