Lines Matching defs:size

685    GLsizei size;
692 size = width;
698 size = width;
704 size = MAX2(width, height);
708 size = MAX3(width, height, depth);
723 return util_logbase2(size) + 1;
782 * Set the size and format-related fields of a gl_texture_image struct
966 * \return GL_TRUE if size is OK, GL_FALSE otherwise.
1125 /* Check size */
1218 /* offset must be multiple of block size */
1226 /* The size must be a multiple of bw x bh, or we must be using a
1227 * offset+size that exactly hits the edge of the image. This
1261 * specific texture image size checks.
1264 * max 3D texture size is 512x512x64 (i.e. not a cube).
1314 /* We just compute the size of one mipmap level. This is the path
1325 /* We just check if the image size is less than MaxTextureMbytes.
1657 * Return expected size of a compressed texture.
2061 /* Figure out the expected texture size (in bytes). This will be
2062 * checked against the actual size later.
2085 /* Figure out the expected texture size (in bytes). This will be
2086 * checked against the actual size later.
2113 /* check image size in bytes */
2731 * in size or format since that effects FBO completeness.
3572 * the texel data, not the texture format, size, etc.
3714 * // wrong format, or given the wrong size, etc.
3730 * level here so that the image data has a consistent format and size.
4139 * Check if the given texture format and size arguments match those
4205 * the texel data, not the texture format, size, etc.
4369 "glCopyTexImage%uD(component size changed in"
5434 _mesa_error(ctx, GL_INVALID_VALUE, "%s(size=%d)", callerName, imageSize);
5684 * the texel data, not the texture format, size, etc.
6306 GLintptr offset, GLsizeiptr size,
6353 texObj->BufferSize = size;
6363 if (size != oldSize) {
6402 GLintptr offset, GLsizeiptr size,
6408 * size is less than or equal to zero, or if offset + size is greater
6417 if (size <= 0) {
6418 _mesa_error(ctx, GL_INVALID_VALUE, "%s(size=%d <= 0)", caller,
6419 (int) size);
6423 if (offset + size > bufObj->Size) {
6425 "%s(offset=%d + size=%d > buffer_size=%d)", caller,
6426 (int) offset, (int) size, (int) bufObj->Size);
6479 GLintptr offset, GLsizeiptr size)
6497 if (!check_texture_buffer_range(ctx, bufObj, offset, size,
6505 * texture is detached, the values offset and size are ignored and
6506 * the state for offset and size for the buffer texture are reset to
6510 size = 0;
6519 offset, size, "glTexBufferRange");
6526 GLuint buffer, GLintptr offset, GLsizeiptr size)
6546 if (!check_texture_buffer_range(ctx, bufObj, offset, size,
6554 * texture is detached, the values offset and size are ignored and
6555 * the state for offset and size for the buffer texture are reset to
6559 size = 0;
6564 offset, size, "glTextureBufferRangeEXT");
6656 GLintptr offset, GLsizeiptr size)
6669 if (!check_texture_buffer_range(ctx, bufObj, offset, size,
6677 * texture is detached, the values offset and size are ignored and
6678 * the state for offset and size for the buffer texture are reset to
6682 size = 0;
6696 bufObj, offset, size, "glTextureBufferRange");