diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-01-14 12:52:02 -0500 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2020-01-21 08:35:16 -0500 |
commit | f2d876b2b2335397661d2bd7663a7b353a1b839e (patch) | |
tree | 00e547f5d8dc24dd0e2a18abe0298520b90e4fba /src/panfrost/shared/pan_tiling.h | |
parent | 0ca7ab1c972843057ff622c1edb31c86872102dd (diff) |
panfrost,lima: De-Galliumize tiling routines
There's an implicit dependence on Gallium here that will add more
complexity than needed when testing/optimizing out of driver as well as
potentially Vulkanizing. We don't need a full pipe_box, just the x/y/w/h
properties directly.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Tested-by: Vasily Khoruzhick <[email protected]> #lima on Mali400
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3414>
Diffstat (limited to 'src/panfrost/shared/pan_tiling.h')
-rw-r--r-- | src/panfrost/shared/pan_tiling.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/panfrost/shared/pan_tiling.h b/src/panfrost/shared/pan_tiling.h index 1d55939ecbd..e13d50c41e4 100644 --- a/src/panfrost/shared/pan_tiling.h +++ b/src/panfrost/shared/pan_tiling.h @@ -27,16 +27,18 @@ #ifndef H_PANFROST_TILING #define H_PANFROST_TILING -#include "util/u_box.h" +#include <stdint.h> void panfrost_load_tiled_image(void *dst, const void *src, - const struct pipe_box *box, + unsigned x, unsigned y, + unsigned w, unsigned h, uint32_t dst_stride, uint32_t src_stride, uint32_t bpp); void panfrost_store_tiled_image(void *dst, const void *src, - const struct pipe_box *box, + unsigned x, unsigned y, + unsigned w, unsigned h, uint32_t dst_stride, uint32_t src_stride, uint32_t bpp); |