Lines Matching defs:texture
48 * Check if the given texture target is a legal texture object target
125 /** Helper to get a particular texture image in a texture object */
152 /* Set up all the texture object's gl_texture_images */
177 * Clear all fields of texture object to zeros. Used for proxy texture tests
178 * and to clean up when a texture memory allocation fails.
267 * is a proxy texture.
322 " for max texture dimension)",
327 /* non-default texture object check */
330 "glTex%sStorage%uD(texture object 0)",
344 _mesa_error(ctx, GL_INVALID_OPERATION, "glTex%sStorage%uD(bad target for texture)",
388 /* ARB_sparse_texture2 allow non-page-aligned base texture size. */
399 * * the texture's TEXTURE_SPARSE_ARB parameter is TRUE,
490 "glTex%sStorage%uD(texture too large)",
528 /* Reset the texture images' info to zeros.
632 texturestorage_error(GLuint dims, GLuint texture, GLsizei levels,
641 caller, texture, levels,
653 texObj = _mesa_lookup_texture_err(ctx, texture, caller);
673 texturestorage_no_error(GLuint dims, GLuint texture, GLsizei levels,
679 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, texture);
739 _mesa_TextureStorage1D_no_error(GLuint texture, GLsizei levels,
742 texturestorage_no_error(1, texture, levels, internalformat, width, 1, 1);
747 _mesa_TextureStorage1D(GLuint texture, GLsizei levels, GLenum internalformat,
750 texturestorage_error(1, texture, levels, internalformat, width, 1, 1,
756 _mesa_TextureStorage2D_no_error(GLuint texture, GLsizei levels,
760 texturestorage_no_error(2, texture, levels, internalformat, width, height, 1);
765 _mesa_TextureStorage2D(GLuint texture, GLsizei levels,
769 texturestorage_error(2, texture, levels, internalformat, width, height, 1,
775 _mesa_TextureStorage3D_no_error(GLuint texture, GLsizei levels,
779 texturestorage_no_error(3, texture, levels, internalformat, width, height,
785 _mesa_TextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat,
788 texturestorage_error(3, texture, levels, internalformat, width, height, depth,
794 _mesa_TextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels,
799 /* 'texture' must always be initialized, even if the call to
802 if (!_mesa_lookup_or_create_texture(ctx, target, texture, false, true,
805 texturestorage_error(1, texture, levels, internalformat, width, 1, 1,
811 _mesa_TextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels,
816 /* 'texture' must always be initialized, even if the call to
819 if (!_mesa_lookup_or_create_texture(ctx, target, texture, false, true,
822 texturestorage_error(2, texture, levels, internalformat, width, height, 1,
828 _mesa_TextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels,
833 /* 'texture' must always be initialized, even if the call to
836 if (!_mesa_lookup_or_create_texture(ctx, target, texture, false, true,
839 texturestorage_error(3, texture, levels, internalformat, width, height, depth,