Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/gpu/ops/
DGrCopySurfaceOp.h40 fSrc.get()->uniqueID().asUInt(), fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, in dumpInfo()
41 fSrcRect.fBottom, fDstPoint.fX, fDstPoint.fY); in dumpInfo()
54 , fSrcRect(srcRect) in GrCopySurfaceOp()
63 int rectHeight = fSrcRect.height(); in GrCopySurfaceOp()
64 fSrcRect.fTop = src->height() - fSrcRect.fBottom; in GrCopySurfaceOp()
65 fSrcRect.fBottom = fSrcRect.fTop + rectHeight; in GrCopySurfaceOp()
77 SkIRect fSrcRect; variable
DGrTransferFromOp.h39 (int)fDstColorType, fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, in dumpInfo()
40 fSrcRect.fBottom); in dumpInfo()
56 , fSrcRect(srcRect) in GrTransferFromOp()
68 SkIRect fSrcRect; variable
DGrCopySurfaceOp.cpp49 fSrcRect.offset(0, src->peekSurface()->height() - src->height()); in onExecute()
56 state->commandBuffer()->copy(fSrc.get()->peekSurface(), fSrcRect, fDstPoint); in onExecute()
DGrTransferFromOp.cpp28 fSrcRect, fSurfaceColorType, fDstColorType, fDstBuffer.get(), fDstOffset); in onExecute()
DGrTextureOp.cpp330 GrMapRectPoints(set[p].fDstRect, set[p].fSrcRect, set[p].fDstClipQuad, srcPts, 4); in TextureOp()
334 srcQuad = GrQuad(set[p].fSrcRect); in TextureOp()
356 if (!set[p].fSrcRect.contains(fProxies[p].fProxy->getWorstCaseBoundsRect()) && in TextureOp()
361 domainForQuad = &set[p].fSrcRect; in TextureOp()
/third_party/skia/src/effects/imagefilters/
DSkImageImageFilter.cpp27 , fSrcRect(srcRect) in SkImageImageFilter()
48 SkRect fSrcRect, fDstRect; member in __anonc00423c50111::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/flutter/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp38 , fSrcRect(srcRect) in SkMagnifierImageFilterImpl()
52 SkRect fSrcRect;
95 buffer.writeRect(fSrcRect); in flatten()
117 SkScalar invXZoom = fSrcRect.width() / bounds.width(); in onFilterImage()
118 SkScalar invYZoom = fSrcRect.height() / bounds.height(); in onFilterImage()
136 fSrcRect, in onFilterImage()
159 (fSrcRect.width() >= inputBM.width()) || (fSrcRect.height() >= inputBM.height())) { in onFilterImage()
201 SkScalar x_interp = weight * (fSrcRect.x() + x * invXZoom) + (1 - weight) * x; in onFilterImage()
202 SkScalar y_interp = weight * (fSrcRect.y() + y * invYZoom) + (1 - weight) * y; in onFilterImage()
DSkImageSource.cpp27 , fSrcRect(srcRect) in SkImageSourceImpl()
46 SkRect fSrcRect, fDstRect; member in __anon6727c1020111::SkImageSourceImpl
96 buffer.writeRect(fSrcRect); in flatten()
107 if (fSrcRect == bounds) { in onFilterImage()
145 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? in onFilterImage()
147 canvas->drawImageRect(fImage.get(), fSrcRect, dstRect, &paint, in onFilterImage()
DSkTileImageFilter.cpp30 , fSrcRect(srcRect) in SkTileImageFilterImpl()
48 SkRect fSrcRect;
93 buffer.writeRect(fSrcRect); in flatten()
112 if (!fSrcRect.width() || !fSrcRect.height() || !dstIRect.width() || !dstIRect.height()) { in onFilterImage()
117 ctx.ctm().mapRect(&srcRect, fSrcRect); in onFilterImage()
176 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/flutter/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp51 , fSrcRect(srcRect) in Copy()
56 args.fGpu->copySurface(args.fSurface, fSrc.get(), fSrcRect, fDstPoint, fShouldDiscardDst); in execute()
62 SkIRect fSrcRect; member in __anon864241600111::Copy
73 , fSrcRect(srcRect) in TransferFrom()
78 args.fGpu->transferPixelsFrom(args.fSurface, fSrcRect.fLeft, fSrcRect.fTop, in execute()
79 fSrcRect.width(), fSrcRect.height(), fSurfaceColorType, in execute()
86 SkIRect fSrcRect; member in __anon864241600111::TransferFrom
/third_party/flutter/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp471 this->drawImageQuad(set[i].fImage.get(), &set[i].fSrcRect, &set[i].fDstRect, in drawEdgeAAImageSet()
511 if (!set[i].fSrcRect.isSorted()) { in drawEdgeAAImageSet()
537 this->drawImageQuad(image, &set[i].fSrcRect, &set[i].fDstRect, clip, GrAA::kYes, in drawEdgeAAImageSet()
545 textures[i].fSrcRect = set[i].fSrcRect; in drawEdgeAAImageSet()
/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()
/third_party/skia/tools/
DMSKPPlayer.cpp64 SkRect fSrcRect; member
111 fSrcRect, in draw()
213 drawLayer->fSrcRect = src; in onDrawImageRect2()
/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/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/flutter/skia/gm/
Ddrawimageset.cpp94 set[y * m + x].fSrcRect = in make_image_tiles()
178 entry.fSrcRect = SkRect::MakeWH(kTileW, kTileH).makeInset(kTileW / 4.f, kTileH / 4.f); in onDraw()

12