Lines Matching refs:readOffset
2408 GL_APICALL void GL_APIENTRY glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
2410 TRACE("(GLenum readTarget = 0x%X, GLenum writeTarget = 0x%X, GLintptr readOffset = %d, GLintptr writeOffset = %d, GLsizeiptr size = %d)",
2411 readTarget, writeTarget, readOffset, writeOffset, size);
2413 if(readOffset < 0 || writeOffset < 0 || size < 0)
2434 if(((readOffset >= writeOffset) && (readOffset < (writeOffset + size))) ||
2435 ((writeOffset >= readOffset) && (writeOffset < (readOffset + size))))
2441 if((static_cast<size_t>(readOffset + size) > readBuffer->size()) ||
2447 writeBuffer->bufferSubData(((char*)readBuffer->data()) + readOffset, size, writeOffset);