I appreciate in advance any help that I can get on this topic because it is frustrating me to no end…
I have used the NeHe model for my OpenGL application and I placed a frame rate counter in my application to see if I could measure how much my application slowed down each time I added an object to the display. For some reason the screen is running at close to 75 FPS when no object is displayed to the screen and then it steps down considerably (with noticable chop when changing the projection matrix to move the ‘camera’) once I add a simple object to the screen. When I add a second object the scene slows considerably again.
I tried running my application in the Visual C++ debugger to see what could be causing the slowdown. From what I could tell, the only call that was causing a considerable performance hit was when the native SwapBuffers function was called. I was getting code performance of close to 600fps when this line was commented out. Once I put the command back in, the performance dropped to less than 30fps.
Seeing as how I am running on a fast machine with a well accelerated graphics card I think that I should be seeing faster frame rates than this. Could someone please let me know how I could possibly speed up my OpenGL performance?