Home
last modified time | relevance | path

Searched refs:fDstRect (Results 1 – 25 of 35) sorted by relevance

12

/external/skqp/src/effects/imagefilters/
DSkImageSource.cpp44 , fDstRect(fSrcRect) in SkImageSource()
55 , fDstRect(dstRect) in SkImageSource()
77 buffer.writeRect(fDstRect); in flatten()
84 ctx.ctm().mapRect(&dstRect, fDstRect); in onFilterImage()
140 return SkImageSource::Make(image, fSrcRect, fDstRect, fFilterQuality); in onMakeColorSpace()
146 return fDstRect; in computeFastBounds()
155 SkRect dstRect = fDstRect; in onFilterNodeBounds()
DSkTileImageFilter.cpp53 ctx.ctm().mapRect(&dstRect, fDstRect); in onFilterImage()
125 return SkTileImageFilter::Make(fSrcRect, fDstRect, std::move(input)); in onMakeColorSpace()
132 SkRect rect = kReverse_MapDirection == dir ? fSrcRect : fDstRect; in onFilterNodeBounds()
144 return fDstRect; in computeFastBounds()
158 buffer.writeRect(fDstRect); in flatten()
/external/skia/src/effects/imagefilters/
DSkImageImageFilter.cpp28 , fDstRect(dstRect) in SkImageImageFilter()
46 SkRect fSrcRect, fDstRect; member in __anon46f1d09b0111::SkImageImageFilter
96 buffer.writeRect(fDstRect); in flatten()
105 ctx.ctm().mapRect(&dstRect, fDstRect); in onFilterImage()
159 return fDstRect; in computeFastBounds()
169 SkRect dstRect = fDstRect; in onFilterNodeBounds()
DSkTileImageFilter.cpp29 , fDstRect(dstRect) {} in SkTileImageFilter()
47 SkRect fDstRect; member in __anon226a65e60111::SkTileImageFilter
89 buffer.writeRect(fDstRect); in flatten()
103 ctx.ctm().mapRect(&dstRect, fDstRect); in onFilterImage()
174 SkRect rect = kReverse_MapDirection == dir ? fSrcRect : fDstRect; in onFilterNodeBounds()
186 return fDstRect; in computeFastBounds()
/external/skia/gm/
Ddrawimageset.cpp97 set[y * m + x].fDstRect = SkRect::MakeXYWH(x * tileW, y * tileH, tileW, tileH); in make_image_tiles()
181 entry.fDstRect = SkRect::MakeWH(1.5 * kTileW, 1.5 * kTileH).makeOffset(d / 4, 2 * d); in onDraw()
191 canvas->translate(entry.fDstRect.width() + 8.f, 0); in onDraw()
266 scaledSet[i].fDstRect.fLeft *= scale.fX; in onDraw()
267 scaledSet[i].fDstRect.fTop *= scale.fY; in onDraw()
268 scaledSet[i].fDstRect.fRight *= scale.fX; in onDraw()
269 scaledSet[i].fDstRect.fBottom *= scale.fY; in onDraw()
341 canvas->drawImageRect(fSet[i].fImage.get(), fSet[i].fSrcRect, fSet[i].fDstRect, in onDraw()
Dbleed.cpp134 imageSetEntry[0].fDstRect = dstRect; in drawImage()
/external/skqp/include/effects/
DSkTileImageFilter.h42 : INHERITED(&input, 1, nullptr), fSrcRect(srcRect), fDstRect(dstRect) {} in SK_FLATTENABLE_HOOKS()
45 SkRect fDstRect; variable
DSkImageSource.h45 SkRect fSrcRect, fDstRect; variable
/external/skqp/gm/
Ddrawimageset.cpp77 set[y * m + x].fDstRect = SkRect::MakeXYWH(x * tileW, y * tileH, tileW, tileH); in make_image_tiles()
155 entry.fDstRect = SkRect::MakeWH(2 * kTileW, 2 * kTileH).makeOffset(d / 4, 2 * d); in onDraw()
228 scaledSet[i].fDstRect.fLeft *= scale.fX; in onDraw()
229 scaledSet[i].fDstRect.fTop *= scale.fY; in onDraw()
230 scaledSet[i].fDstRect.fRight *= scale.fX; in onDraw()
231 scaledSet[i].fDstRect.fBottom *= scale.fY; in onDraw()
/external/skia/bench/
DCompositingImagesBench.cpp301 SkMatrix srcToDst = SkMatrix::RectToRect(entry.fSrcRect, entry.fDstRect); in getAdjustedEntry()
304 entry.fDstRect.toQuad(dstQuad); in getAdjustedEntry()
306 entry.fDstRect = srcToDst.mapRect(contentRect); in getAdjustedEntry()
DBulkRectBench.cpp100 batch[i].fDstRect = fRects[i]; in drawImagesBatch()
/external/skia/tools/
DMSKPPlayer.cpp65 SkRect fDstRect; member
112 fDstRect, in draw()
214 drawLayer->fDstRect = dst; in onDrawImageRect2()
/external/skia/tests/
DBulkRectTest.cpp133 set[i].fDstRect = SkRect::MakeWH(100.5f, 100.5f); // prevent the int non-AA optimization in textureop_creation_test()
144 quad.fDevice = GrQuad::MakeFromRect(set[i].fDstRect, SkMatrix::I()); in textureop_creation_test()
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp862 set[i].fImage.get(), &set[i].fSrcRect, &set[i].fDstRect, in drawEdgeAAImageSet()
941 image, &set[i].fSrcRect, &set[i].fDstRect, clip, GrAA::kYes, in drawEdgeAAImageSet()
951 textures[i].fDstRect = set[i].fDstRect; in drawEdgeAAImageSet()
DGrSurfaceDrawContext.h304 SkRect fDstRect; member
/external/skqp/src/core/
DSkColorSpaceXformCanvas.cpp164 xformedSet[i].fDstRect = set[i].fDstRect; in onDrawImageSet()
DSkOverdrawCanvas.cpp217 fList[0]->onDrawRect(set[i].fDstRect, fPaint); in onDrawImageSet()
DSkDevice.cpp226 this->drawImageRect(images[i].fImage.get(), &images[i].fSrcRect, images[i].fDstRect, paint, in drawImageSet()
DSkRecordDraw.cpp393 rect.join(this->adjustAndMap(op.set[i].fDstRect, nullptr)); in bounds()
/external/skia/src/core/
DSkOverdrawCanvas.cpp239 fList[0]->onDrawRect(set[i].fDstRect, fPaint); in onDrawEdgeAAImageSet2()
DSkCanvas.cpp2423 SkRect setBounds = imageSet[0].fDstRect; in onDrawEdgeAAImageSet2()
2430 SkRect entryBounds = imageSet[i].fDstRect; in onDrawEdgeAAImageSet2()
2550 , fDstRect(dstRect) in ImageSetEntry()
2560 , fDstRect(dstRect) in ImageSetEntry()
DSkDevice.cpp295 this->drawImageRect(images[i].fImage.get(), &images[i].fSrcRect, images[i].fDstRect, in drawEdgeAAImageSet()
/external/skqp/src/gpu/
DGrRenderTargetContext.h163 SkRect fDstRect; member
/external/skia/src/gpu/ops/
DGrTextureOp.cpp548 GrMapRectPoints(set[q].fDstRect, set[q].fSrcRect, set[q].fDstClipQuad, srcPts, 4); in TextureOp()
551 quad.fDevice = GrQuad::MakeFromRect(set[q].fDstRect, ctm); in TextureOp()
1283 GrMapRectPoints(set[i].fDstRect, set[i].fSrcRect, set[i].fDstClipQuad, srcPts, 4); in AddTextureSetOps()
1286 quad.fDevice = GrQuad::MakeFromRect(set[i].fDstRect, ctm); in AddTextureSetOps()
/external/skqp/src/gpu/ops/
DGrTextureOp.cpp267 auto quad = GrPerspQuad(set[p].fDstRect, viewMatrix); in TextureOp()
281 set[p].fDstRect); in TextureOp()

12