Lines Matching refs:dims
52 legal_texobj_target(const struct gl_context *ctx, GLuint dims, GLenum target) in legal_texobj_target() argument
54 if (dims < 1 || dims > 3) { in legal_texobj_target()
55 _mesa_problem(ctx, "invalid dims=%u in legal_texobj_target()", dims); in legal_texobj_target()
59 switch (dims) { in legal_texobj_target()
83 switch (dims) { in legal_texobj_target()
308 GLuint dims, GLenum target, in tex_storage_error_check() argument
323 suffix, dims); in tex_storage_error_check()
331 "glTex%sStorage%dD(internalformat = %s)", suffix, dims, in tex_storage_error_check()
340 suffix, dims); in tex_storage_error_check()
348 suffix, dims); in tex_storage_error_check()
357 suffix, dims); in tex_storage_error_check()
365 suffix, dims); in tex_storage_error_check()
372 suffix, dims); in tex_storage_error_check()
379 suffix, dims); in tex_storage_error_check()
392 texture_storage(struct gl_context *ctx, GLuint dims, in texture_storage() argument
407 if (tex_storage_error_check(ctx, texObj, memObj, dims, target, levels, in texture_storage()
440 suffix, dims); in texture_storage()
447 suffix, dims); in texture_storage()
483 suffix, dims); in texture_storage()
496 texture_storage_error(struct gl_context *ctx, GLuint dims, in texture_storage_error() argument
502 texture_storage(ctx, dims, texObj, NULL, target, levels, internalformat, in texture_storage_error()
508 texture_storage_no_error(struct gl_context *ctx, GLuint dims, in texture_storage_no_error() argument
514 texture_storage(ctx, dims, texObj, NULL, target, levels, internalformat, in texture_storage_no_error()
523 texstorage_error(GLuint dims, GLenum target, GLsizei levels, in texstorage_error() argument
533 if (!legal_texobj_target(ctx, dims, target)) { in texstorage_error()
558 texture_storage_error(ctx, dims, texObj, target, levels, in texstorage_error()
564 texstorage_no_error(GLuint dims, GLenum target, GLsizei levels, in texstorage_no_error() argument
571 texture_storage_no_error(ctx, dims, texObj, target, levels, in texstorage_no_error()
580 texturestorage_error(GLuint dims, GLuint texture, GLsizei levels, in texturestorage_error() argument
608 if (!legal_texobj_target(ctx, dims, texObj->Target)) { in texturestorage_error()
615 texture_storage_error(ctx, dims, texObj, texObj->Target, in texturestorage_error()
621 texturestorage_no_error(GLuint dims, GLuint texture, GLsizei levels, in texturestorage_no_error() argument
628 texture_storage_no_error(ctx, dims, texObj, texObj->Target, in texturestorage_no_error()
793 _mesa_texture_storage_memory(struct gl_context *ctx, GLuint dims, in _mesa_texture_storage_memory() argument
803 texture_storage(ctx, dims, texObj, memObj, target, levels, internalformat, in _mesa_texture_storage_memory()