projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Fix glFramebufferTexture*() for depth and stencil attachments
[mesa.git]
/
src
/
mesa
/
main
/
texgetimage.h
diff --git
a/src/mesa/main/texgetimage.h
b/src/mesa/main/texgetimage.h
index 81a3bbbd9a77471bf7e7cbf5057af5fd2e98c73d..02b1cf4599c9c2981488f77b2e9764cb5e95e96e 100644
(file)
--- a/
src/mesa/main/texgetimage.h
+++ b/
src/mesa/main/texgetimage.h
@@
-27,12
+27,15
@@
#ifndef TEXGETIMAGE_H
#define TEXGETIMAGE_H
#ifndef TEXGETIMAGE_H
#define TEXGETIMAGE_H
-#include "mtypes.h"
+#include "glheader.h"
+
+struct gl_context;
+struct gl_texture_image;
+struct gl_texture_object;
extern void
extern void
-_mesa_get_teximage(struct gl_context *ctx,
GLenum target, GLint level,
+_mesa_get_teximage(struct gl_context *ctx,
GLenum format, GLenum type, GLvoid *pixels,
GLenum format, GLenum type, GLvoid *pixels,
- struct gl_texture_object *texObj,
struct gl_texture_image *texImage);
struct gl_texture_image *texImage);
@@
-47,10
+50,15
@@
_mesa_get_compressed_teximage(struct gl_context *ctx, GLenum target, GLint level
extern void GLAPIENTRY
_mesa_GetTexImage( GLenum target, GLint level,
GLenum format, GLenum type, GLvoid *pixels );
extern void GLAPIENTRY
_mesa_GetTexImage( GLenum target, GLint level,
GLenum format, GLenum type, GLvoid *pixels );
-
+extern void GLAPIENTRY
+_mesa_GetnTexImageARB( GLenum target, GLint level, GLenum format,
+ GLenum type, GLsizei bufSize, GLvoid *pixels );
extern void GLAPIENTRY
_mesa_GetCompressedTexImageARB(GLenum target, GLint lod, GLvoid *img);
extern void GLAPIENTRY
_mesa_GetCompressedTexImageARB(GLenum target, GLint lod, GLvoid *img);
+extern void GLAPIENTRY
+_mesa_GetnCompressedTexImageARB(GLenum target, GLint level, GLsizei bufSize,
+ GLvoid *img);
#endif /* TEXGETIMAGE_H */
#endif /* TEXGETIMAGE_H */