How good is GDI for making games?
This is a discussion on GDI within the Windows Programming forums, part of the Platform Specific Boards category; How good is GDI for making games?...
How good is GDI for making games?
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
GDI (unless we're talking about Vista, I think) is NOT hardware accelerated (afaik) and is therefore a poor choice of API for games.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
It can be if the driver implements it - but it is also perfectly possible to write a driver that performs only the two required BitCopy operations, and punt everything else back to the GDI software solution. [You also need to "initialize" the driver and close it and a few other simple functions to make a complete but minimal windows graphics driver].
However, I do admit that GDI is not necessarily HIGHLY accelerated in modern graphics drivers, because it's generally "fast enough" through the a trivial implementation that implements many of the basic operations with HW acceleration, but not all of them.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.