RE: [AD] mode selector, some observations... |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Henrik Stokseth writes:
> according to my numbers what can be done to speed things up, seems to be
> optimizing the directx mode enumeration. perhaps the callback is a little
> slow?
Enumerating video modes is always fundamentally slow on many systems,
as not all drivers store this information, so they may need to actually
talk to the hardware to discover it (and what might be a reasonable delay
in the process of changing video mode gets totally unacceptable if you
have to call that function hundreds of times before bringing up a GUI
box).
This is why I avoided putting any mode querying into the drivers before now :-)
Shawn.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |