Searched refs:nextDims (Results 1 – 1 of 1) sorted by relevance
1162 SkISize nextDims = finalSize; in rescaleInto() local1165 nextDims.fWidth = std::max((srcRect.width() + 1)/2, finalSize.width()); in rescaleInto()1167 nextDims.fWidth = std::min(srcRect.width()*2, finalSize.width()); in rescaleInto()1170 nextDims.fHeight = std::max((srcRect.height() + 1)/2, finalSize.height()); in rescaleInto()1172 nextDims.fHeight = std::min(srcRect.height()*2, finalSize.height()); in rescaleInto()1179 if (nextDims == finalSize) { in rescaleInto()1184 GrImageInfo nextInfo(input->colorInfo(), nextDims); in rescaleInto()1195 if (nextDims.width() == srcRect.width()) { in rescaleInto()1197 } else if (nextDims.height() == srcRect.height()) { in rescaleInto()1229 srcRect = SkIRect::MakeSize(nextDims); in rescaleInto()