PDA

View Full Version : Framebuffer objects performance



sdrouin
11-24-2009, 12:56 PM
I have to draw to different textures and render buffers for every frame of my application. What is faster:

1 - Having one framebuffer object and regularly changing the attached texture.

OR

2 - Having multiple framebuffer objects, each one always being attached to the same texture and changing the DrawBuffer regularly.

?

s.

ZbuffeR
11-25-2009, 02:36 AM
2) should be faster in theory, if you have the vram to hold everything, as it will allow better parallelism.
But if you really want to be sure, benchmark both solutions.