summaryrefslogtreecommitdiff
path: root/src/mesa/main/mipmap.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-08 16:56:21 -0700
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-21 22:13:54 -0700
commitabb465cdc71da566d431f44feeec31594e01086f (patch)
tree0a9dff113f19ca889d2691f11ac98c6ce60f3b3c /src/mesa/main/mipmap.h
parent12dc9c99b9f15eb9e0c4f7cd493d776f6d4162ed (diff)
refactor code, export _mesa_generate_mipmap_level()
Diffstat (limited to 'src/mesa/main/mipmap.h')
-rw-r--r--src/mesa/main/mipmap.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/mipmap.h b/src/mesa/main/mipmap.h
index 46e16902c8..b6491f5507 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);