[AD] modeselector speed-up & small bugreport. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Added code to re-use mode-lists. the speed of create_driver_list() under
windows is now: 41ms on my computer. Quite an improvement from 109ms and
243ms. These changes will also affect the speed notably under DOS (VESA
drivers) and other platforms that has GFX_DRIVERs that share a common
fetch_mode_list() function. Eric, how long does create_driver_list() take on
your computer now?
Bugreport:
Compilation under cygwin now yields the following warning:
gcc -s -Wl,--subsystem,windows -o tools/grabber.exe
obj/mingw32/alleg/grabber.o
lib/mingw32/libaldat.a
lib/mingw32/liballeg.a -lkernel32 -luser32 -lgdi32 -lcomd
lg32 -lole32 -ldinput -lddraw -ldxguid -lwinmm -ldsound -L/lib/mingw -lmoldn
ame
-lmsvcrt
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
warn
ing: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000
i guess the grabber should be compiled as a console application.
Also fixver.sh reports:
cp: cannot stat 'misc/allegro-config.be': No such file or directory.
the file exists. (?)
--
Sincerely Henrik Stokseth.
-----------------------------------------------------------------------
E-mail: hstokset@xxxxxxxxxx Homepage: http://hstokset.n3.net