Lines Matching refs:destRect
497 …ce, const sw::SliceRect *sourceRect, sw::Surface *dest, const sw::SliceRect *destRect, bool filter) in stretchRect() argument
512 if(sourceRect && destRect) in stretchRect()
514 flipX = (sourceRect->x0 < sourceRect->x1) ^ (destRect->x0 < destRect->x1); in stretchRect()
515 flipY = (sourceRect->y0 < sourceRect->y1) ^ (destRect->y0 < destRect->y1); in stretchRect()
522 else if(destRect) in stretchRect()
524 flipX = (destRect->x0 > destRect->x1); in stretchRect()
525 flipY = (destRect->y0 > destRect->y1); in stretchRect()
553 if(destRect) in stretchRect()
555 dRect = *destRect; in stretchRect()
598 … sw::byte *destBuffer = (sw::byte*)dest->lockInternal(0, 0, destRect->slice, LOCK_DISCARD, PUBLIC); in stretchRect()
620 …unsigned char *destBytes = (unsigned char*)dest->lockInternal(dRect.x0, dRect.y0, destRect->slice,… in stretchRect()