diff options
author | Gurchetan Singh <[email protected]> | 2018-12-28 11:19:03 -0800 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-02-15 11:19:05 +0100 |
commit | 4a7857b377d2083f94c28fcdb85abdb8f9d12fde (patch) | |
tree | 1c3debb993b9312dad74e1945e3b289941217f28 /src/gallium/drivers/virgl/virgl_texture.c | |
parent | 9c4930946a53d4f547e3c3ee6dcf672fbf0ac3a5 (diff) |
virgl: introduce transfer queue
Transfers will be placed here at unmap time instead of incurring
a VM exit. There's an attempt to deduplicate intersecting 1D transfers,
which are surprisingly common.
This can also help with mipmapped texture upload and smaller
textures, where the majority of the time is spent in the guest
kernel / QEMU -- not virglrenderer. This is shown by the GLbench
texture upload benchmark:
Before:
texture_upload_rgba_teximage2d_32 = 64.23 mtexel_sec
After:
texture_upload_rgba_teximage2d_32 = 367.44 mtexel_sec
v2: Split up list iteration functions (@gerddie)
v3: Support for optimizing glBufferSubData
Reviewed-by: Gert Wollny <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_texture.c')
0 files changed, 0 insertions, 0 deletions