[AD] yet another windows diff |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
I have changed completely the update logic in windowed driver: now it doesn't update the window 70 times a second, instead only when it's necessary, and only parts of screen which have changed. With the test program it's a bit slower, because it updates the window whenever screen changes, but it's more accurate. I have tried demo, and it works really smooth (60-70 fps) using dirty rectangles or page flipping (with desktop at 16 bit). Added an accelerated vline (with Blt) Moved asm code in wddlock.c to another file asmlock.s. I have used pointers to functions in order to call a C function (it works with MSVC, please test it with other compilers)
Attachment:
windows2.zip
Description: Zip compressed data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |