binding framebuffer slow down framerate

Started by
0 comments, last by Ashaman73 13 years, 9 months ago
Hi,

As soon as I bind a FBO (even if I don't use it, unbinding it just one line after), the framerate slow down from 125FPS (no FBO used) to 97FPS (one FBO bound/unbound). If I bind/unbind a second framebuffer, I get 75FPS.
So it seems like framebuffer binding eats up 2.66ms, which is pretty huge for such a simple operation !

What's going on ?

I'm using a GeForce GTX260, driver 197.13, Win 7 x64.

[Edited by - rldivide on July 7, 2010 2:57:49 AM]
Advertisement
Quote:
...which is pretty huge for such a simple operation !

An assumption what happens with a simple API call is often a nasty performance trap. You really don't know what happens in the driver, with a simple call you could trigger complex processing or flushing of the command pipeline.

An other nasty trap: are you checking for errors after binding the fbo ? Checking for errors often flushes the command pipeline.

This topic is closed to new replies.

Advertisement