On Fri, Dec 13, 2002 at 01:15:01PM -0800, Sottek, Matthew J wrote:

> The i810's vblank interrupt does not go to the CPU's interrupt
> controller IIRC. Therefore you have to poll for vblank by reading
> the current scanline.

That's quite surprising to me.

> Usually apps that are waiting on vblank can be better served by
> solving the actual problem rather than trying to use a generic wait
> For vblank solution.
> 
> i.e. If you want to blit to the FB and don't want to see tearing,
> the i810 can pause the DMA stream until a vblank. So issue the wait
> for vblank before your blit and there is no need for your app to
> worry about it.
> Or, if you want the overlay to flip synchronous with vblank... The
> Hardware already does that for you.

So, how do you delay the flip-blit to the vblank but NOT delay other
rendering?  I think that would also make it difficult to implement things
like {GLX,WGL}_SGI_swap_control or {GLX,WGL}_OML_sync_control.

-- 
Smile!  http://antwrp.gsfc.nasa.gov/apod/ap990315.html


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to