On Mon, 2003-07-14 at 00:27, Denis Oliver Kropp wrote: > Quoting Michel D�nzer ([EMAIL PROTECTED]): > > > > this. Is there a way for a gfxdriver to provide its own WaitVSync > > > > function? > > > > > > You can call dfb_layers_hook_primary() in driver_init_driver(), > > > an example of that is in "cyber5k.c". > > > > Thank you, > > > > http://penguinppc.org/~daenzer/DirectFB/radeon-vsync.diff > > Applied it,
Thank you. > but I would consider removing the usleep(1), because it waits up to 20ms. Well, I consider that better than hogging the CPU. :) The best solution is an IRQ based ioctl of course. -- Earthling Michel D�nzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
