Home
last modified time | relevance | path

Searched refs:fSrcRect (Results 1 – 25 of 44) sorted by relevance

12

/external/skqp/src/effects/imagefilters/
DSkImageSource.cpp43 , fSrcRect(SkRect::MakeIWH(fImage->width(), fImage->height())) in SkImageSource()
44 , fDstRect(fSrcRect) in SkImageSource()
54 , fSrcRect(srcRect) in SkImageSource()
76 buffer.writeRect(fSrcRect); in flatten()
87 if (fSrcRect == bounds) { in onFilterImage()
125 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? in onFilterImage()
127 canvas->drawImageRect(fImage.get(), fSrcRect, dstRect, &paint, in onFilterImage()
140 return SkImageSource::Make(image, fSrcRect, fDstRect, fFilterQuality); in onMakeColorSpace()
DSkMagnifierImageFilter.cpp57 , fSrcRect(srcRect) in SkMagnifierImageFilter()
71 buffer.writeRect(fSrcRect); in flatten()
94 SkScalar invXZoom = fSrcRect.width() / bounds.width(); in onFilterImage()
95 SkScalar invYZoom = fSrcRect.height() / bounds.height(); in onFilterImage()
111 fSrcRect, in onFilterImage()
133 (fSrcRect.width() >= inputBM.width()) || (fSrcRect.height() >= inputBM.height())) { in onFilterImage()
175 SkScalar x_interp = weight * (fSrcRect.x() + x * invXZoom) + (1 - weight) * x; in onFilterImage()
176 SkScalar y_interp = weight * (fSrcRect.y() + y * invYZoom) + (1 - weight) * y; in onFilterImage()
196 return SkMagnifierImageFilter::Make(fSrcRect, fInset, std::move(input), in onMakeColorSpace()
DSkTileImageFilter.cpp59 if (!fSrcRect.width() || !fSrcRect.height() || !dstIRect.width() || !dstIRect.height()) { in onFilterImage()
64 ctx.ctm().mapRect(&srcRect, fSrcRect); in onFilterImage()
125 return SkTileImageFilter::Make(fSrcRect, fDstRect, std::move(input)); in onMakeColorSpace()
132 SkRect rect = kReverse_MapDirection == dir ? fSrcRect : fDstRect; in onFilterNodeBounds()
157 buffer.writeRect(fSrcRect); in flatten()
/external/skia/src/effects/imagefilters/
DSkImageSource.cpp43 , fSrcRect(SkRect::MakeIWH(fImage->width(), fImage->height())) in SkImageSource()
44 , fDstRect(fSrcRect) in SkImageSource()
54 , fSrcRect(srcRect) in SkImageSource()
76 buffer.writeRect(fSrcRect); in flatten()
87 if (fSrcRect == bounds) { in onFilterImage()
125 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? in onFilterImage()
127 canvas->drawImageRect(fImage.get(), fSrcRect, dstRect, &paint, in onFilterImage()
140 return SkImageSource::Make(image, fSrcRect, fDstRect, fFilterQuality); in onMakeColorSpace()
DSkMagnifierImageFilter.cpp57 , fSrcRect(srcRect) in SkMagnifierImageFilter()
71 buffer.writeRect(fSrcRect); in flatten()
94 SkScalar invXZoom = fSrcRect.width() / bounds.width(); in onFilterImage()
95 SkScalar invYZoom = fSrcRect.height() / bounds.height(); in onFilterImage()
111 fSrcRect, in onFilterImage()
133 (fSrcRect.width() >= inputBM.width()) || (fSrcRect.height() >= inputBM.height())) { in onFilterImage()
175 SkScalar x_interp = weight * (fSrcRect.x() + x * invXZoom) + (1 - weight) * x; in onFilterImage()
176 SkScalar y_interp = weight * (fSrcRect.y() + y * invYZoom) + (1 - weight) * y; in onFilterImage()
196 return SkMagnifierImageFilter::Make(fSrcRect, fInset, std::move(input), in onMakeColorSpace()
DSkTileImageFilter.cpp59 if (!fSrcRect.width() || !fSrcRect.height() || !dstIRect.width() || !dstIRect.height()) { in onFilterImage()
64 ctx.ctm().mapRect(&srcRect, fSrcRect); in onFilterImage()
125 return SkTileImageFilter::Make(fSrcRect, fDstRect, std::move(input)); in onMakeColorSpace()
132 SkRect rect = kReverse_MapDirection == dir ? fSrcRect : fDstRect; in onFilterNodeBounds()
157 buffer.writeRect(fSrcRect); in flatten()
/external/skqp/src/gpu/ops/
DGrCopySurfaceOp.h35 fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, fSrcRect.fBottom, in dumpInfo()
48 , fSrcRect(srcRect) in GrCopySurfaceOp()
61 SkIRect fSrcRect; variable
DGrTextureOp.cpp163 i, info.fColor.toBytes_RGBA(), info.fSrcRect.fLeft, info.fSrcRect.fTop, in dumpInfo()
164 info.fSrcRect.fRight, info.fSrcRect.fBottom, quad.point(0).fX, in dumpInfo()
280 GrTextureOp::GetFilterHasEffect(viewMatrix, set[p].fSrcRect, in TextureOp()
285 fQuads.push_back(quad, quadType, {color, set[p].fSrcRect, Domain::kNo, aaFlags}); in TextureOp()
315 GrPerspQuad srcQuad = compute_src_quad(origin, info.fSrcRect, iw, ih, h); in tess()
317 compute_domain(info.domain(), this->filter(), origin, info.fSrcRect, iw, ih, h); in tess()
497 , fSrcRect(srcRect) in ColorDomainAndAA()
506 SkRect fSrcRect; member
DGrCopySurfaceOp.cpp94 state->commandBuffer()->copy(fSrc.get()->peekSurface(), fSrc.get()->origin(), fSrcRect, in onExecute()
/external/skia/src/gpu/ops/
DGrCopySurfaceOp.h37 fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, fSrcRect.fBottom, in dumpInfo()
50 , fSrcRect(srcRect) in GrCopySurfaceOp()
63 SkIRect fSrcRect; variable
DGrTextureOp.cpp219 i, info.fColor.toBytes_RGBA(), info.fSrcRect.fLeft, info.fSrcRect.fTop, in dumpInfo()
220 info.fSrcRect.fRight, info.fSrcRect.fBottom, quad.point(0).fX, in dumpInfo()
351 GrTextureOp::GetFilterHasEffect(ctm, set[p].fSrcRect, in TextureOp()
362 GrMapRectPoints(set[p].fDstRect, set[p].fSrcRect, set[p].fDstClipQuad, srcQuad, 4); in TextureOp()
368 {color, set[p].fSrcRect, srcQuadIndex, Domain::kNo, aaFlags}); in TextureOp()
400 compute_src_quad_from_rect(origin, info.fSrcRect, iw, ih, h); in tess()
402 compute_domain(info.domain(), this->filter(), origin, info.fSrcRect, iw, ih, h); in tess()
616 , fSrcRect(srcRect) in ColorDomainAndAA()
627 SkRect fSrcRect; member
DGrCopySurfaceOp.cpp94 state->commandBuffer()->copy(fSrc.get()->peekSurface(), fSrc.get()->origin(), fSrcRect, in onExecute()
/external/skia/src/gpu/effects/
DGrMagnifierEffect.h19 const SkRect& srcRect() const { return fSrcRect; } in srcRect()
40 , fSrcRect(srcRect) in GrMagnifierEffect()
56 SkRect fSrcRect; variable
DGrMagnifierEffect.cpp145 if (fSrcRect != that.fSrcRect) return false; in onIsEqual()
156 , fSrcRect(src.fSrcRect) in GrMagnifierEffect()
/external/skqp/src/gpu/effects/
DGrMagnifierEffect.h19 const SkRect& srcRect() const { return fSrcRect; } in srcRect()
40 , fSrcRect(srcRect) in GrMagnifierEffect()
56 SkRect fSrcRect; variable
DGrMagnifierEffect.cpp147 if (fSrcRect != that.fSrcRect) return false; in onIsEqual()
158 , fSrcRect(src.fSrcRect) in GrMagnifierEffect()
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.h47 : fSrc(src), fSrcOrigin(srcOrigin), fSrcRect(srcRect), fDstPoint(dstPoint) {} in CopyInfo()
51 SkIRect fSrcRect; member
164 , fSrcRect(srcRect) in CopyInfo()
170 SkIRect fSrcRect; member
/external/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.h47 : fSrc(sk_ref_sp(src)), fSrcOrigin(srcOrigin), fSrcRect(srcRect), fDstPoint(dstPoint) {} in CopyInfo()
51 SkIRect fSrcRect; member
164 , fSrcRect(srcRect) in CopyInfo()
170 SkIRect fSrcRect; member
/external/skia/include/effects/
DSkTileImageFilter.h42 : INHERITED(&input, 1, nullptr), fSrcRect(srcRect), fDstRect(dstRect) {} in SK_FLATTENABLE_HOOKS()
44 SkRect fSrcRect; variable
DSkMagnifierImageFilter.h35 SkRect fSrcRect;
DSkImageSource.h45 SkRect fSrcRect, fDstRect; variable
/external/skqp/include/effects/
DSkTileImageFilter.h42 : INHERITED(&input, 1, nullptr), fSrcRect(srcRect), fDstRect(dstRect) {} in SK_FLATTENABLE_HOOKS()
44 SkRect fSrcRect; variable
DSkMagnifierImageFilter.h35 SkRect fSrcRect;
DSkImageSource.h45 SkRect fSrcRect, fDstRect; variable
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp476 this->drawImageQuad(set[i].fImage.get(), &set[i].fSrcRect, &set[i].fDstRect, in tmp_drawImageSetV3()
517 if (!set[i].fSrcRect.isSorted()) { in tmp_drawImageSetV3()
550 textures[i].fSrcRect = set[i].fSrcRect; in tmp_drawImageSetV3()

12