Home
last modified time | relevance | path

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

/third_party/skia/src/image/
DSkSurface.cpp87 const SkIRect& origSrcRect, in onAsyncRescaleAndReadPixels() argument
97 srcRect = origSrcRect; in onAsyncRescaleAndReadPixels()
99 src.setInfo(this->imageInfo().makeDimensions(origSrcRect.size())); in onAsyncRescaleAndReadPixels()
101 if (!this->readPixels(src, origSrcRect.x(), origSrcRect.y())) { in onAsyncRescaleAndReadPixels()
DSkImage.cpp261 const SkIRect& origSrcRect, in onAsyncRescaleAndReadPixels() argument
271 srcRect = origSrcRect; in onAsyncRescaleAndReadPixels()
275 src.setInfo(this->imageInfo().makeDimensions(origSrcRect.size())); in onAsyncRescaleAndReadPixels()
277 if (!this->readPixels(dContext, src.pixmap(), origSrcRect.x(), origSrcRect.y())) { in onAsyncRescaleAndReadPixels()
/third_party/skia/src/gpu/v1/
DDevice_drawTexture.cpp270 ImageDrawMode optimize_sample_area(const SkISize& image, const SkRect* origSrcRect, in optimize_sample_area() argument
276 SkRect src = origSrcRect ? *origSrcRect : srcBounds; in optimize_sample_area()
289 if (origSrcRect && !srcBounds.contains(src)) { in optimize_sample_area()
304 : (origSrcRect ? *origSrcRect : srcBounds)); in optimize_sample_area()