Michel Dänzer wrote:
On Sun, 2003-07-27 at 00:54, Ian Romanick wrote:

We also need a way to specify that interrupts are not available. In this case, we don't want to export any of the vsync related GLX extensions.

The only way to find out is to try the ioctl, so maybe try it in CreateContext() and set VBLANK_FLAG_NO_IRQ if it fails?

My point is that rmesa->do_irqs has nothing to do with this.

Why not? do_irqs gets set in three cases:


1. The kernel version was too low to query for an IRQ number.
2. The kernel version was high enough to query for an IRQ number, but none was reported.
3. The user specifically asks that interrupts not be used, for whatever reason.


The first two are *exactly* the cases we care about. In the first two cases we know a priori that the ioctl will fail. The third is perhaps questionable.



-------------------------------------------------------
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