Home
last modified time | relevance | path

Searched refs:devRRect (Results 1 – 22 of 22) sorted by relevance

/external/skqp/src/gpu/effects/
DGrRRectBlurEffect.cpp16 const SkRRect& devRRect) { in Make() argument
17 SkASSERT(!SkRRectPriv::IsCircle(devRRect) && in Make()
18 !devRRect.isRect()); // Should've been caught up-stream in Make()
21 if (!SkRRectPriv::IsSimpleCircular(devRRect)) { in Make()
35 srcRRect, devRRect, SkRect::MakeEmpty(), sigma, xformedSigma, &rrectToDraw, &size, in Make()
48 new GrRRectBlurEffect(xformedSigma, devRRect.getBounds(), in Make()
49 SkRRectPriv::GetSimpleRadii(devRRect).fX, std::move(mask))); in Make()
DGrRRectBlurEffect.fp111 const SkRRect& devRRect);
118 const SkRRect& devRRect) {
119 …SkASSERT(!SkRRectPriv::IsCircle(devRRect) && !devRRect.isRect()); // Should've been caught up-stre…
122 if (!SkRRectPriv::IsSimpleCircular(devRRect)) {
135 bool ninePatchable = SkComputeBlurredRRectParams(srcRRect, devRRect,
154 new GrRRectBlurEffect(xformedSigma, devRRect.getBounds(),
155 SkRRectPriv::GetSimpleRadii(devRRect).fX, std::move(mask)));
DGrRRectBlurEffect.h107 const SkRRect& devRRect);
/external/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.cpp321 const SkRRect& devRRect) { in Make() argument
324 SkASSERTF(!SkRRectPriv::IsCircle(devRRect), in Make()
328 devRRect.dumpToString(true).c_str()); in Make()
329 SkASSERTF(!devRRect.isRect(), in Make()
333 devRRect.dumpToString(true).c_str()); in Make()
336 if (!SkRRectPriv::IsSimpleCircular(devRRect)) { in Make()
352 devRRect, in Make()
374 devRRect.getBounds(), in Make()
375 SkRRectPriv::GetSimpleRadii(devRRect).fX, in Make()
DGrRRectBlurEffect.h30 const SkRRect& devRRect);
/external/skqp/src/core/
DSkBlurMF.cpp168 bool SkComputeBlurredRRectParams(const SkRRect& srcRRect, const SkRRect& devRRect, in SkComputeBlurredRRectParams() argument
181 const SkRect& devOrig = devRRect.getBounds(); in SkComputeBlurredRRectParams()
182 const SkVector& devRadiiUL = devRRect.radii(SkRRect::kUpperLeft_Corner); in SkComputeBlurredRRectParams()
183 const SkVector& devRadiiUR = devRRect.radii(SkRRect::kUpperRight_Corner); in SkComputeBlurredRRectParams()
184 const SkVector& devRadiiLR = devRRect.radii(SkRRect::kLowerRight_Corner); in SkComputeBlurredRRectParams()
185 const SkVector& devRadiiLL = devRRect.radii(SkRRect::kLowerLeft_Corner); in SkComputeBlurredRRectParams()
751 SkRRect devRRect; in directFilterMaskGPU() local
752 if (!srcRRect.transform(viewMatrix, &devRRect)) { in directFilterMaskGPU()
756 if (!SkRRectPriv::AllCornersCircular(devRRect)) { in directFilterMaskGPU()
763 if (devRRect.isRect() || SkRRectPriv::IsCircle(devRRect)) { in directFilterMaskGPU()
[all …]
DSkClipStack.h336 bool quickContains(const SkRRect& devRRect) const { in quickContains() argument
337 return this->isWideOpen() || this->internalQuickContains(devRRect); in quickContains()
499 bool internalQuickContains(const SkRRect& devRRect) const;
DSkBlurPriv.h25 bool SkComputeBlurredRRectParams(const SkRRect& srcRRect, const SkRRect& devRRect,
DSkMaskFilterBase.h221 bool filterRRect(const SkRRect& devRRect, const SkMatrix& ctm, const SkRasterClip&,
DSkDraw.cpp788 SkRRect devRRect; in drawRRect() local
789 if (rrect.transform(*fMatrix, &devRRect)) { in drawRRect()
791 if (as_MFB(paint.getMaskFilter())->filterRRect(devRRect, *fMatrix, in drawRRect()
DSkMaskFilter.cpp217 bool SkMaskFilterBase::filterRRect(const SkRRect& devRRect, const SkMatrix& matrix, in filterRRect() argument
224 if (kTrue_FilterReturn != this->filterRRectToNine(devRRect, matrix, in filterRRect()
/external/skia/src/gpu/effects/
DGrRRectBlurEffect.fp32 const SkRRect& devRRect);
318 const SkRRect& devRRect) {
321 SkASSERTF(!SkRRectPriv::IsCircle(devRRect), "Unexpected circle. %d\n\t%s\n\t%s",
323 srcRRect.dumpToString(true).c_str(), devRRect.dumpToString(true).c_str());
324 SkASSERTF(!devRRect.isRect(), "Unexpected rect. %d\n\t%s\n\t%s",
326 srcRRect.dumpToString(true).c_str(), devRRect.dumpToString(true).c_str());
329 if (!SkRRectPriv::IsSimpleCircular(devRRect)) {
344 bool ninePatchable = SkGpuBlurUtils::ComputeBlurredRRectParams(srcRRect, devRRect,
360 new GrRRectBlurEffect(std::move(inputFP), xformedSigma, devRRect.getBounds(),
361 SkRRectPriv::GetSimpleRadii(devRRect).fX, std::move(maskFP)));
/external/skia/src/core/
DSkBlurMF.cpp607 SkRRect devRRect; in directFilterMaskGPU() local
608 bool devRRectIsValid = srcRRect.transform(viewMatrix, &devRRect); in directFilterMaskGPU()
610 bool devRRectIsCircle = devRRectIsValid && SkRRectPriv::IsCircle(devRRect); in directFilterMaskGPU()
624 devBounds = devRRect.getBounds(); in directFilterMaskGPU()
666 if (!devRRectIsValid || !SkRRectPriv::AllCornersCircular(devRRect)) { in directFilterMaskGPU()
671 srcRRect, devRRect); in directFilterMaskGPU()
689 devRRect.rect().makeOutset(extra, extra).roundOut(&proxyBounds); in directFilterMaskGPU()
DSkClipStack.h357 bool quickContains(const SkRRect& devRRect) const { in quickContains() argument
358 return this->isWideOpen() || this->internalQuickContains(devRRect); in quickContains()
515 bool internalQuickContains(const SkRRect& devRRect) const;
DSkGpuBlurUtils.h68 bool ComputeBlurredRRectParams(const SkRRect& srcRRect, const SkRRect& devRRect,
DSkGpuBlurUtils.cpp714 bool ComputeBlurredRRectParams(const SkRRect& srcRRect, const SkRRect& devRRect, in ComputeBlurredRRectParams() argument
725 const SkRect& devOrig = devRRect.getBounds(); in ComputeBlurredRRectParams()
726 const SkVector& devRadiiUL = devRRect.radii(SkRRect::kUpperLeft_Corner); in ComputeBlurredRRectParams()
727 const SkVector& devRadiiUR = devRRect.radii(SkRRect::kUpperRight_Corner); in ComputeBlurredRRectParams()
728 const SkVector& devRadiiLR = devRRect.radii(SkRRect::kLowerRight_Corner); in ComputeBlurredRRectParams()
729 const SkVector& devRadiiLL = devRRect.radii(SkRRect::kLowerLeft_Corner); in ComputeBlurredRRectParams()
DSkMaskFilterBase.h228 bool filterRRect(const SkRRect& devRRect, const SkMatrix& ctm, const SkRasterClip&,
DSkMaskFilter.cpp215 bool SkMaskFilterBase::filterRRect(const SkRRect& devRRect, const SkMatrix& matrix, in filterRRect() argument
222 if (kTrue_FilterReturn != this->filterRRectToNine(devRRect, matrix, in filterRRect()
DSkDraw.cpp789 SkRRect devRRect; in drawRRect() local
790 if (rrect.transform(ctm, &devRRect)) { in drawRRect()
792 if (as_MFB(paint.getMaskFilter())->filterRRect(devRRect, ctm, *fRC, blitter.get())) { in drawRRect()
/external/skia/src/gpu/
DSkGpuDevice.cpp514 SkTCopyOnFirstWrite<SkRRect> devRRect(rrect); local
515 if (viewMatrix.isIdentity() || rrect.transform(viewMatrix, devRRect.writable())) {
518 auto [success, fp] = GrRRectEffect::Make(/*inputFP=*/nullptr, edgeType, *devRRect,
DGrSurfaceDrawContext.cpp1052 SkRRect devRRect; in drawRRect() local
1054 rrect.transform(viewMatrix, &devRRect)) { in drawRRect()
1055 GrClip::PreClipResult result = clip->preApply(devRRect.getBounds(), aa); in drawRRect()
1066 if (result.fIsRRect && result.fRRect == devRRect) { in drawRRect()
/external/skqp/src/gpu/
DGrRenderTargetContext.cpp1109 SkRRect devRRect; in drawRRect() local
1110 if (rrect.transform(viewMatrix, &devRRect) && clip->quickContains(devRRect)) { in drawRRect()