Home
last modified time | relevance | path

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

/third_party/skia/src/image/
H A DSkSurface.cpp87 const SkIRect& origSrcRect, in onAsyncRescaleAndReadPixels()
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()
86 onAsyncRescaleAndReadPixels(const SkImageInfo& info, const SkIRect& origSrcRect, SkSurface::RescaleGamma rescaleGamma, RescaleMode rescaleMode, SkSurface::ReadPixelsCallback callback, SkSurface::ReadPixelsContext context) onAsyncRescaleAndReadPixels() argument
H A DSkImage.cpp261 const SkIRect& origSrcRect, in onAsyncRescaleAndReadPixels()
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()
260 onAsyncRescaleAndReadPixels(const SkImageInfo& info, const SkIRect& origSrcRect, RescaleGamma rescaleGamma, RescaleMode rescaleMode, ReadPixelsCallback callback, ReadPixelsContext context) const onAsyncRescaleAndReadPixels() argument
/third_party/skia/src/gpu/v1/
H A DDevice_drawTexture.cpp267 * If 'origSrcRect' is null, implicitly use the image bounds. If 'origDstRect' is null, use the
270 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()

Completed in 6 milliseconds