Re: [AD] Oddity in src/linux/fbcon.c |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> > Note that, if FBIOGET_VBLANK is not defined, fb_vsync() will be
> > invoked twice. Is this a thinko?
>
> It doesn't seem to jurt hurt performance for me. In fact, with only
> one fb_vsync animation looks more jumpy. But I can't say, I have
> one of these LCD screens which are bad for any kind of animation.
So FBIOGET_VBLANK is not defined on your system? Or maybe vblank_flags is
zero, so Allegro must resort to the timer kludge to synchronize?
In either case, your test shows that the second fb_vsync() probably makes a
difference, so I think we should keep it. And add a comment that records
what you've found.
--
Eric Botcazou