summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/genmipmap.h
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-01-06 12:08:43 -0800
committerLaura Ekstrand <laura@jlekstrand.net>2015-01-08 11:37:29 -0800
commit91089d6d658d5379afa00f69c37a81f0d3c98dc3 (patch)
treecc566396c7a9bb263506a5dff2bed66acca3bcb6 /src/mesa/main/genmipmap.h
parent239e3fb87682163f78d0fd6c86375e77a44ee0d0 (diff)
downloadexternal_mesa3d-91089d6d658d5379afa00f69c37a81f0d3c98dc3.zip
external_mesa3d-91089d6d658d5379afa00f69c37a81f0d3c98dc3.tar.gz
external_mesa3d-91089d6d658d5379afa00f69c37a81f0d3c98dc3.tar.bz2
main: Added entry point for glGenerateTextureMipmap.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/main/genmipmap.h')
-rw-r--r--src/mesa/main/genmipmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/genmipmap.h b/src/mesa/main/genmipmap.h
index d546a8d..f4ef859 100644
--- a/src/mesa/main/genmipmap.h
+++ b/src/mesa/main/genmipmap.h
@@ -28,9 +28,15 @@
#include "glheader.h"
+extern void
+_mesa_generate_texture_mipmap(struct gl_context *ctx,
+ struct gl_texture_object *texObj, GLenum target,
+ bool dsa);
extern void GLAPIENTRY
_mesa_GenerateMipmap(GLenum target);
+extern void GLAPIENTRY
+_mesa_GenerateTextureMipmap(GLuint texture);
#endif /* GENMIPMAP_H */