See below (I hate Outlook...)
-----Original Message----- From: Mariano Alvarez Fernandez [SMTP:malfer@telefonica.net] Sent: Mittwoch, 19. Februar 2003 21:37 To: Demmer, Thomas Cc: grx@gnu.de Subject: Re: Patch for fd_win32.c
Demmer, Thomas wrote:
Hi all, as promised, here are the patch files for MS Windows to use Device Independent Bimaps to speed up.
Thanks a lot for your work Thomas.
- About the "get rid of GRXMain" part:
I will integrate it in the next pre-release. I have changed the vdriver a bit, I think is much cleaner. I attach it for review.
Good to hear. I'll check it.
- About the DIB aproach:
Is very interesting and really fast!. But now than you have a pointer to a "24 bpp linear frame buffer" (the bitmap), why not use the standard GRX framebuffer with them?
The idea is to clone the fdrivers/lfb24.c in fdrivers/lfb24w32.c (by example) using a new driver name (like GR_frame24W32_LFB by example). I suspect the only things to add are the apropiate InvalidateRects.
Hmm, I have been stealing in ram24.c, apparently I have been searching in the wrong places. Looks to me like a major peace of surgery, but thanks for the pointer. At least I will have to change the DIB to being a top-down bitmap instead of being bottom-up. I do not have the slightest idea why MS made that the default.
Ciao Tom