Home
last modified time | relevance | path

Searched refs:nextDims (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/
DGrSurfaceContext.cpp1236 SkISize nextDims = finalSize; in rescaleInto() local
1239 nextDims.fWidth = std::max((srcRect.width() + 1)/2, finalSize.width()); in rescaleInto()
1241 nextDims.fWidth = std::min(srcRect.width()*2, finalSize.width()); in rescaleInto()
1244 nextDims.fHeight = std::max((srcRect.height() + 1)/2, finalSize.height()); in rescaleInto()
1246 nextDims.fHeight = std::min(srcRect.height()*2, finalSize.height()); in rescaleInto()
1253 if (nextDims == finalSize) { in rescaleInto()
1258 GrImageInfo nextInfo(input->colorInfo(), nextDims); in rescaleInto()
1271 if (nextDims.width() == srcRect.width()) { in rescaleInto()
1273 } else if (nextDims.height() == srcRect.height()) { in rescaleInto()
1305 srcRect = SkIRect::MakeSize(nextDims); in rescaleInto()