diff options
author | Courtney Goeltzenleuchter <[email protected]> | 2013-11-06 14:40:31 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-12-13 12:31:54 -0700 |
commit | 1db4cb841b489684f9141184f17a9244cdfa8c7e (patch) | |
tree | 0e13a6725fac3c59a7b22a376d3307302289cd66 /src/mesa/main/textureview.h | |
parent | f07ca598394a9b5cea849ff7fc68444aba94ede9 (diff) |
mesa: add texture_view helper function for TexStorage
Add helper function to set texture_view state from TexStorage calls.
Include review feedback.
Signed-off-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/textureview.h')
-rw-r--r-- | src/mesa/main/textureview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/textureview.h b/src/mesa/main/textureview.h index c2f0f32be0a..3088ac19393 100644 --- a/src/mesa/main/textureview.h +++ b/src/mesa/main/textureview.h @@ -36,4 +36,8 @@ _mesa_TextureView(GLuint texture, GLenum target, GLuint origtexture, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); +extern void +_mesa_set_texture_view_state(struct gl_context *ctx, struct gl_texture_object *texObj, + GLenum target, GLuint levels); + #endif /* TEXTUREVIEW_H */ |