Functions |
| int | logbase2 (int n) |
| GLint | _mesa_base_tex_format (GLcontext *ctx, GLint internalFormat) |
| | Return the simple base format for a given internal texture format. More...
|
| GLboolean | is_color_format (GLenum internalFormat) |
| | Test if the given internal texture format is a color/RGBA format (i.e., not color index, depth, stencil, etc). More...
|
| GLboolean | is_index_format (GLenum internalFormat) |
| | Test if the given internal texture format is a color index format. More...
|
| GLboolean | is_depth_format (GLenum internalFormat) |
| | Test if the given internal texture format is a depth component format. More...
|
| GLboolean | is_ycbcr_format (GLenum internalFormat) |
| | Test if the given internal texture format is a YCbCr format. More...
|
| GLboolean | is_compressed_format (GLcontext *ctx, GLenum internalFormat) |
| | Test if it is a supported compressed format. More...
|
| void | _mesa_set_tex_image (struct gl_texture_object *tObj, GLenum target, GLint level, struct gl_texture_image *texImage) |
| | Store a gl_texture_image pointer in a gl_texture_object structure according to the target and level parameters. More...
|
| gl_texture_image * | _mesa_new_texture_image (GLcontext *ctx) |
| | Allocate a texture image structure. More...
|
| void | _mesa_delete_texture_image (struct gl_texture_image *teximage) |
| | Free texture image. More...
|
| GLboolean | is_proxy_target (GLenum target) |
| | Test if a target is a proxy target. More...
|
| gl_texture_object * | _mesa_select_tex_object (GLcontext *ctx, const struct gl_texture_unit *texUnit, GLenum target) |
| | Get the texture object that corresponds to the target of the given texture unit. More...
|
| gl_texture_image * | _mesa_select_tex_image (GLcontext *ctx, const struct gl_texture_unit *texUnit, GLenum target, GLint level) |
| | Get the texture image struct which corresponds to target and level of the given texture unit. More...
|
| gl_texture_image * | _mesa_get_tex_image (GLcontext *ctx, const struct gl_texture_unit *texUnit, GLenum target, GLint level) |
| | Like _mesa_select_tex_image() but if the image doesn't exist, allocate it and install it. More...
|
| gl_texture_image * | _mesa_get_proxy_tex_image (GLcontext *ctx, GLenum target, GLint level) |
| | Return pointer to the specified proxy texture image. More...
|
| GLint | _mesa_max_texture_levels (GLcontext *ctx, GLenum target) |
| | Get the maximum number of allowed mipmap levels. More...
|
| void | clear_teximage_fields (struct gl_texture_image *img) |
| | Reset the fields of a gl_texture_image struct to zero. More...
|
| void | _mesa_init_teximage_fields (GLcontext *ctx, GLenum target, struct gl_texture_image *img, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum internalFormat) |
| | Initialize basic fields of the gl_texture_image struct. More...
|
| GLboolean | _mesa_test_proxy_teximage (GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border) |
| | This is the fallback for Driver.TestProxyTexImage(). More...
|
| GLboolean | texture_error_check (GLcontext *ctx, GLenum target, GLint level, GLint internalFormat, GLenum format, GLenum type, GLuint dimensions, GLint width, GLint height, GLint depth, GLint border) |
| | Test the glTexImage[123]D() parameters for errors. More...
|
| GLboolean | subtexture_error_check (GLcontext *ctx, GLuint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type) |
| | Test glTexSubImage[123]D() parameters for errors. More...
|
| GLboolean | copytexture_error_check (GLcontext *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border) |
| | Test glCopyTexImage[12]D() parameters for errors. More...
|
| GLboolean | copytexsubimage_error_check (GLcontext *ctx, GLuint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height) |
| | Test glCopyTexImage[12]D() parameters for errors. More...
|
| void GLAPIENTRY | _mesa_GetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
| | Get texture image. More...
|
| void GLAPIENTRY | _mesa_TexImage1D (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| void GLAPIENTRY | _mesa_TexImage2D (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| void GLAPIENTRY | _mesa_TexImage3D (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| void GLAPIENTRY | _mesa_TexImage3DEXT (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| void GLAPIENTRY | _mesa_TexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
| void GLAPIENTRY | _mesa_TexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| void GLAPIENTRY | _mesa_TexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| void GLAPIENTRY | _mesa_CopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border) |
| void GLAPIENTRY | _mesa_CopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| void GLAPIENTRY | _mesa_CopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
| void GLAPIENTRY | _mesa_CopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| void GLAPIENTRY | _mesa_CopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| GLenum | compressed_texture_error_check (GLcontext *ctx, GLint dimensions, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize) |
| | Error checking for glCompressedTexImage[123]D(). More...
|
| GLenum | compressed_subtexture_error_check (GLcontext *ctx, GLint dimensions, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize) |
| | Error checking for glCompressedTexSubImage[123]D(). More...
|
| void GLAPIENTRY | _mesa_CompressedTexImage1DARB (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) |
| void GLAPIENTRY | _mesa_CompressedTexImage2DARB (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) |
| void GLAPIENTRY | _mesa_CompressedTexImage3DARB (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) |
| void GLAPIENTRY | _mesa_CompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) |
| void GLAPIENTRY | _mesa_CompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) |
| void GLAPIENTRY | _mesa_CompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) |
| void GLAPIENTRY | _mesa_GetCompressedTexImageARB (GLenum target, GLint level, GLvoid *img) |