Lines Matching refs:y0
209 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearColor()
229 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearDepth()
232 depthBuffer->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepth()
246 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearStencil()
249 …stencilBuffer->clearStencil(stencil, mask, clearRect.x0, clearRect.y0, clearRect.width(), clearRec… in clearStencil()
460 flipY = (sourceRect->y0 < sourceRect->y1) ^ (destRect->y0 < destRect->y1); in stretchRect()
465 flipY = (sourceRect->y0 > sourceRect->y1); in stretchRect()
470 flipY = (destRect->y0 > destRect->y1); in stretchRect()
480 sRect.y0 = sourceRect->y0; in stretchRect()
489 if(sRect.y0 > sRect.y1) in stretchRect()
491 swap(sRect.y0, sRect.y1); in stretchRect()
496 sRect.y0 = 0.0f; in stretchRect()
511 if(dRect.y0 > dRect.y1) in stretchRect()
513 swap(dRect.y0, dRect.y1); in stretchRect()
518 dRect.y0 = 0; in stretchRect()
556 …bool isOutOfBounds = (sRect.x0 < 0.0f) || (sRect.y0 < 0.0f) || (sRect.x1 > (float)sWidth) || (sRec… in stretchRect()
560 bool fullCopy = (sRect.x0 == 0.0f) && (sRect.y0 == 0.0f) && (dRect.x0 == 0) && (dRect.y0 == 0) && in stretchRect()
585 …byte *sourceBuffer = (byte*)source->lockInternal((int)sRect.x0, (int)sRect.y0, 0, LOCK_READONLY, P… in stretchRect()
586 …byte *destBuffer = (byte*)dest->lockInternal(dRect.x0, dRect.y0, 0, fullCopy ? LOCK_DISCARD : LOCK… in stretchRect()
595 …byte *sourceBytes = (byte*)source->lockInternal((int)sRect.x0, (int)sRect.y0, sourceRect->slice, L… in stretchRect()
596 …byte *destBytes = (byte*)dest->lockInternal(dRect.x0, dRect.y0, destRect->slice, fullCopy ? LOCK_D… in stretchRect()
599 unsigned int height = dRect.y1 - dRect.y0; in stretchRect()
627 swap(dRect.y0, dRect.y1); in stretchRect()
772 if(scissorRect.x0 >= scissorRect.x1 || scissorRect.y0 >= scissorRect.y1) in bindViewport()
780 scissor.y0 = scissorRect.y0; in bindViewport()
790 scissor.y0 = viewport.y0; in bindViewport()
791 scissor.y1 = viewport.y0 + viewport.height; in bindViewport()
799 scissor.y0 = max(scissor.y0, 0); in bindViewport()
808 scissor.y0 = max(scissor.y0, 0); in bindViewport()
816 scissor.y0 = max(scissor.y0, 0); in bindViewport()
825 view.y0 = (float)viewport.y0; in bindViewport()
843 if(rect->x1 <= rect->x0 || rect->y1 <= rect->y0) in validRectangle()
848 if(rect->x0 < 0 || rect->y0 < 0) in validRectangle()
868 if(rect->x1 <= rect->x0 || rect->y1 <= rect->y0) in validRectangle()
904 if(dstRect.y0 < clipRect.y0) in ClipDstRect()
906 …float offset = (static_cast<float>(clipRect.y0 - dstRect.y0) / static_cast<float>(dstRect.height()… in ClipDstRect()
913 srcRect.y0 += offset; in ClipDstRect()
915 dstRect.y0 = clipRect.y0; in ClipDstRect()
922 srcRect.y0 += offset; in ClipDstRect()
964 if(srcRect.y0 < static_cast<float>(clipRect.y0)) in ClipSrcRect()
967 float offsetf = roundf((static_cast<float>(clipRect.y0) - srcRect.y0) * ratio); in ClipSrcRect()
975 dstRect.y0 += offset; in ClipSrcRect()
977 srcRect.y0 += offsetf / ratio; in ClipSrcRect()
986 dstRect.y0 += offset; in ClipSrcRect()