|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [directfb-dev] Re: v-retrace sync
Quoting Michel Dänzer: > On Thu, 2003-11-20 at 13:43, micronuke wrote: > > > > i'm quite new to DirectFB but i'm really excited about it since it's just > > what i've been searching for for a long time.. i want to develop using it. > > thanks a lot for it! :) > > one of the features i really like is its ability to sync blitting to the > > vertical retrace of the monitor. but unfortunately that doesn't seem to > > work very well.. i've written a simple test program that just moves a > > horizontal line vertically over the screen, one pixel per frame, synced to > > the v-retrace. but the result isn't smooth at all.. the movement staggers > > a lot. i think there is no mistake in my (very simple) program, but who > > knows.. ;) if you want to take a look at it: > > http://www.micronuke.net/code/test.c > > > > i'm using an ATI Radeon 32MB DDR.. is it probably a problem with the > > radeon-driver that is still in development? > > Possibly, radeonWaitVSync() uses usleep(), which IMHO is the better > default than a busy loop, but you can easily change that to verify it's > the problem. BTW, my Radeon 9000 Pro has brilliant benchmark results ;) I got ~2000 MPixel/sec for FillRectangle and ~1200 MPixel/sec for Blit. Both tests were running at 16 bit. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to ecartis@directfb.org with "unsubscribe directfb-dev" as subject.
|
|
| directfb.org |
|
Development |
|
Old Archives |