Hi,
> I have added Overlay support the the i810 gfxdriver that I 
> wrote.  I noticed that rendering to the backbuffer is not 
> supported.  Significant 'tearing' effects can be seen when 
> playing video using 'mplayer -vo directfb'.  Mplayer, by 
> default, blits or memcopies to the frontbuffer directly which 
> causes the 'tearing' effects. 
> I traced this to allocate_surface() which creates a surface 
> with a DSCAPS_FRONTONLY capability.  Is is possible that it 
> also passes a DSCAPS_FLIPPING if config->buffermode == 
> DLBM_BACKVIDEO aside from writing a gfxdriver-specific 
> xxxAllocateSurface?
> 
> Because I wanted to eliminte this 'tearing' effect, I modified
> allocate_surface() so it also passes DSCAPS_FLIPPING 
> depending on the buffermode.  I also experimented with 
> mplayer and modified it so it renders to the backbuffer then 
> calls layer->Flip() afterwards. The tearing effects disappear 
> this way.  Also, flipping, instead of blitting, effectively 
> bypasses the YV12 blit problem.  

Because this is not first complain about tearing. I would like to change

Mplayer's code to support flipping for all cards. 
So let me ask - how to create surface with flipping on "videolayer"?
I only found and use GetSurface - but this doesn't allow me or request
flipping.
Any hint appreciated
                                                JS




-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to