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, but I would consider removing the usleep(1), because it waits up to 20ms. > makes things nice and smooth, just as they're supposed to be. :) Note > that FBIO_WAITFORVSYNC isn't defined here, so that part is completely > untested. Maybe the DirectFB tree should have its own copy of fb.h for > things like this? Good idea, I thought about that, too, especially for all unofficial accel ids. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
