That code will not work. OpenGL commands are by definition assumed to be asynchronous in behavior. GL commands are required to have fully written to or read from any parameters before they complete.
But outside of that, all bets are off Timing any individual glDraw call will tell you only how much time it takes that function call to complete. It says nothing about how long the rendering takes to finish A more thorough discussion of this subject is available The upside is that you can time rendering, but you have to do it OpenGL's way ARB_timer_query allows you to do exactly that: time how long it takes for OpenGL commands to complete not merely be given to OpenGL. This extension is core in OpenGL 3.3, and it is pretty widely available for various levels of hardware.
Pretty much any GPU still being supported by its owner implements this.
That code will not work. OpenGL commands are by definition assumed to be asynchronous in behavior. GL commands are required to have fully written to or read from any parameters before they complete.
But outside of that, all bets are off. Timing any individual glDraw* call will tell you only how much time it takes that function call to complete. It says nothing about how long the rendering takes to finish.
A more thorough discussion of this subject is available. The upside is that you can time rendering, but you have to do it OpenGL's way. ARB_timer_query allows you to do exactly that: time how long it takes for OpenGL commands to complete, not merely be given to OpenGL.
This extension is core in OpenGL 3.3, and it is pretty widely available for various levels of hardware. Pretty much any GPU still being supported by its owner implements this.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.