PDA

View Full Version : FBO and PBO



Mars_999
11-05-2006, 06:38 PM
Can you use a PBO to be a target for a FBO? Meaning I have a depth texture and a few color textures I have setup with a couple FBO's. Now would making a texture for them using a PBO and calling that PBO texture object when I call my FBO for rendering work? Would it be faster? Thanks

Zengar
11-05-2006, 08:30 PM
I don't believe it would be faster, but you can surely do that. PBO just gives you asynchronous texture transfer, it is not "faster" then usual textures.

Bruce Merry
11-07-2006, 01:12 AM
I'm not sure I understand what you're trying to do, but you cannot directly attach a PBO to an FBO attachment point they you can with RBOs or textures (at least not currently). You can do a ReadPixels to the PBO then TexSubImage2D from the PBO, but I can't see that being faster than rendering directly to the texture unless you need to do a format conversion along the way.

Relic
11-07-2006, 03:15 AM
There is a general misconception about the meanings of these "BO" extensions.

Mind the position of the dash in the following expressions:

Vertex-Bufferobject
Pixel-Bufferobject

Framebuffer-Object

VBO and PBO belong to one group, FBOs are something completely different!

Mars_999
11-07-2006, 05:58 AM
I understand that these are three different things and PBO are closely related to VBOs. But I was just wondering if speed would be increased due to PBO are supposed to be fast, and am not sure if FBO speed transfers were the same as PBO in theory...