Lines Matching defs:internalformat

220                                   GLenum internalformat)
223 switch (internalformat) {
258 return _mesa_base_tex_format(ctx, internalformat) > 0;
309 GLsizei levels, GLenum internalformat,
327 if (_mesa_is_compressed_format(ctx, internalformat)) {
329 if (!_mesa_target_can_be_compressed(ctx, target, internalformat, &err)) {
331 "glTex%sStorage%dD(internalformat = %s)", suffix, dims,
332 _mesa_enum_to_string(internalformat));
377 if (!_mesa_legal_texture_base_format_for_target(ctx, target, internalformat)) {
395 GLsizei levels, GLenum internalformat, GLsizei width,
408 internalformat, width, height, depth, dsa)) {
414 internalformat, GL_NONE, GL_NONE);
428 internalformat, texFormat);
458 internalformat, texFormat)) {
499 GLenum internalformat, GLsizei width,
502 texture_storage(ctx, dims, texObj, NULL, target, levels, internalformat,
511 GLenum internalformat, GLsizei width,
514 texture_storage(ctx, dims, texObj, NULL, target, levels, internalformat,
524 GLenum internalformat, GLsizei width, GLsizei height,
543 _mesa_enum_to_string(internalformat),
547 if (!_mesa_is_legal_tex_storage_format(ctx, internalformat)) {
549 "%s(internalformat = %s)", caller,
550 _mesa_enum_to_string(internalformat));
559 internalformat, width, height, depth, false);
565 GLenum internalformat, GLsizei width, GLsizei height,
572 internalformat, width, height, depth, false);
581 GLenum internalformat, GLsizei width, GLsizei height,
590 _mesa_enum_to_string(internalformat),
594 if (!_mesa_is_legal_tex_storage_format(ctx, internalformat)) {
596 "%s(internalformat = %s)", caller,
597 _mesa_enum_to_string(internalformat));
616 levels, internalformat, width, height, depth, true);
622 GLenum internalformat, GLsizei width, GLsizei height,
629 levels, internalformat, width, height, depth, true);
635 GLenum internalformat, GLsizei width)
637 texstorage_no_error(1, target, levels, internalformat, width, 1, 1);
642 _mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat,
645 texstorage_error(1, target, levels, internalformat, width, 1, 1,
652 GLenum internalformat, GLsizei width,
655 texstorage_no_error(2, target, levels, internalformat, width, height, 1);
660 _mesa_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat,
663 texstorage_error(2, target, levels, internalformat, width, height, 1,
670 GLenum internalformat, GLsizei width,
673 texstorage_no_error(3, target, levels, internalformat, width, height, depth);
678 _mesa_TexStorage3D(GLenum target, GLsizei levels, GLenum internalformat,
681 texstorage_error(3, target, levels, internalformat, width, height, depth,
688 GLenum internalformat, GLsizei width)
690 texturestorage_no_error(1, texture, levels, internalformat, width, 1, 1);
695 _mesa_TextureStorage1D(GLuint texture, GLsizei levels, GLenum internalformat,
698 texturestorage_error(1, texture, levels, internalformat, width, 1, 1,
705 GLenum internalformat,
708 texturestorage_no_error(2, texture, levels, internalformat, width, height, 1);
714 GLenum internalformat,
717 texturestorage_error(2, texture, levels, internalformat, width, height, 1,
724 GLenum internalformat, GLsizei width,
727 texturestorage_no_error(3, texture, levels, internalformat, width, height,
733 _mesa_TextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat,
736 texturestorage_error(3, texture, levels, internalformat, width, height, depth,
743 GLenum internalformat,
753 texturestorage_error(1, texture, levels, internalformat, width, 1, 1,
760 GLenum internalformat,
770 texturestorage_error(2, texture, levels, internalformat, width, height, 1,
777 GLenum internalformat,
787 texturestorage_error(3, texture, levels, internalformat, width, height, depth,
797 GLenum internalformat, GLsizei width,
803 texture_storage(ctx, dims, texObj, memObj, target, levels, internalformat,