Lines Matching defs:offset

1218       /* offset must be multiple of block size */
1227 * offset+size that exactly hits the edge of the image. This
2148 * \param xoffset sub-image x offset given by the user.
2149 * \param yoffset sub-image y offset given by the user.
2150 * \param zoffset sub-image z offset given by the user.
3550 /* If we have a border, offset=-1 is legal. Bias by border width. */
4179 /* If we have a border, offset=-1 is legal. Bias by border width. */
6306 GLintptr offset, GLsizeiptr size,
6352 texObj->BufferOffset = offset;
6360 if (offset != oldOffset) {
6402 GLintptr offset, GLsizeiptr size,
6407 * "An INVALID_VALUE error is generated if offset is negative, if
6408 * size is less than or equal to zero, or if offset + size is greater
6411 if (offset < 0) {
6412 _mesa_error(ctx, GL_INVALID_VALUE, "%s(offset=%d < 0)", caller,
6413 (int) offset);
6423 if (offset + size > bufObj->Size) {
6425 "%s(offset=%d + size=%d > buffer_size=%d)", caller,
6426 (int) offset, (int) size, (int) bufObj->Size);
6432 * "An INVALID_VALUE error is generated if offset is not an integer
6435 if (offset % ctx->Const.TextureBufferOffsetAlignment) {
6437 "%s(invalid offset alignment)", caller);
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
6509 offset = 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
6558 offset = 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
6681 offset = 0;
6696 bufObj, offset, size, "glTextureBufferRange");
6741 GLboolean immutable, GLuint64 offset,
6890 offset)) {
7097 GLuint64 offset, const char* func)
7103 fixedSampleLocations, GL_TRUE, offset,