View Full Version : How slow is glBindFramebufferEXT?

James A.
06-09-2009, 05:39 AM
I've been going through my source trying to find what are the slow areas and reading about how to improve them.

If I render a simple textured cube to the screen I get about 2800fps (acccording to fraps) If before rendering I bind and then on the next line unbind an FBO I created during initialization (so the rendered result is exactly the same) I get just under 1400 fps. Is this normal?

06-09-2009, 07:28 AM
At such high rates, even the slightest function call can affect the frame rate heavily. I would only start worrying when you see such a significant drop (percentage wise) somewhere below ~100 fps.

James A.
06-09-2009, 07:36 AM
ok thanks!

06-09-2009, 08:36 AM
Frames per seconds is not linear.

That is why for serious benchmarking, count and compare the milliseconds per frame, instead of fps.

James A.
06-09-2009, 03:20 PM
understood, thank you also.