summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_blitter.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-12-13 09:14:48 -0500
committerRob Clark <[email protected]>2018-12-13 15:51:01 -0500
commit4ec2f6129b9283d81b5dc8d95d304b243ec5145c (patch)
tree20b3ef3e351e9b2e7087d217d365501388095356 /src/gallium/drivers/freedreno/freedreno_blitter.h
parent57b76ee2a877057e1d32f9719cada69cc17562e2 (diff)
freedreno: move fd_resource_copy_region()
Code-motion prep for next patch. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_blitter.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_blitter.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_blitter.h b/src/gallium/drivers/freedreno/freedreno_blitter.h
index 9d213b577b5..1fe85a840a6 100644
--- a/src/gallium/drivers/freedreno/freedreno_blitter.h
+++ b/src/gallium/drivers/freedreno/freedreno_blitter.h
@@ -33,4 +33,12 @@
void fd_blitter_blit(struct fd_context *ctx, const struct pipe_blit_info *info);
+void fd_resource_copy_region(struct pipe_context *pctx,
+ struct pipe_resource *dst,
+ unsigned dst_level,
+ unsigned dstx, unsigned dsty, unsigned dstz,
+ struct pipe_resource *src,
+ unsigned src_level,
+ const struct pipe_box *src_box);
+
#endif /* FREEDRENO_BLIT_H_ */