I've just chatted with Keith Packard on this. This interface (an ioctl that blocks) isn't a good one.
How about a signal when vertical blanking arrives? (1st choice) That, or something we can select on? (2nd choice) - Jim Gettys > Sender: [EMAIL PROTECTED] > From: Michel =?ISO-8859-1?Q?D=E4nzer?= <[EMAIL PROTECTED]> > Date: 01 Nov 2002 22:01:46 +0100 > To: [EMAIL PROTECTED] > Subject: Re: [Xpert]But *why* no vblank? > ----- > On Fre, 2002-11-01 at 21:10, [EMAIL PROTECTED] wrote: > > Yes, XSYNC has the right things to allow applications to synchronize > > on arbitrary things (including vertical sync). > > > > If the fbdev and/or DRI folks are willing to support and export an > interface, > > it should be possible to get the plumbing hooked up. > > > > Just make it a file descriptor we (and/or other things) can select against, > > and it should be something that can be pretty cross platform without much > > trouble: them's that don't implement it on a given platform won't get > > support... > > The interface we've implemented in the DRM is an ioctl which basically > blocks for a requested number of vertical blanks (it's more flexible in > fact). Maybe a daemon or something could provide a file descriptor to > select against? > > -- Jim Gettys Cambridge Research Laboratory HP Labs, Hewlett-Packard Company [EMAIL PROTECTED] _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert