Home
last modified time | relevance | path

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

/third_party/skia/src/effects/imagefilters/
DSkImageImageFilter.cpp27 , fSrcRect(srcRect) in SkImageImageFilter()
48 SkRect fSrcRect, fDstRect; member in __anon157ba2d20111::SkImageImageFilter
96 buffer.writeRect(fSrcRect); in flatten()
117 const bool passthroughSrcOffsets = SkScalarIsInt(fSrcRect.fLeft) && in onFilterImage()
118 SkScalarIsInt(fSrcRect.fTop); in onFilterImage()
122 SkScalarIsInt(fSrcRect.width()) && fSrcRect.width() == dstBounds.width() && in onFilterImage()
123 SkScalarIsInt(fSrcRect.height()) && fSrcRect.height() == dstBounds.height(); in onFilterImage()
129 SkIRect srcIBounds = fSrcRect.roundOut(); in onFilterImage()
151 canvas->drawImageRect(fImage.get(), fSrcRect, fDstRect, fSampling, nullptr, in onFilterImage()
DSkMagnifierImageFilter.cpp33 , fSrcRect(srcRect) in SkMagnifierImageFilter()
47 SkRect fSrcRect;
88 buffer.writeRect(fSrcRect); in flatten()
167 SkScalar invXZoom = fSrcRect.width() / bounds.width(); in onFilterImage()
168 SkScalar invYZoom = fSrcRect.height() / bounds.height(); in onFilterImage()
187 SkRect srcRect = fSrcRect.makeOffset((1.f - invXZoom) * input->subset().x(), in onFilterImage()
218 (fSrcRect.width() >= inputBM.width()) || (fSrcRect.height() >= inputBM.height())) { in onFilterImage()
262 SkScalar x_interp = weight * (fSrcRect.x() + x * invXZoom) + (1 - weight) * x; in onFilterImage()
263 SkScalar y_interp = weight * (fSrcRect.y() + y * invYZoom) + (1 - weight) * y; in onFilterImage()
DSkTileImageFilter.cpp28 , fSrcRect(srcRect) in SkTileImageFilter()
46 SkRect fSrcRect;
88 buffer.writeRect(fSrcRect); in flatten()
110 if (!fSrcRect.width() || !fSrcRect.height() || !dstIRect.width() || !dstIRect.height()) { in onFilterImage()
115 ctx.ctm().mapRect(&srcRect, fSrcRect); in onFilterImage()
174 SkRect rect = kReverse_MapDirection == dir ? fSrcRect : fDstRect; in onFilterNodeBounds()
/third_party/skia/src/gpu/
DGrCopyRenderTask.cpp47 : fSrc(std::move(src)), fSrcRect(srcRect), fDstPoint(dstPoint), fOrigin(origin) { in GrCopyRenderTask()
73 SkIRect::MakePtSize(fDstPoint, fSrcRect.size())); in onMakeClosed()
88 SkIRect srcRect = GrNativeRect::MakeIRectRelativeTo(fOrigin, srcSurface->height(), fSrcRect); in onExecute()
DGrTransferFromRenderTask.h23 , fSrcRect(srcRect) in GrTransferFromRenderTask()
52 SkIRect fSrcRect; variable
DGrOpsTypes.h29 SkRect fSrcRect; member
DGrTransferFromRenderTask.cpp29 fSrcRect, in onExecute()
DGrCopyRenderTask.h50 SkIRect fSrcRect; variable
/third_party/skia/experimental/graphite/src/
DCopyTask.cpp34 , fSrcRect(srcRect) in CopyTextureToBufferTask()
44 fSrcRect, in addCommands()
DCopyTask.h41 SkIRect fSrcRect; variable
/third_party/skia/gm/
Ddrawimageset.cpp94 set[y * m + x].fSrcRect = in make_image_tiles()
179 entry.fSrcRect = SkRect::MakeWH(kTileW, kTileH).makeInset(kTileW / 4.f, kTileH / 4.f); in onDraw()
340 canvas->drawImageRect(fSet[i].fImage.get(), fSet[i].fSrcRect, fSet[i].fDstRect, in onDraw()
Dbleed.cpp132 imageSetEntry[0].fSrcRect = srcRect; in drawImage()
/third_party/skia/src/gpu/v1/
DDevice_drawTexture.cpp871 set[i].fImage.get(), &set[i].fSrcRect, &set[i].fDstRect, in drawEdgeAAImageSet()
923 if (!set[i].fSrcRect.isSorted()) { in drawEdgeAAImageSet()
950 image, &set[i].fSrcRect, &set[i].fDstRect, clip, GrAA::kYes, in drawEdgeAAImageSet()
959 textures[i].fSrcRect = set[i].fSrcRect; in drawEdgeAAImageSet()
/third_party/skia/tools/
DMSKPPlayer.cpp64 SkRect fSrcRect; member
111 fSrcRect, in draw()
213 drawLayer->fSrcRect = src; in onDrawImageRect2()
/third_party/skia/tests/
DBulkRectTest.cpp134 set[i].fSrcRect = SkRect::MakeWH(100.0f, 100.0f); in textureop_creation_test()
147 quad.fLocal = GrQuad(set[i].fSrcRect); in textureop_creation_test()
/third_party/skia/src/gpu/ops/
DTextureOp.cpp552 GrMapRectPoints(set[q].fDstRect, set[q].fSrcRect, set[q].fDstClipQuad, srcPts, 4); in TextureOpImpl()
556 quad.fLocal = GrQuad(set[q].fSrcRect); in TextureOpImpl()
601 SkRect* subsetRect = &set[q].fSrcRect; in TextureOpImpl()
1293 GrMapRectPoints(set[i].fDstRect, set[i].fSrcRect, set[i].fDstClipQuad, srcPts, 4); in AddTextureSetOps()
1297 quad.fLocal = GrQuad(set[i].fSrcRect); in AddTextureSetOps()
1301 ? &set[i].fSrcRect : nullptr; in AddTextureSetOps()
/third_party/skia/bench/
DCompositingImagesBench.cpp301 SkMatrix srcToDst = SkMatrix::RectToRect(entry.fSrcRect, entry.fDstRect); in getAdjustedEntry()
305 entry.fSrcRect = contentRect; in getAdjustedEntry()
DBulkRectBench.cpp99 batch[i].fSrcRect = SkRect::MakeIWH(fImages[imageIndex]->width(), in drawImagesBatch()
/third_party/skia/src/core/
DSkDevice.cpp299 this->drawImageRect(images[i].fImage.get(), &images[i].fSrcRect, images[i].fDstRect, in drawEdgeAAImageSet()
DSkPicturePlayback.cpp351 reader->readRect(&set[i].fSrcRect); in handleOp()
DSkPictureRecord.cpp786 this->addRect(set[i].fSrcRect); in onDrawEdgeAAImageSet2()
DSkCanvas.cpp2676 , fSrcRect(srcRect) in ImageSetEntry()
2686 , fSrcRect(srcRect) in ImageSetEntry()
/third_party/skia/include/core/
DSkCanvas.h1612 SkRect fSrcRect; member