2008/9/18, Francesco Poletti <[EMAIL PROTECTED]>:
>
>  Ok, I got the answer...We are using the Jade Evaluation Board  a new 
> evaluation board (from my_cable) for "Jade fujtsu" core 
> (http://www.fujitsu.com/emea/services/microelectronics/gdc/evalbds/jade-evalboard.html).
>  We are using a driver that does not exploit the GPU hardware acceleration.
>  Anyway I expected the the flip function to just swhitch a pointer, while, as 
> you explain us, it copy the shadow buffer into video memory. This is probably 
> because of our driver...isn't it?

You are right - the Flip() without blitting is function of the fbdev
driver. I know two reasons why switching of the buffers can be
disabled : fbdev is not support a panning function or your device (may
be fault of fbdev too) has not enough video memory to allocate the
shadow buffer.

>  So far I have a new question for you, how complex would be start 
> implementing some sort of hardware acceleration?Where can we find 
> documentation on how to do it?I mean about the directfb part, because we have 
> fully documentation about the GPU...

Documentation for gfxdriver is source code of DirectFB.:)
It's not a very difficult goal. See sources of some simple gfxdriver
from the library. Too files src/core/gfxcard.h and gfxcard.c contain
important comments.

I spent couple of weeks to create my own driver. I did it so:
1) I'd created new folder in DirectFB/gfxdrivers/
2) copied one of existing drivers sources to the folder (e.g. you can
use ati128)
3) renamed all files, functions and structures (like as ati128Blit =>
xxxBlit) and corrected makefiles.
4) Next I'd changed followed functions :
driver_probe(),driver_get_info(),driver_init_driver(),
driver_init_device(), driver_close_device(), driver_close_driver()
5) When DirectFB could register my driver I'd begun to change
check_state() and set_state() and create(change) gfx functions like as
Blit, FillRect, Line and so on.

Good luck!

-- 
Best Regards
Nikita Egorov
[EMAIL PROTECTED]
[EMAIL PROTECTED]
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to