Searched refs:fSrcRect (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/effects/ |
D | SkImageSource.cpp | 31 , fSrcRect(SkRect::MakeIWH(image->width(), image->height())) in SkImageSource() 32 , fDstRect(fSrcRect) in SkImageSource() 41 , fSrcRect(srcRect) in SkImageSource() 62 buffer.writeRect(fSrcRect); in flatten() 72 if (fSrcRect == bounds && dstRect == bounds) { in onFilterImageDeprecated() 93 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? in onFilterImageDeprecated() 95 canvas.drawImageRect(fImage, fSrcRect, dstRect, &paint, SkCanvas::kStrict_SrcRectConstraint); in onFilterImageDeprecated() 112 fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, fSrcRect.fBottom, in toString()
|
D | SkMagnifierImageFilter.cpp | 251 : INHERITED(1, &input), fSrcRect(srcRect), fInset(inset) { in SkMagnifierImageFilter() 260 SkScalar yOffset = texture->origin() == kTopLeft_GrSurfaceOrigin ? fSrcRect.y() : in asFragmentProcessor() 261 texture->height() - fSrcRect.height() * texture->height() / bounds.height() in asFragmentProcessor() 262 - fSrcRect.y(); in asFragmentProcessor() 273 fSrcRect.x() / texture->width(), in asFragmentProcessor() 275 fSrcRect.width() / bounds.width(), in asFragmentProcessor() 276 fSrcRect.height() / bounds.height(), in asFragmentProcessor() 293 buffer.writeRect(fSrcRect); in flatten() 301 (fSrcRect.width() >= src.width()) || in onFilterImageDeprecated() 302 (fSrcRect.height() >= src.height())) { in onFilterImageDeprecated() [all …]
|
D | SkTileImageFilter.cpp | 56 if (!fSrcRect.width() || !fSrcRect.height() || !w || !h) { in onFilterImageDeprecated() 61 ctx.ctm().mapRect(&srcRect, fSrcRect); in onFilterImageDeprecated() 113 SkRect rect = kReverse_MapDirection == direction ? fSrcRect : fDstRect; in onFilterNodeBounds() 139 buffer.writeRect(fSrcRect); in flatten() 147 fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, fSrcRect.fBottom); in toString()
|
/external/skia/src/gpu/batches/ |
D | GrCopySurfaceBatch.h | 45 fDst.get(), fSrc.get(), fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, in dumpInfo() 46 fSrcRect.fBottom, fDstPoint.fX, fDstPoint.fY); in dumpInfo() 56 , fSrcRect(srcRect) in GrCopySurfaceBatch() 67 state->gpu()->copySurface(fDst.get(), fSrc.get(), fSrcRect, fDstPoint); in onDraw() 72 SkIRect fSrcRect; variable
|
/external/skia/include/effects/ |
D | SkTileImageFilter.h | 39 : INHERITED(1, &input, NULL), fSrcRect(srcRect), fDstRect(dstRect) {} in SkTileImageFilter() 41 SkRect fSrcRect; variable
|
D | SkMagnifierImageFilter.h | 34 SkRect fSrcRect;
|
D | SkImageSource.h | 42 SkRect fSrcRect, fDstRect; variable
|