diff options
author | Courtney Goeltzenleuchter <[email protected]> | 2013-11-25 16:31:26 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-12-13 12:31:54 -0700 |
commit | bb5947de995d6425a681e591ed9566688772a3ca (patch) | |
tree | 0de72c8372d82c6f1f868ef9ab35e6b63790f943 /src/mesa/main/mipmap.h | |
parent | 320ec1deacd97fd32f14331030660f8fceb7235c (diff) |
mesa: consolidate multiple next_mipmap_level_size
Refactor to make next_mipmap_level_size defined in mipmap.c a
_mesa_ helper function that can then be used by texture_view
Signed-off-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/mipmap.h')
-rw-r--r-- | src/mesa/main/mipmap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/mipmap.h b/src/mesa/main/mipmap.h index d5bd1d83dab..ee91df006dc 100644 --- a/src/mesa/main/mipmap.h +++ b/src/mesa/main/mipmap.h @@ -51,5 +51,9 @@ extern void _mesa_generate_mipmap(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj); +extern GLboolean +_mesa_next_mipmap_level_size(GLenum target, GLint border, + GLint srcWidth, GLint srcHeight, GLint srcDepth, + GLint *dstWidth, GLint *dstHeight, GLint *dstDepth); #endif /* MIPMAP_H */ |