Though I aspire to have problems that belong in the advanced forum, alas, I am plagued by simpler issues.
After looking through previous posts on this forum, I have gathered that it is possible windows, when you call SwapBuffers(), does not just swap pointers to blocks of memory, but does some sort of Blt to copy the back buffer to the front. As sucky as this may be, it still doesn’t explain the performance hit I am seeing.
Running just in windows message loop, drawing nothing and not swapping buffers, I run at about 350-500fps. However, if I insert a call to SwapBuffers(still no drawing), I drop to 11fps. Yes, 11 fps. I am running in software mode, but I don’t think that explains an upper limit of 11fps (without drawing). I’m using a 500x500 window at 24bpp and 16-bit depth buffer. However, even if I use a lesser color depth and depth buffer, it doesn’t affect things. Any ideas???
Clearly hardware acceleration would help. However, I need to make sure I run at a decent frame rate in software. Clearly an upper limit of ~11fps is not “decent”.
Any help is appreciated.