DirectFB - Home of the pragmatist Roadmap

[directfb-dev] Re: [PATCH] G450/G550 detection for CRTC2
Mailing List archive

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

[directfb-dev] Re: [PATCH] G450/G550 detection for CRTC2

On Tue, Dec 24, 2002 at 11:08:50AM -0500, wrote:
> > It allows mplayer to do something useful while we wait for the vsync.
> Right.  I figured that.  But how much does it do while the thread
> waits for vsync though?

I haven't done any accurate measurments but it seems to help a bit.
Remember that mplayer is single threaded so any sleeping is just wasted

> Do I have it all correct?


> > Unfortunately this doesn't help as much as I'd like. Flip() waits
> > for the
> > card to become idle before flipping
> What do you mean "idle"?  Is there a good reason to wait for it to be
> idle?

We wait for the drawing engine to finish whatever it was doing and also
wait for the bfifo to drain. Most register writes and all framebuffer
writes go through this fifo. If we don't wait the card may still be
drawing to the new front buffer.

Ville Syrjälä

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

Home | Main Index | Thread Index / Development / Old Archives