Quoting Denis Oliver Kropp ([EMAIL PROTECTED]):
> > 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.  
> 
> The default configuration is defined by the driver. All drivers use
> non-flipping as default. IDirectFBDisplayLayer::SetConfiguration() can
> be used to change the buffer mode.

And of course the DSCAPS_FLIPPING stuff was missing in allocate_surface().

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


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

Reply via email to