Lines Matching refs:writeOffset
568 GLintptr readOffset, GLintptr writeOffset, in _mesa_copy_buffer_subdata() argument
586 dstPtr += writeOffset; in _mesa_copy_buffer_subdata()
590 dstPtr = ctx->Driver.MapBufferRange(ctx, writeOffset, size, in _mesa_copy_buffer_subdata()
1425 GLintptr readOffset, GLintptr writeOffset, in _mesa_CopyBufferSubData() argument
1458 if (writeOffset < 0) { in _mesa_CopyBufferSubData()
1460 "glCopyBufferSubData(writeOffset = %d)", (int) writeOffset); in _mesa_CopyBufferSubData()
1477 if (writeOffset + size > dst->Size) { in _mesa_CopyBufferSubData()
1480 (int) (writeOffset + 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()