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 088d27c7e17150158d9a220f2a5c68fa20789dff..02b1cf4599c9c2981488f77b2e9764cb5e95e96e 100644
(file)
--- a/
src/mesa/main/texgetimage.h
+++ b/
src/mesa/main/texgetimage.h
@@
-27,16
+27,20
@@
#ifndef TEXGETIMAGE_H
#define TEXGETIMAGE_H
#ifndef TEXGETIMAGE_H
#define TEXGETIMAGE_H
+#include "glheader.h"
+
+struct gl_context;
+struct gl_texture_image;
+struct gl_texture_object;
extern void
extern void
-_mesa_get_teximage(
GLcontext *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);
extern void
struct gl_texture_image *texImage);
extern void
-_mesa_get_compressed_teximage(
GL
context *ctx, GLenum target, GLint level,
+_mesa_get_compressed_teximage(
struct gl_
context *ctx, GLenum target, GLint level,
GLvoid *img,
struct gl_texture_object *texObj,
struct gl_texture_image *texImage);
GLvoid *img,
struct gl_texture_object *texObj,
struct gl_texture_image *texImage);
@@
-46,10
+50,15
@@
_mesa_get_compressed_teximage(GLcontext *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 */