How slow is glBindFramebufferEXT?

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?

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.

ok thanks!

Frames per seconds is not linear.

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

understood, thank you also.