Home
last modified time | relevance | path

Searched refs:srcRRect (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/core/
DSkBlurMF.cpp599 SkRRect srcRRect; in directFilterMaskGPU() local
601 if (!shape.asRRect(&srcRRect, nullptr, nullptr, &inverted) || inverted) { in directFilterMaskGPU()
608 bool devRRectIsValid = srcRRect.transform(viewMatrix, &devRRect); in directFilterMaskGPU()
612 bool canBeRect = srcRRect.isRect() && viewMatrix.preservesRightAngles(); in directFilterMaskGPU()
613 bool canBeCircle = (SkRRectPriv::IsCircle(srcRRect) && viewMatrix.isSimilarity()) || in directFilterMaskGPU()
620 srcRRect.rect(), viewMatrix, xformedSigma); in directFilterMaskGPU()
626 SkPoint center = {srcRRect.getBounds().centerX(), srcRRect.getBounds().centerY()}; in directFilterMaskGPU()
628 SkScalar radius = viewMatrix.mapVector(0, srcRRect.width()/2.f).length(); in directFilterMaskGPU()
643 SkRect srcProxyRect = srcRRect.rect(); in directFilterMaskGPU()
671 srcRRect, devRRect); in directFilterMaskGPU()
[all …]
DSkGpuBlurUtils.h68 bool ComputeBlurredRRectParams(const SkRRect& srcRRect, const SkRRect& devRRect,
DSkGpuBlurUtils.cpp714 bool ComputeBlurredRRectParams(const SkRRect& srcRRect, const SkRRect& devRRect, in ComputeBlurredRRectParams() argument
742 const SkVector& srcRadiiUL = srcRRect.radii(SkRRect::kUpperLeft_Corner); in ComputeBlurredRRectParams()
743 const SkVector& srcRadiiUR = srcRRect.radii(SkRRect::kUpperRight_Corner); in ComputeBlurredRRectParams()
744 const SkVector& srcRadiiLR = srcRRect.radii(SkRRect::kLowerRight_Corner); in ComputeBlurredRRectParams()
745 const SkVector& srcRadiiLL = srcRRect.radii(SkRRect::kLowerLeft_Corner); in ComputeBlurredRRectParams()
757 const SkRect srcProxyRect = srcRRect.getBounds().makeOutset(srcBlurRadius, srcBlurRadius); in ComputeBlurredRRectParams()
/external/skqp/src/core/
DSkBlurMF.cpp168 bool SkComputeBlurredRRectParams(const SkRRect& srcRRect, const SkRRect& devRRect, in SkComputeBlurredRRectParams() argument
198 const SkVector& srcRadiiUL = srcRRect.radii(SkRRect::kUpperLeft_Corner); in SkComputeBlurredRRectParams()
199 const SkVector& srcRadiiUR = srcRRect.radii(SkRRect::kUpperRight_Corner); in SkComputeBlurredRRectParams()
200 const SkVector& srcRadiiLR = srcRRect.radii(SkRRect::kLowerRight_Corner); in SkComputeBlurredRRectParams()
201 const SkVector& srcRadiiLL = srcRRect.radii(SkRRect::kLowerLeft_Corner); in SkComputeBlurredRRectParams()
213 const SkRect srcProxyRect = srcRRect.getBounds().makeOutset(srcBlurRadius, srcBlurRadius); in SkComputeBlurredRRectParams()
745 SkRRect srcRRect; in directFilterMaskGPU() local
747 if (!shape.asRRect(&srcRRect, nullptr, nullptr, &inverted) || inverted) { in directFilterMaskGPU()
752 if (!srcRRect.transform(viewMatrix, &devRRect)) { in directFilterMaskGPU()
779 SkRect srcProxyRect = srcRRect.rect(); in directFilterMaskGPU()
[all …]
DSkBlurPriv.h25 bool SkComputeBlurredRRectParams(const SkRRect& srcRRect, const SkRRect& devRRect,
/external/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.cpp320 const SkRRect& srcRRect, in Make() argument
326 SkRRectPriv::IsCircle(srcRRect), in Make()
327 srcRRect.dumpToString(true).c_str(), in Make()
331 srcRRect.isRect(), in Make()
332 srcRRect.dumpToString(true).c_str(), in Make()
351 bool ninePatchable = SkGpuBlurUtils::ComputeBlurredRRectParams(srcRRect, in Make()
DGrRRectBlurEffect.h29 const SkRRect& srcRRect,
/external/skia/src/gpu/effects/
DGrRRectBlurEffect.fp31 const SkRRect& srcRRect,
317 const SkRRect& srcRRect,
322 SkRRectPriv::IsCircle(srcRRect),
323 srcRRect.dumpToString(true).c_str(), devRRect.dumpToString(true).c_str());
325 srcRRect.isRect(),
326 srcRRect.dumpToString(true).c_str(), devRRect.dumpToString(true).c_str());
344 bool ninePatchable = SkGpuBlurUtils::ComputeBlurredRRectParams(srcRRect, devRRect,
/external/skqp/src/gpu/effects/
DGrRRectBlurEffect.fp110 const SkRRect& srcRRect,
117 const SkRRect& srcRRect,
135 bool ninePatchable = SkComputeBlurredRRectParams(srcRRect, devRRect,
DGrRRectBlurEffect.cpp15 const SkRRect& srcRRect, in Make() argument
35 srcRRect, devRRect, SkRect::MakeEmpty(), sigma, xformedSigma, &rrectToDraw, &size, in Make()
DGrRRectBlurEffect.h106 float xformedSigma, const SkRRect& srcRRect,