|Site sponsored by IGEL|
[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, email@example.com 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 time. > Do I have it all correct? Yes. > > 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ä firstname.lastname@example.org http://www.sci.fi/~syrjala/ -- Info: To unsubscribe send a mail to email@example.com with "unsubscribe directfb-dev" as subject.