PDA

View Full Version : Buffer Object Copy



Corrail
04-07-2004, 05:06 AM
Hello!

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

ribblem
04-08-2004, 02:58 PM
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.

Corrail
04-10-2004, 03:19 AM
*hm* Didn't thought of that. But wouldn't it be easier to intoduce a new function?