core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

texgetimage.h File Reference


Functions

void _mesa_get_teximage (GLcontext *ctx, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_object *texObj, struct gl_texture_image *texImage)
 This is the software fallback for Driver.GetTexImage().
void _mesa_get_compressed_teximage (GLcontext *ctx, GLenum target, GLint level, GLvoid *img, struct gl_texture_object *texObj, struct gl_texture_image *texImage)
 This is the software fallback for Driver.GetCompressedTexImage().
void GLAPIENTRY _mesa_GetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
 Get texture image.
void GLAPIENTRY _mesa_GetCompressedTexImageARB (GLenum target, GLint lod, GLvoid *img)


Function Documentation

void _mesa_get_compressed_teximage ( GLcontext ctx,
GLenum  target,
GLint  level,
GLvoid *  img,
struct gl_texture_object texObj,
struct gl_texture_image texImage 
)

This is the software fallback for Driver.GetCompressedTexImage().

All error checking will have been done before this routine is called.

void _mesa_get_teximage ( GLcontext ctx,
GLenum  target,
GLint  level,
GLenum  format,
GLenum  type,
GLvoid *  pixels,
struct gl_texture_object texObj,
struct gl_texture_image texImage 
)

This is the software fallback for Driver.GetTexImage().

All error checking will have been done before this routine is called.

void GLAPIENTRY _mesa_GetCompressedTexImageARB ( GLenum  target,
GLint  lod,
GLvoid *  img 
)

void GLAPIENTRY _mesa_GetTexImage ( GLenum  target,
GLint  level,
GLenum  format,
GLenum  type,
GLvoid *  pixels 
)

Get texture image.

Called by glGetTexImage.

Parameters:
target texture target.
level image level.
format pixel data format for returned image.
type pixel data type for returned image.
pixels returned pixel data.


Generated on Sun Sep 27 06:47:46 2009 for Mesa Main by  doxygen 1.5.4