diff options
author | Brian <[email protected]> | 2008-02-08 16:56:21 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-11 09:46:49 -0700 |
commit | 3bae27fcc54187235a6962577580e838b012f9a5 (patch) | |
tree | c44fe60ae5bfd57535827fd9c1edc7b06d5552de /src/mesa/main/mipmap.h | |
parent | 42eac65da45fb58bffdf94ab8f9860d8cee5b256 (diff) |
refactor code, export _mesa_generate_mipmap_level()
Diffstat (limited to 'src/mesa/main/mipmap.h')
-rw-r--r-- | src/mesa/main/mipmap.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/mipmap.h b/src/mesa/main/mipmap.h index 46e16902c86..b6491f55073 100644 --- a/src/mesa/main/mipmap.h +++ b/src/mesa/main/mipmap.h @@ -28,6 +28,17 @@ #include "mtypes.h" + +extern void +_mesa_generate_mipmap_level(GLenum target, + GLenum datatype, GLuint comps, + GLint border, + GLint srcWidth, GLint srcHeight, GLint srcDepth, + const GLubyte *srcData, + GLint dstWidth, GLint dstHeight, GLint dstDepth, + GLubyte *dstData); + + extern void _mesa_generate_mipmap(GLcontext *ctx, GLenum target, struct gl_texture_object *texObj); |