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?

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...

Many thanks, Francesco.

Nikita Egorov ha scritto:
 Hi all, we are experencing strange behaviour in the Blit and Flip function.
    

First question - what is your system and gfx hardware ?

  
 Basically if I set the primary surface with this DFBSurfaceDescription:
      dsc.flags = DSDESC_CAPS;
      dsc.caps = DSCAPS_PRIMARY | DSCAPS_FLIPPING;

 Then when I execute blit function on this primary surface nothing appears on the display as expected, but, as far as I understood, I can execute the flip function with the option:

 DFBCHECK (primary->Flip (primary, NULL, DSFLIP_NONE)); I expected this function to Flip immediatly, because I setted the NONE option, while it seems to wait for some sort of shyncronization.
 For sure the execution is extremely slow.
    

If you haven't hardware support then Flip() is copying the data from
shadow buffer into video memory. Usually it's very slow operation.

  
 On the other hand when I set the Surface description with this option: dsc.caps = DSCAPS_PRIMARY | DSCAPS_NONE; then the execution is 10 times faster...

 How is this possible, am I doing something wrong?

 Furhtermore when I enable the alphachannel for the primary surface, by setting the blitting flags to "DSBLIT_BLEND_ALPHACHANNEL" the flip/blit performances slow extremely down...
    

Software blending is more slow than simple copying...

  
 How can I improve this performance?
    

Enable the hardware support for gfx operation if it's possible.

  

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

Reply via email to