Lines Matching refs:dimensions

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