3 ms·
That's what it was, mostly. You could do pretty decent games using GDI as long as you just wanted to blit some sprites and were very much adhering to what GDI
by Jare 2y ago
That's what it was, mostly.
You could do pretty decent games using GDI as long as you just wanted to blit some sprites and were very much adhering to what GDI would give you. If I remember correctly, all the examples in the "GameSDK sampler CD-ROM" (the original name of DirectX 1.0) were in fact not done with GameSDK or even with WinG, but straight GDI.
- bonzini 2y agoI think it was better and easier to set up a DIB, treat it as a double buffer of sorts and only use GDI to BitBlt it to screen. Don't ask me how you do that, though it probably would not take me too much to page that stuff back into my brain by looking at the Microsoft Win32 manuals. Maybe CreateDIBSection? I still remember my kernel32.dll, but not GDI or User. Anyway, what WinG did (and all it did) was speeding up the blitting part.
- markus_zhang 2y agoI don't know much about the performance, but I guess non-action games should be fine?
- Jare 2y agoThe GameSDK samples included scrolling backgrounds and that kind of stuff.