summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/virgl/virgl_buffer.c
diff options
context:
space:
mode:
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>2019-07-05 14:22:16 +0300
committerChia-I Wu <olvaffe@gmail.com>2019-07-06 19:30:22 -0700
commitbb0a38d8197e1480dc5aedb3520741c840d01e91 (patch)
treee9feeffb9edca2396585b88470ce72a21291da1d /src/gallium/drivers/virgl/virgl_buffer.c
parent4633298fd62121a466884998cb64d7a5b5976fcd (diff)
virgl: Introduce virgl_resource_transfer_map
Normal mapping of buffers and textures uses almost identical logic. This commit extracts the this logic in the form of the virgl_resource_transfer_map() helper function. Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_buffer.c')
0 files changed, 0 insertions, 0 deletions