diff options
author | Icecream95 <ixn@disroot.org> | 2021-08-14 23:01:42 +1200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-08-16 14:18:36 +0000 |
commit | b85ff566960312252f0525d51d1515d8914151ca (patch) | |
tree | 57e59ea1c7217cb7cea5e02934dd7c28f65053b6 /src/gallium/drivers/panfrost/pan_resource.h | |
parent | f378799d9dd94a46c301d714cadb9eadf1c5a758 (diff) | |
download | mesa-b85ff566960312252f0525d51d1515d8914151ca.tar.gz |
panfrost: Call primconvert and u_transfer_helper destroy functions
Fixes a couple of small memory leaks.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12376>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_resource.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_resource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_resource.h b/src/gallium/drivers/panfrost/pan_resource.h index 6150e161956..7ee2ef0e245 100644 --- a/src/gallium/drivers/panfrost/pan_resource.h +++ b/src/gallium/drivers/panfrost/pan_resource.h @@ -113,6 +113,8 @@ panfrost_get_afbc_pointers(struct panfrost_resource *rsrc, void panfrost_resource_screen_init(struct pipe_screen *screen); +void panfrost_resource_screen_destroy(struct pipe_screen *screen); + void panfrost_resource_context_init(struct pipe_context *pctx); /* Blitting */ |