aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-30 13:13:43 -0700
committerJason Ekstrand <[email protected]>2016-09-12 19:42:57 -0700
commit5ae8043fed264997e75b480dd30aa6ef44aae4e6 (patch)
treec6b9b1f81e564dd6a32a7e0e8d2d17bc0b2ed8c9 /src/intel/blorp/blorp.h
parent941b4d063a7b12af773cc4837e6c0fa3b29abdc0 (diff)
intel/blorp: Add an entrypoint for doing bit-for-bit copies
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r--src/intel/blorp/blorp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h
index d562b17c268..0848d45c80a 100644
--- a/src/intel/blorp/blorp.h
+++ b/src/intel/blorp/blorp.h
@@ -109,6 +109,16 @@ blorp_blit(struct blorp_batch *batch,
uint32_t filter, bool mirror_x, bool mirror_y);
void
+blorp_copy(struct blorp_batch *batch,
+ const struct blorp_surf *src_surf,
+ unsigned src_level, unsigned src_layer,
+ const struct blorp_surf *dst_surf,
+ unsigned dst_level, unsigned dst_layer,
+ uint32_t src_x, uint32_t src_y,
+ uint32_t dst_x, uint32_t dst_y,
+ uint32_t src_width, uint32_t src_height);
+
+void
blorp_fast_clear(struct blorp_batch *batch,
const struct blorp_surf *surf, enum isl_format format,
uint32_t level, uint32_t start_layer, uint32_t num_layers,