diff options
author | Charmaine Lee <[email protected]> | 2016-09-01 13:40:34 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-09-17 10:24:12 -0600 |
commit | c8ef82d65a2c563c1dbafb2a252aca230ab9d1c7 (patch) | |
tree | 1afb93b20d6bdd8d63f7db06fb2a9b2cd948405a /src/gallium/drivers/svga/svga_cmd.h | |
parent | 2a4b019239ea74c5573322881d663529bfd8191a (diff) |
svga: add SVGA3d_vgpu10_TransferFromBuffer()
Also add the corresponding dump function to dump the TransferFromBuffer command.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_cmd.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_cmd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_cmd.h b/src/gallium/drivers/svga/svga_cmd.h index 47a33ec3932..db0f8908e5d 100644 --- a/src/gallium/drivers/svga/svga_cmd.h +++ b/src/gallium/drivers/svga/svga_cmd.h @@ -668,4 +668,14 @@ SVGA3D_vgpu10_BufferCopy(struct svga_winsys_context *swc, struct svga_winsys_surface *src, struct svga_winsys_surface *dst, unsigned srcx, unsigned dstx, unsigned width); + +enum pipe_error +SVGA3D_vgpu10_TransferFromBuffer(struct svga_winsys_context *swc, + struct svga_winsys_surface *src, + unsigned srcOffset, unsigned srcPitch, + unsigned srcSlicePitch, + struct svga_winsys_surface *dst, + unsigned dstSubResource, + SVGA3dBox *dstBox); + #endif /* __SVGA3D_H__ */ |