Searched refs:yPerc (Results 1 – 1 of 1) sorted by relevance
70 float yPerc = static_cast<float>(y - destArea.y) / (destArea.height - 1); in StretchedBlitNearest_RowByRow() local75 gl::clamp(sourceArea.y + floor(yPerc * srcHeightSubOne + 0.5f), 0, srcHeightSubOne)); in StretchedBlitNearest_RowByRow()105 float yPerc = static_cast<float>(writeRow - destArea.y) / (destArea.height - 1); in StretchedBlitNearest_PixelByPixel() local106 float yRounded = floor(yPerc * (sourceArea.height - 1) + 0.5f); in StretchedBlitNearest_PixelByPixel()