Home
last modified time | relevance | path

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

/third_party/skia/src/image/
DSkRescaleAndReadPixels.cpp95 int nextH = resultInfo.height(); in SkRescaleAndReadPixels() local
106 nextH = resultInfo.height() << (-stepsY - 1); in SkRescaleAndReadPixels()
110 nextH = srcH * 2; in SkRescaleAndReadPixels()
114 auto ii = srcImage->imageInfo().makeWH(nextW, nextH); in SkRescaleAndReadPixels()
126 SkRect::MakeIWH(nextW, nextH), sampling, &paint, constraint); in SkRescaleAndReadPixels()
131 srcH = nextH; in SkRescaleAndReadPixels()
/third_party/flutter/skia/src/gpu/
DGrSurfaceContext.cpp508 int nextH = info.height(); in rescale() local
519 nextH = info.height() << (-stepsY - 1); in rescale()
523 nextH = srcH * 2; in rescale()
540 SkBackingFit::kExact, nextW, nextH, colorType, std::move(cs), 1, GrMipMapped::kNo, in rescale()
546 auto dstRect = SkRect::MakeWH(nextW, nextH); in rescale()
549 matrix.setScaleTranslate((float)srcW / nextW, (float)srcH / nextH, srcX, srcY); in rescale()
554 } else if (nextH == srcH) { in rescale()
583 srcH = nextH; in rescale()
/third_party/flutter/skia/src/image/
DSkSurface.cpp159 int nextH = info.height(); in onAsyncRescaleAndReadPixels() local
170 nextH = info.height() << (-stepsY - 1); in onAsyncRescaleAndReadPixels()
174 nextH = srcH * 2; in onAsyncRescaleAndReadPixels()
178 auto ii = src->getCanvas()->imageInfo().makeWH(nextW, nextH); in onAsyncRescaleAndReadPixels()
190 SkRect::MakeWH((float)nextW, (float)nextH), &paint, constraint); in onAsyncRescaleAndReadPixels()
194 srcH = nextH; in onAsyncRescaleAndReadPixels()