DirectFB - Home of the pragmatist Roadmap


[directfb-dev] Re: Flipping troubles - videolayer, crtc2
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-dev] Re: Flipping troubles - videolayer, crtc2


  • To: Jiří Svoboda <Jiri.Svoboda@seznam.cz>
  • Subject: [directfb-dev] Re: Flipping troubles - videolayer, crtc2
  • From: Antonino Daplas <adaplas@pol.net>
  • Date: 14 Jun 2002 00:31:14 +0800
  • Cc: directfb-dev <directfb-dev@directfb.org>
  • Content-transfer-encoding: quoted-printable
  • Content-type: text/plain; charset=iso-8859-2
  • In-reply-to: <7240.18632-27234-1337787225-1023949707@seznam.cz>
  • References: <7240.18632-27234-1337787225-1023949707@seznam.cz>
  • Sender: directfb-dev-bounce@directfb.org

On Thu, 2002-06-13 at 14:28, Jiří Svoboda wrote:

> > 
> > After placing DFBM_BACKVIDEO to dlc.buffermode (as what Denis
> > suggested), flipping works.  However the resulting video was shaky and
> > still has tearing.  I tested this with the i810 gfxdriver which I wrote
> > so I'm not sure if this is due to the i810's implementation of
> > FlipBuffers.
> > 
> > If I use your old implementation, but just add an extra instruction to
> > flip, ie. draw to frame, copy/blit from frame to primary, then flip
> > primary, the resulting video was smooth and steady.
> > 
> > Tony
> > 
> > 
> This is same behaviour as on mga. But this happens only for overlay.
> It look for me that I'm getting pointer to wrong buffer.
> Simply try to set backbuffer into main memory. Than on mga overlay is
> not updated at all.
> JS

Setting backbuffer to main memory disregards the FlipBuffer() command,
but instead calls dfb_back_to_front_copy(), which is essentially a blit
command.  Is the blit for YUV planars fixed in 0.9.11?  Maybe this is
the reason why flipping from a system backbuffer does not work.

Tony



--
Info:  To unsubscribe send a mail to listar@directfb.org with
"unsubscribe directfb-dev" as subject.



Home | Main Index | Thread Index


directfb.org / Development / Old Archives