Searched refs:fSrcRect (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/effects/ |
D | SkBitmapSource.cpp | 18 , fSrcRect(SkRect::MakeWH(SkIntToScalar(bitmap.width()), in SkBitmapSource() 20 , fDstRect(fSrcRect) in SkBitmapSource() 29 , fSrcRect(srcRect) in SkBitmapSource() 53 buffer.writeRect(fSrcRect); in flatten() 63 if (fSrcRect == bounds && dstRect == bounds) { in onFilterImage() 85 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ? in onFilterImage() 87 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint); in onFilterImage() 104 fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, fSrcRect.fBottom, in toString()
|
D | SkMagnifierImageFilter.cpp | 275 : INHERITED(1, &input), fSrcRect(srcRect), fInset(inset) { in SkMagnifierImageFilter() 283 SkScalar yOffset = texture->origin() == kTopLeft_GrSurfaceOrigin ? fSrcRect.y() : in asFragmentProcessor() 284 texture->height() - fSrcRect.height() * texture->height() / bounds.height() in asFragmentProcessor() 285 - fSrcRect.y(); in asFragmentProcessor() 296 fSrcRect.x() / texture->width(), in asFragmentProcessor() 298 fSrcRect.width() / bounds.width(), in asFragmentProcessor() 299 fSrcRect.height() / bounds.height(), in asFragmentProcessor() 316 buffer.writeRect(fSrcRect); in flatten() 324 (fSrcRect.width() >= src.width()) || in onFilterImage() 325 (fSrcRect.height() >= src.height())) { in onFilterImage() [all …]
|
D | SkTileImageFilter.cpp | 42 if (!fSrcRect.width() || !fSrcRect.height() || !w || !h) { in onFilterImage() 47 ctx.ctm().mapRect(&srcRect, fSrcRect); in onFilterImage() 88 ctm.mapRect(&srcRect, fSrcRect); in onFilterBounds() 106 buffer.writeRect(fSrcRect); in flatten()
|
/external/skia/include/effects/ |
D | SkTileImageFilter.h | 35 : INHERITED(1, &input, NULL), fSrcRect(srcRect), fDstRect(dstRect) {} in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS() 40 SkRect fSrcRect;
|
D | SkMagnifierImageFilter.h | 34 SkRect fSrcRect;
|
D | SkBitmapSource.h | 41 SkRect fSrcRect, fDstRect; variable
|
/external/skia/src/gpu/ |
D | GrCommandBuilder.cpp | 69 cs->fSrcRect = srcRect; in recordCopySurface()
|
D | GrTargetCommands.cpp | 110 gpu->copySurface(this->dst(), this->src(), fSrcRect, fDstPoint); in execute()
|
D | GrTargetCommands.h | 219 SkIRect fSrcRect; member
|