Incase you don’t already know, in the new Windows 2000, you get a small shadow beneath the mouse pointer (the shadow is enabled by default.)
All harmless enough you might think, until I started testing the frame rate of an MFC based OpenGL programme that I wrote, and noticed the following information:
Frame rates for OpenGL window, mouse pointer shadow enabled (as default):
Stationary mouse pointer over OpenGL window: 12.5 fps
Moving mouse pointer over OpenGL window: 9.1 fps
Stationary mouse pointer NOT over OpenGL window: 14.3 fps
Moving mouse pointer NOT over OpenGL window: 9.1 fps
If on the other hand, I turn the pointer shadow off (from the control panel), then my frame rate stays at 14.3 fps no matter what.
Nice eh? That ‘little’ shadow can nearly halve the frame rate of an OpenGL programme in a window!!!
Anybody got any clues as to why this happens, or can verify my findings?