Lines Matching full:levels
143 GLint levels, in initialize_texture_fields() argument
156 for (level = 0; level < levels; level++) { in initialize_texture_fields()
357 GLsizei levels, GLenum internalformat, in tex_storage_error_check() argument
385 /* levels check */ in tex_storage_error_check()
386 if (levels < 1) { in tex_storage_error_check()
387 _mesa_error(ctx, GL_INVALID_VALUE, "glTex%sStorage%uD(levels < 1)", in tex_storage_error_check()
392 /* check levels against maximum (note different error than above) */ in tex_storage_error_check()
393 if (levels > (GLint) _mesa_max_texture_levels(ctx, target)) { in tex_storage_error_check()
395 "glTex%sStorage%uD(levels too large)", in tex_storage_error_check()
400 /* check levels against width/height/depth */ in tex_storage_error_check()
401 if (levels > _mesa_get_tex_max_num_levels(target, width, height, depth)) { in tex_storage_error_check()
403 "glTex%sStorage%uD(too many levels" in tex_storage_error_check()
437 mesa_format format, GLenum target, GLsizei levels, in _mesa_sparse_texture_error_check() argument
488 * 2^(<levels>-1), or in _mesa_sparse_texture_error_check()
490 * 2^(<levels>-1). in _mesa_sparse_texture_error_check()
500 (width % (px << (levels - 1)) || in _mesa_sparse_texture_error_check()
501 height % (py << (levels - 1)))) { in _mesa_sparse_texture_error_check()
521 GLsizei levels, GLenum internalformat, GLsizei width, in texture_storage() argument
535 if (tex_storage_error_check(ctx, texObj, memObj, dims, target, levels, in texture_storage()
549 sizeOK = st_TestProxyTexImage(ctx, target, levels, 0, texFormat, in texture_storage()
555 initialize_texture_fields(ctx, texObj, levels, width, height, depth, in texture_storage()
559 /* clear all image fields for [levels] */ in texture_storage()
583 levels, width, height, depth, func)) in texture_storage()
597 assert(levels > 0); in texture_storage()
602 if (!initialize_texture_fields(ctx, texObj, levels, width, height, depth, in texture_storage()
610 levels, in texture_storage()
619 if (!st_AllocTextureStorage(ctx, texObj, levels, in texture_storage()
633 _mesa_set_texture_view_state(ctx, texObj, target, levels); in texture_storage()
643 GLenum target, GLsizei levels, in texture_storage_error() argument
648 texture_storage(ctx, dims, texObj, NULL, target, levels, internalformat, in texture_storage_error()
656 GLenum target, GLsizei levels, in texture_storage_no_error() argument
661 texture_storage(ctx, dims, texObj, NULL, target, levels, internalformat, in texture_storage_no_error()
670 texstorage_error(GLuint dims, GLenum target, GLsizei levels, in texstorage_error() argument
689 _mesa_enum_to_string(target), levels, in texstorage_error()
705 texture_storage_error(ctx, dims, texObj, target, levels, internalformat, in texstorage_error()
711 texstorage_no_error(GLuint dims, GLenum target, GLsizei levels, in texstorage_no_error() argument
718 texture_storage_no_error(ctx, dims, texObj, target, levels, internalformat, in texstorage_no_error()
727 texturestorage_error(GLuint dims, GLuint texture, GLsizei levels, in texturestorage_error() argument
736 caller, texture, levels, in texturestorage_error()
762 texture_storage_error(ctx, dims, texObj, texObj->Target, levels, in texturestorage_error()
768 texturestorage_no_error(GLuint dims, GLuint texture, GLsizei levels, in texturestorage_no_error() argument
775 texture_storage_no_error(ctx, dims, texObj, texObj->Target, levels, in texturestorage_no_error()
781 _mesa_TexStorage1D_no_error(GLenum target, GLsizei levels, in _mesa_TexStorage1D_no_error() argument
784 texstorage_no_error(1, target, levels, internalformat, width, 1, 1, NULL, in _mesa_TexStorage1D_no_error()
790 _mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, in _mesa_TexStorage1D() argument
793 texstorage_error(1, target, levels, internalformat, width, 1, 1, NULL, in _mesa_TexStorage1D()
799 _mesa_TexStorage2D_no_error(GLenum target, GLsizei levels, in _mesa_TexStorage2D_no_error() argument
803 texstorage_no_error(2, target, levels, internalformat, width, height, 1, NULL, in _mesa_TexStorage2D_no_error()
809 _mesa_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, in _mesa_TexStorage2D() argument
812 texstorage_error(2, target, levels, internalformat, width, height, 1, NULL, in _mesa_TexStorage2D()
818 _mesa_TexStorage3D_no_error(GLenum target, GLsizei levels, in _mesa_TexStorage3D_no_error() argument
822 texstorage_no_error(3, target, levels, internalformat, width, height, depth, NULL, in _mesa_TexStorage3D_no_error()
828 _mesa_TexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, in _mesa_TexStorage3D() argument
831 texstorage_error(3, target, levels, internalformat, width, height, depth, NULL, in _mesa_TexStorage3D()
837 _mesa_TexStorageAttribs2DEXT_no_error(GLenum target, GLsizei levels, in _mesa_TexStorageAttribs2DEXT_no_error() argument
841 texstorage_no_error(2, target, levels, internalformat, width, height, 1, attribs, in _mesa_TexStorageAttribs2DEXT_no_error()
847 _mesa_TexStorageAttribs2DEXT(GLenum target, GLsizei levels, GLenum internalformat, in _mesa_TexStorageAttribs2DEXT() argument
850 texstorage_error(2, target, levels, internalformat, width, height, 1, attribs, in _mesa_TexStorageAttribs2DEXT()
856 _mesa_TexStorageAttribs3DEXT_no_error(GLenum target, GLsizei levels, in _mesa_TexStorageAttribs3DEXT_no_error() argument
861 texstorage_no_error(3, target, levels, internalformat, width, height, depth, attribs, in _mesa_TexStorageAttribs3DEXT_no_error()
867 _mesa_TexStorageAttribs3DEXT(GLenum target, GLsizei levels, GLenum internalformat, in _mesa_TexStorageAttribs3DEXT() argument
871 texstorage_error(3, target, levels, internalformat, width, height, depth, attribs, in _mesa_TexStorageAttribs3DEXT()
877 _mesa_TextureStorage1D_no_error(GLuint texture, GLsizei levels, in _mesa_TextureStorage1D_no_error() argument
880 texturestorage_no_error(1, texture, levels, internalformat, width, 1, 1, in _mesa_TextureStorage1D_no_error()
886 _mesa_TextureStorage1D(GLuint texture, GLsizei levels, GLenum internalformat, in _mesa_TextureStorage1D() argument
889 texturestorage_error(1, texture, levels, internalformat, width, 1, 1, in _mesa_TextureStorage1D()
895 _mesa_TextureStorage2D_no_error(GLuint texture, GLsizei levels, in _mesa_TextureStorage2D_no_error() argument
899 texturestorage_no_error(2, texture, levels, internalformat, width, height, 1, in _mesa_TextureStorage2D_no_error()
905 _mesa_TextureStorage2D(GLuint texture, GLsizei levels, in _mesa_TextureStorage2D() argument
909 texturestorage_error(2, texture, levels, internalformat, width, height, 1, in _mesa_TextureStorage2D()
915 _mesa_TextureStorage3D_no_error(GLuint texture, GLsizei levels, in _mesa_TextureStorage3D_no_error() argument
919 texturestorage_no_error(3, texture, levels, internalformat, width, height, in _mesa_TextureStorage3D_no_error()
925 _mesa_TextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat, in _mesa_TextureStorage3D() argument
928 texturestorage_error(3, texture, levels, internalformat, width, height, depth, in _mesa_TextureStorage3D()
934 _mesa_TextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels, in _mesa_TextureStorage1DEXT() argument
945 texturestorage_error(1, texture, levels, internalformat, width, 1, 1, in _mesa_TextureStorage1DEXT()
951 _mesa_TextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels, in _mesa_TextureStorage2DEXT() argument
962 texturestorage_error(2, texture, levels, internalformat, width, height, 1, in _mesa_TextureStorage2DEXT()
968 _mesa_TextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels, in _mesa_TextureStorage3DEXT() argument
979 texturestorage_error(3, texture, levels, internalformat, width, height, depth, in _mesa_TextureStorage3DEXT()
988 GLenum target, GLsizei levels, in _mesa_texture_storage_memory() argument
995 texture_storage(ctx, dims, texObj, memObj, target, levels, internalformat, in _mesa_texture_storage_memory()