Lines Matching refs:readOffset
568 GLintptr readOffset, GLintptr writeOffset, in _mesa_copy_buffer_subdata() argument
585 srcPtr += readOffset; in _mesa_copy_buffer_subdata()
588 srcPtr = ctx->Driver.MapBufferRange(ctx, readOffset, size, in _mesa_copy_buffer_subdata()
1425 GLintptr readOffset, GLintptr writeOffset, in _mesa_CopyBufferSubData() argument
1452 if (readOffset < 0) { in _mesa_CopyBufferSubData()
1454 "glCopyBufferSubData(readOffset = %d)", (int) readOffset); in _mesa_CopyBufferSubData()
1470 if (readOffset + size > src->Size) { in _mesa_CopyBufferSubData()
1473 (int) (readOffset + size)); in _mesa_CopyBufferSubData()
1485 if (readOffset + size <= writeOffset) { in _mesa_CopyBufferSubData()
1488 else if (writeOffset + size <= readOffset) { in _mesa_CopyBufferSubData()
1499 ctx->Driver.CopyBufferSubData(ctx, src, dst, readOffset, writeOffset, size); in _mesa_CopyBufferSubData()