cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

sarbrita
Journeyman III

Fats transfer pixels from GPU to CPU

Hi,

Whats the best way to transfer pixels from GPU to CPU apart from async PBOs. Is there any new extension or hardware change in new GPUs that support that.

0 Likes
1 Reply
gsellers
Staff

Hi,

The fastest way on AMD hardware is to use a pinned memory buffer to avoid the additional copy into the application's address space. You should also ensure that you are reading in a format that matches that of the buffer you are reading from, and that the offset in the buffer is naturally aligned for the chosen internal format. This will ensure that the driver does not have to do any additional alignment or format conversion work.

Thanks,

Graham

0 Likes