Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkBitmapSource.cpp18 , 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()
DSkMagnifierImageFilter.cpp275 : 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 …]
DSkTileImageFilter.cpp42 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/
DSkTileImageFilter.h35 : INHERITED(1, &input, NULL), fSrcRect(srcRect), fDstRect(dstRect) {} in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
40 SkRect fSrcRect;
DSkMagnifierImageFilter.h34 SkRect fSrcRect;
DSkBitmapSource.h41 SkRect fSrcRect, fDstRect; variable
/external/skia/src/gpu/
DGrCommandBuilder.cpp69 cs->fSrcRect = srcRect; in recordCopySurface()
DGrTargetCommands.cpp110 gpu->copySurface(this->dst(), this->src(), fSrcRect, fDstPoint); in execute()
DGrTargetCommands.h219 SkIRect fSrcRect; member