diff options
author | Chia-I Wu <[email protected]> | 2019-05-09 13:27:34 -0700 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-05-15 20:51:28 +0000 |
commit | e87186fc679c146c5d521139bb79c8eafa0a22f0 (patch) | |
tree | 65f7d2d6e3ab2ad19f02a633faf5e56c797521bb /src/gallium/drivers/virgl/virgl_streamout.c | |
parent | cdcf38b98a7bfdfda5836d6a4cebb6cca074e5ff (diff) |
virgl: add virgl_resource_transfer_prepare
virgl_resource_transfer_prepare should be called before mapping to
prepare the resource. It does flush, readback, and wait as needed.
virgl_res_needs_flush and virgl_res_needs_readback become internal
helpers to the new function.
There should be no externally visible change.
Signed-off-by: Chia-I Wu <[email protected]>
Reviewed-by: Alexandros Frantzis <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_streamout.c')
0 files changed, 0 insertions, 0 deletions