summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_cmd.h
diff options
context:
space:
mode:
authorNeha Bhende <[email protected]>2017-03-06 15:53:58 -0800
committerBrian Paul <[email protected]>2018-09-05 11:22:42 -0600
commit6b3627da08997701b837dfb166eb0fb35a6312ee (patch)
tree4114c3a55e28facffe2bb11178184a6653596a5b /src/gallium/drivers/svga/svga_cmd.h
parentbac94dfefa8f6614b6243d68def7c9beab04ec66 (diff)
svga: Add SVGA3dCmdIntraSurfaceCopy command support in OpenGL driver
v2: changes as per Charmaine's comment Reviewed-by: Charmaine Lee <[email protected]> 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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_cmd.h b/src/gallium/drivers/svga/svga_cmd.h
index 51788849d65..b191ed5d307 100644
--- a/src/gallium/drivers/svga/svga_cmd.h
+++ b/src/gallium/drivers/svga/svga_cmd.h
@@ -682,4 +682,12 @@ SVGA3D_vgpu10_TransferFromBuffer(struct svga_winsys_context *swc,
unsigned dstSubResource,
SVGA3dBox *dstBox);
+/*Cap2 commands*/
+enum pipe_error
+SVGA3D_vgpu10_IntraSurfaceCopy(struct svga_winsys_context *swc,
+ struct svga_winsys_surface *src,
+ unsigned level, unsigned face,
+ const SVGA3dCopyBox *box);
+
+
#endif /* __SVGA3D_H__ */