On Thu, 2003-07-31 at 01:02, Ian Romanick wrote:
> Michel Dänzer wrote:
> 
> > On Wed, 2003-07-30 at 18:26, Ian Romanick wrote:
> > 
> >>[...] we don't want the R200 driver to expose GLX_MESA_swap_control 
> >>if there's no vblank interrupt available. Since it can't implement 
> >>the functionality, we don't want to advertise it.
> > 
> > It could poll for vertical blank...
> 
> I thought about that.  The problem is that the swap_control extensions 
> say "only swap after at least N refreshes have happened."  Without 
> interrupts, how do we know how many refreshes have happened between any 
> two points of time out side the poll-loop?  If there's a way, then we 
> can fall-back to that.

The CRTC_CRNT_FRAME register could work? The counter is only 21 bits
though.


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to