Home
last modified time | relevance | path

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

/external/skia/src/image/
DSkSurface.cpp78 const SkIRect& origSrcRect, in onAsyncRescaleAndReadPixels() argument
88 srcRect = origSrcRect; in onAsyncRescaleAndReadPixels()
90 src.setInfo(this->imageInfo().makeDimensions(origSrcRect.size())); in onAsyncRescaleAndReadPixels()
92 if (!this->readPixels(src, origSrcRect.x(), origSrcRect.y())) { in onAsyncRescaleAndReadPixels()
DSkImage.cpp273 const SkIRect& origSrcRect, in onAsyncRescaleAndReadPixels() argument
283 srcRect = origSrcRect; in onAsyncRescaleAndReadPixels()
287 src.setInfo(this->imageInfo().makeDimensions(origSrcRect.size())); in onAsyncRescaleAndReadPixels()
289 if (!this->readPixels(dContext, src.pixmap(), origSrcRect.x(), origSrcRect.y())) { in onAsyncRescaleAndReadPixels()
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp268 static ImageDrawMode optimize_sample_area(const SkISize& image, const SkRect* origSrcRect, in optimize_sample_area() argument
274 SkRect src = origSrcRect ? *origSrcRect : srcBounds; in optimize_sample_area()
287 if (origSrcRect && !srcBounds.contains(src)) { in optimize_sample_area()
302 : (origSrcRect ? *origSrcRect : srcBounds)); in optimize_sample_area()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1950 GrSurfaceOrigin srcOrigin, const SkIRect& origSrcRect, in copySurfaceAsResolve() argument
1953 SkIRect srcRect = origSrcRect; in copySurfaceAsResolve()
1957 srcRect = {origSrcRect.fLeft, src->height() - origSrcRect.fBottom, in copySurfaceAsResolve()
1958 origSrcRect.fRight, src->height() - origSrcRect.fTop}; in copySurfaceAsResolve()