Lines Matching refs:dims

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