diff options
author | Christian König <[email protected]> | 2014-03-23 17:01:38 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2014-03-26 12:06:43 +0100 |
commit | d117ddbe31fdbe79c871343358e2551593a1b18c (patch) | |
tree | 4faaedc8f9f2b69cd6dd183d1e3ded084339fd17 /src/mesa/state_tracker/st_texture.h | |
parent | 3b421daf32e5941801e0efb162037de4d8ca1f1d (diff) |
st/mesa: fix sampler view handling with shared textures v4
Release the references to the sampler views before
destroying the pipe context.
v2: remove TODO and unrelated change
v3: move to st_texture.[ch], rename callback, add comment
v4: fix rebase mess up and add further cleanups
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Cc: "10.0 10.1" <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r-- | src/mesa/state_tracker/st_texture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h index bce2a0934e8..b4a27a00a9b 100644 --- a/src/mesa/state_tracker/st_texture.h +++ b/src/mesa/state_tracker/st_texture.h @@ -227,4 +227,8 @@ st_texture_image_copy(struct pipe_context *pipe, extern struct pipe_resource * st_create_color_map_texture(struct gl_context *ctx); +extern void +st_texture_release_sampler_view(struct st_context *st, + struct st_texture_object *stObj); + #endif |