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





需要一个2000兆的免费邮箱吗?
网易免费邮箱是中国最多人使用的电子邮箱。

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

Reply via email to