diff options
author | Samuel Pitoiset <[email protected]> | 2017-05-12 14:15:29 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-14 10:04:36 +0200 |
commit | 66a2589d00e38f0d25530ec70274cf42c35e1f9d (patch) | |
tree | 1ec97cf95bce8c3e94948234bc034878b3fd55b1 /src/mesa/state_tracker/st_texture.h | |
parent | b6b915afa45da8e0da3ad315f523051ae1b5d836 (diff) |
st/mesa: add infrastructure for storing bound texture/image handles
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r-- | src/mesa/state_tracker/st_texture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h index 4bfec0bed27..18b5870b393 100644 --- a/src/mesa/state_tracker/st_texture.h +++ b/src/mesa/state_tracker/st_texture.h @@ -259,6 +259,11 @@ st_texture_image_copy(struct pipe_context *pipe, extern struct pipe_resource * st_create_color_map_texture(struct gl_context *ctx); +void +st_destroy_bound_texture_handles(struct st_context *st); + +void +st_destroy_bound_image_handles(struct st_context *st); bool st_etc_fallback(struct st_context *st, struct gl_texture_image *texImage); |