diff options
author | Lucas Stach <[email protected]> | 2017-09-06 14:28:21 +0200 |
---|---|---|
committer | Lucas Stach <[email protected]> | 2017-09-28 17:41:01 +0200 |
commit | 69eb93cbb9bc544272300796b6f8d7c8c7502575 (patch) | |
tree | 0ed6b1b74bffd1bd0eec90119b9145cfcab738c6 /src/gallium/drivers/etnaviv/etnaviv_clear_blit.h | |
parent | 9df635844c98274609b4ed60bc44893fc64b08a1 (diff) |
etnaviv: add resource subregion copy
This is useful if we only need to copy part of a larger resource, mostly
when using the RS engine to de-/tile on pipe transfers.
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-By: Wladimir J. van der Laan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_clear_blit.h')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_clear_blit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.h b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.h index 73d07044b2b..9bba6236b4d 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.h +++ b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.h @@ -43,6 +43,11 @@ etna_copy_resource(struct pipe_context *pctx, struct pipe_resource *dst, struct pipe_resource *src, int first_level, int last_level); void +etna_copy_resource_box(struct pipe_context *pctx, struct pipe_resource *dst, + struct pipe_resource *src, int level, + struct pipe_box *box); + +void etna_clear_blit_init(struct pipe_context *pctx); #endif |