Lines Matching refs:sourceBuffer
448 …void Device::copyBuffer(sw::byte *sourceBuffer, sw::byte *destBuffer, unsigned int width, unsigned… in copyBuffer() argument
457 sourceBuffer += (height - 1) * sourcePitch; in copyBuffer()
458 for(unsigned int y = 0; y < height; ++y, sourceBuffer -= sourcePitch, destBuffer += destPitch) in copyBuffer()
462 destBuffer[x] = sourceBuffer[widthMaxB - x]; in copyBuffer()
468 for(unsigned int y = 0; y < height; ++y, sourceBuffer += sourcePitch, destBuffer += destPitch) in copyBuffer()
472 destBuffer[x] = sourceBuffer[widthMaxB - x]; in copyBuffer()
481 sourceBuffer += (height - 1) * sourcePitch; in copyBuffer()
482 for(unsigned int y = 0; y < height; ++y, sourceBuffer -= sourcePitch, destBuffer += destPitch) in copyBuffer()
484 memcpy(destBuffer, sourceBuffer, widthB); in copyBuffer()
489 for(unsigned int y = 0; y < height; ++y, sourceBuffer += sourcePitch, destBuffer += destPitch) in copyBuffer()
491 memcpy(destBuffer, sourceBuffer, widthB); in copyBuffer()
597 …sw::byte *sourceBuffer = (sw::byte*)source->lockInternal(0, 0, sourceRect->slice, LOCK_READONLY, P… in stretchRect() local
600 …copyBuffer(sourceBuffer, destBuffer, source->getWidth(), source->getHeight(), source->getInternalP… in stretchRect()
608 sw::byte *sourceBuffer = (sw::byte*)source->lockStencil(0, PUBLIC); in stretchRect() local
611 …copyBuffer(sourceBuffer, destBuffer, source->getWidth(), source->getHeight(), source->getInternalP… in stretchRect()