3 ms·
Part of the reason for this is that the "raw" buffers you're reading back are not actually raw buffers. If you have raw access to the hardware (for example, usi
by kevingadd 5y ago
Part of the reason for this is that the "raw" buffers you're reading back are not actually raw buffers. If you have raw access to the hardware (for example, using the graphics APIs on a game console) it turns out that they are typically using custom compressed representations and if you just want a buffer with pixels in it, the real buffer has to be decompressed, either in-place or into a temporary buffer. So when you are using that extension to read back raw data, what you're actually doing is kicking off a conversion operation on the GPU, then waiting and reading the contents of the buffer via DMA.