Lines Matching refs:dimensions

1621                                      unsigned dimensions)  in _mesa_es_error_check_format_and_type()  argument
1670 if (dimensions != 2) in _mesa_es_error_check_format_and_type()
1739 GLuint dimensions, GLenum target, in texture_error_check() argument
1767 "glTexImage%dD(level=%d)", dimensions, level); in texture_error_check()
1777 "glTexImage%dD(border=%d)", dimensions, border); in texture_error_check()
1783 "glTexImage%dD(width, height or depth < 0)", dimensions); in texture_error_check()
1796 dimensions, in texture_error_check()
1802 err = _mesa_es_error_check_format_and_type(format, type, dimensions); in texture_error_check()
1806 dimensions, in texture_error_check()
1834 dimensions, level, width, height, depth); in texture_error_check()
1843 dimensions, _mesa_lookup_enum_by_nr(internalFormat)); in texture_error_check()
1852 dimensions, format, type); in texture_error_check()
1865 dimensions, internalFormat, format); in texture_error_check()
1877 dimensions); in texture_error_check()
1887 dimensions); in texture_error_check()
1894 dimensions, border); in texture_error_check()
1918 dimensions); in texture_error_check()
1927 "glTexImage%dD(target can't be compressed)", dimensions); in texture_error_check()
1932 "glTexImage%dD(no compression for format)", dimensions); in texture_error_check()
1937 "glTexImage%dD(border!=0)", dimensions); in texture_error_check()
1948 dimensions); in texture_error_check()
1954 "glTexImage%dD(immutable texture)", dimensions); in texture_error_check()
1969 compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, in compressed_texture_error_check() argument
2020 if (dimensions != 2) { in compressed_texture_error_check()
2117 _mesa_error(ctx, error, "glCompressedTexImage%dD(%s)", dimensions, reason); in compressed_texture_error_check()
2146 subtexture_error_check( struct gl_context *ctx, GLuint dimensions, in subtexture_error_check() argument
2163 "glTexSubImage%dD(width=%d)", dimensions, width); in subtexture_error_check()
2166 if (height < 0 && dimensions > 1) { in subtexture_error_check()
2168 "glTexSubImage%dD(height=%d)", dimensions, height); in subtexture_error_check()
2171 if (depth < 0 && dimensions > 2) { in subtexture_error_check()
2173 "glTexSubImage%dD(depth=%d)", dimensions, depth); in subtexture_error_check()
2183 err = _mesa_es_error_check_format_and_type(format, type, dimensions); in subtexture_error_check()
2187 dimensions, in subtexture_error_check()
2198 dimensions, format, type); in subtexture_error_check()
2211 subtexture_error_check2( struct gl_context *ctx, GLuint dimensions, in subtexture_error_check2() argument
2220 _mesa_error(ctx, GL_INVALID_OPERATION, "glTexSubImage%dD", dimensions); in subtexture_error_check2()
2226 dimensions); in subtexture_error_check2()
2231 dimensions); in subtexture_error_check2()
2234 if (dimensions > 1) { in subtexture_error_check2()
2238 dimensions); in subtexture_error_check2()
2243 dimensions); in subtexture_error_check2()
2247 if (dimensions > 2) { in subtexture_error_check2()
2264 "glTexSubImage%dD(no compression for format)", dimensions); in subtexture_error_check2()
2275 dimensions, xoffset, yoffset); in subtexture_error_check2()
2281 "glTexSubImage%dD(width = %d)", dimensions, width); in subtexture_error_check2()
2286 "glTexSubImage%dD(height = %d)", dimensions, height); in subtexture_error_check2()
2297 dimensions); in subtexture_error_check2()
2325 copytexture_error_check( struct gl_context *ctx, GLuint dimensions, in copytexture_error_check() argument
2335 if (!legal_texsubimage_target(ctx, dimensions, target)) { in copytexture_error_check()
2337 dimensions, _mesa_lookup_enum_by_nr(target)); in copytexture_error_check()
2344 "glCopyTexImage%dD(level=%d)", dimensions, level); in copytexture_error_check()
2355 "glCopyTexImage%dD(invalid readbuffer)", dimensions); in copytexture_error_check()
2362 dimensions); in copytexture_error_check()
2373 "glCopyTexImage%dD(border=%d)", dimensions, border); in copytexture_error_check()
2390 "glCopyTexImage%dD(internalFormat)", dimensions); in copytexture_error_check()
2398 "glCopyTexImage%dD(internalFormat)", dimensions); in copytexture_error_check()
2404 "glCopyTexImage%dD(missing readbuffer)", dimensions); in copytexture_error_check()
2421 "glCopyTexImage%dD(integer vs non-integer)", dimensions); in copytexture_error_check()
2436 if (dimensions == 1) { in copytexture_error_check()
2441 ASSERT(dimensions == 2); in copytexture_error_check()
2451 "glCopyTexImage%dD(target)", dimensions); in copytexture_error_check()
2456 "glCopyTexImage%dD(no compression for format)", dimensions); in copytexture_error_check()
2461 "glCopyTexImage%dD(border!=0)", dimensions); in copytexture_error_check()
2468 "glCopyTexImage%dD(immutable texture)", dimensions); in copytexture_error_check()
2490 copytexsubimage_error_check1( struct gl_context *ctx, GLuint dimensions, in copytexsubimage_error_check1() argument
2500 "glCopyTexImage%dD(invalid readbuffer)", dimensions); in copytexsubimage_error_check1()
2507 dimensions); in copytexsubimage_error_check1()
2513 if (!legal_texsubimage_target(ctx, dimensions, target)) { in copytexsubimage_error_check1()
2515 dimensions, _mesa_lookup_enum_by_nr(target)); in copytexsubimage_error_check1()
2522 "glCopyTexSubImage%dD(level=%d)", dimensions, level); in copytexsubimage_error_check1()
2539 copytexsubimage_error_check2( struct gl_context *ctx, GLuint dimensions, in copytexsubimage_error_check2() argument
2549 dimensions, level); in copytexsubimage_error_check2()
2556 "glCopyTexSubImage%dD(width=%d)", dimensions, width); in copytexsubimage_error_check2()
2559 if (dimensions > 1 && height < 0) { in copytexsubimage_error_check2()
2561 "glCopyTexSubImage%dD(height=%d)", dimensions, height); in copytexsubimage_error_check2()
2568 "glCopyTexSubImage%dD(xoffset=%d)", dimensions, xoffset); in copytexsubimage_error_check2()
2573 "glCopyTexSubImage%dD(xoffset+width)", dimensions); in copytexsubimage_error_check2()
2576 if (dimensions > 1) { in copytexsubimage_error_check2()
2580 "glCopyTexSubImage%dD(yoffset=%d)", dimensions, yoffset); in copytexsubimage_error_check2()
2586 "glCopyTexSubImage%dD(yoffset+height)", dimensions); in copytexsubimage_error_check2()
2592 if (dimensions > 2) { in copytexsubimage_error_check2()
2596 "glCopyTexSubImage%dD(zoffset)", dimensions); in copytexsubimage_error_check2()
2601 "glCopyTexSubImage%dD(zoffset+depth)", dimensions); in copytexsubimage_error_check2()
2609 "glCopyTexSubImage%dD(no compression for format)", dimensions); in copytexsubimage_error_check2()
2615 "glCopyTexSubImage%dD(xoffset or yoffset)", dimensions); in copytexsubimage_error_check2()
2621 "glCopyTexSubImage%dD(width)", dimensions); in copytexsubimage_error_check2()
2626 "glCopyTexSubImage%dD(height)", dimensions); in copytexsubimage_error_check2()
2639 dimensions, teximage->_BaseFormat); in copytexsubimage_error_check2()
2656 "glCopyTexImage%dD(integer vs non-integer)", dimensions); in copytexsubimage_error_check2()
3594 compressed_subtexture_error_check(struct gl_context *ctx, GLint dimensions, in compressed_subtexture_error_check() argument
3604 if (dimensions == 1) { in compressed_subtexture_error_check()
3608 else if (dimensions == 2) { in compressed_subtexture_error_check()
3629 else if (dimensions == 3) { in compressed_subtexture_error_check()
3644 && dimensions > 1) in compressed_subtexture_error_check()