Buffer Object Copy


Is there any way to copy data from one buffer object to another buffer object? With BufferSubData and GetBufferSubData it is possible but there all the data is transfered over the CPU. Is there any possibility to do that directly?

Thanks in advance

I think you could map the src buffer and then do a bufferSubData call from the map location to the dst buffer. It would be up to the driver implementers as to whether this is accelerated though. ATI does not currently accelerate this, but this wouldn’t be any slower than your suggested method.

hm Didn’t thought of that. But wouldn’t it be easier to intoduce a new function?