The previous iovec code in vrend_renderer.c would copy image rows out in a loop where each iteration would seek from the start of the iovec. These iovecs often have 100s of elements, so the seek is inefficient compared to a coherent approach.
This change adds an iovec iterator struct and multi block read functions that provide a ~1% speedup to a CS:GO apitrace replay. Possibly more in other cases.
Signed-off-by: John Bates firstname.lastname@example.org