Home
last modified time | relevance | path

Searched refs:outset (Results 1 – 25 of 191) sorted by relevance

12345678

/external/skqp/src/gpu/ops/
DGrQuadPerEdgeAA.cpp60 static AI void outset_masked_vertices(const Sk4f& outset, const Sk4f& outsetCW, const Sk4f& xdiff, in outset_masked_vertices() argument
65 auto maskedOutset = -outset * nextCW(mask); in outset_masked_vertices()
85 static AI void outset_vertices(const Sk4f& outset, const Sk4f& outsetCW, const Sk4f& xdiff, in outset_vertices() argument
89 *x += fma(outsetCW, nextCW(xdiff), -outset * xdiff); in outset_vertices()
90 *y += fma(outsetCW, nextCW(ydiff), -outset * ydiff); in outset_vertices()
92 Sk4f t = -outset * invLengths; // Bake minus sign in here in outset_vertices()
107 static void adjust_non_rectilinear_outset(const Sk4f& xdiff, const Sk4f& ydiff, Sk4f* outset) { in adjust_non_rectilinear_outset() argument
111 *outset *= (1.f - cosTheta * cosTheta).rsqrt(); in adjust_non_rectilinear_outset()
113 *outset = Sk4f::Max(-3.f, Sk4f::Min(*outset, 3.f)); in adjust_non_rectilinear_outset()
135 Sk4f outset = 0.5f; in compute_nested_quad_vertices() local
[all …]
DGrAAConvexTessellator.cpp499 void GrAAConvexTessellator::createOuterRing(const Ring& previousRing, SkScalar outset, in createOuterRing() argument
509 const SkScalar outsetSq = outset * outset; in createOuterRing()
510 SkScalar miterLimitSq = outset * fMiterLimit; in createOuterRing()
522 perp1.scale(outset); in createOuterRing()
528 perp2.scale(outset); in createOuterRing()
535 int perp1Idx = this->addPt(perp1, -outset, coverage, false, curve); in createOuterRing()
543 perp2Idx = this->addPt(perp2, -outset, coverage, false, curve); in createOuterRing()
556 miter.setLength(-outset); in createOuterRing()
562 miterIdx = this->addPt(miter, -outset, coverage, false, kSharp_CurveState); in createOuterRing()
592 miterIdx = this->addPt(miter, -outset, coverage, false, in createOuterRing()
/external/skqp/src/gpu/effects/
DGrRRectBlurEffect.cpp121 SkRect outset = rect; in onSetData() local
122 outset.outset(blurRadiusValue, blurRadiusValue); in onSetData()
123 pdman.set4f(proxyRect, outset.fLeft, outset.fTop, outset.fRight, outset.fBottom); in onSetData()
DGrRRectBlurEffect.fp199 SkRect outset = rect;
200 outset.outset(blurRadiusValue, blurRadiusValue);
201 pdman.set4f(proxyRect, outset.fLeft, outset.fTop, outset.fRight, outset.fBottom);
/external/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.cpp125 SkRect outset = rect; in onSetData() local
126 outset.outset(blurRadiusValue, blurRadiusValue); in onSetData()
127 pdman.set4f(proxyRect, outset.fLeft, outset.fTop, outset.fRight, outset.fBottom); in onSetData()
/external/skqp/gm/
Dimagefilterscropexpand.cpp70 for (int outset = -15; outset <= 20; outset += 5) { variable
73 rect.outset(SkIntToScalar(outset),
74 SkIntToScalar(outset));
Dimagefilters.cpp94 for (SkScalar outset = 0; outset <= 1; ++outset) { variable
96 canvas->clipRect(r.makeOutset(outset, outset));
Dcolorfilterimagefilter.cpp111 float outset = 0.0f) { in draw_clipped_rect() argument
114 clip.outset(outset, outset); in draw_clipped_rect()
/external/skia/gm/
Dimagefilterscropexpand.cpp69 for (int outset = -15; outset <= 20; outset += 5) { variable
72 bigRect.outset(outset, outset);
Dimagefilters.cpp110 for (SkScalar outset = 0; outset <= 1; ++outset) { variable
112 canvas->clipRect(r.makeOutset(outset, outset));
Dcolorfilterimagefilter.cpp120 float outset = 0.0f) { in draw_clipped_rect() argument
123 clip.outset(outset, outset); in draw_clipped_rect()
Dtessellation.cpp352 SkPath outset; in build_outset_triangle() local
362 outset.moveTo(p); in build_outset_triangle()
364 outset.lineTo(p); in build_outset_triangle()
367 return outset; in build_outset_triangle()
/external/skia/src/gpu/effects/
DGrRRectBlurEffect.fp202 SkRect outset = rect;
203 outset.outset(blurRadiusValue, blurRadiusValue);
204 pdman.set4f(proxyRect, outset.fLeft, outset.fTop, outset.fRight, outset.fBottom);
/external/skia/src/utils/
DSkShadowTessellator.cpp54 bool computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip);
64 bool computeConcaveShadow(SkScalar inset, SkScalar outset);
249 bool SkBaseShadowTessellator::computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip) { in computeConvexShadow() argument
313 fFirstOutset *= outset; in computeConvexShadow()
344 normal *= outset; in computeConvexShadow()
345 this->addArc(normal, outset, true); in computeConvexShadow()
353 if (this->addArc(fFirstOutset, outset, false)) { in computeConvexShadow()
556 bool SkBaseShadowTessellator::computeConcaveShadow(SkScalar inset, SkScalar outset) { in computeConcaveShadow() argument
576 if (!SkOffsetSimplePolygon(&fPathPolygon[0], fPathPolygon.count(), fPathBounds, -outset, in computeConcaveShadow()
914 auto outset = SkDrawShadowMetrics::AmbientBlurRadius(baseZ); in SkAmbientShadowTessellator() local
[all …]
/external/skqp/src/utils/
DSkShadowTessellator.cpp54 bool computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip);
64 bool computeConcaveShadow(SkScalar inset, SkScalar outset);
246 bool SkBaseShadowTessellator::computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip) { in computeConvexShadow() argument
310 fFirstOutset *= outset; in computeConvexShadow()
341 normal *= outset; in computeConvexShadow()
342 this->addArc(normal, outset, true); in computeConvexShadow()
350 if (this->addArc(fFirstOutset, outset, false)) { in computeConvexShadow()
553 bool SkBaseShadowTessellator::computeConcaveShadow(SkScalar inset, SkScalar outset) { in computeConcaveShadow() argument
573 if (!SkOffsetSimplePolygon(&fPathPolygon[0], fPathPolygon.count(), -outset, in computeConcaveShadow()
911 auto outset = SkDrawShadowMetrics::AmbientBlurRadius(baseZ); in SkAmbientShadowTessellator() local
[all …]
/external/skia/src/gpu/geometry/
DGrShape.cpp727 SkVector outset; in attemptToSimplifyStrokedLineToRRect() local
733 outset.fY = fStyle.strokeRec().getWidth() / 2.f; in attemptToSimplifyStrokedLineToRRect()
734 outset.fX = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fY; in attemptToSimplifyStrokedLineToRRect()
739 outset.fX = fStyle.strokeRec().getWidth() / 2.f; in attemptToSimplifyStrokedLineToRRect()
740 outset.fY = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fX; in attemptToSimplifyStrokedLineToRRect()
744 rect.outset(outset.fX, outset.fY); in attemptToSimplifyStrokedLineToRRect()
752 SkASSERT(outset.fX == outset.fY); in attemptToSimplifyStrokedLineToRRect()
753 rrect = SkRRect::MakeRectXY(rect, outset.fX, outset.fY); in attemptToSimplifyStrokedLineToRRect()
/external/skqp/src/gpu/
DGrShape.cpp729 SkVector outset; in attemptToSimplifyStrokedLineToRRect() local
735 outset.fY = fStyle.strokeRec().getWidth() / 2.f; in attemptToSimplifyStrokedLineToRRect()
736 outset.fX = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fY; in attemptToSimplifyStrokedLineToRRect()
741 outset.fX = fStyle.strokeRec().getWidth() / 2.f; in attemptToSimplifyStrokedLineToRRect()
742 outset.fY = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fX; in attemptToSimplifyStrokedLineToRRect()
746 rect.outset(outset.fX, outset.fY); in attemptToSimplifyStrokedLineToRRect()
754 SkASSERT(outset.fX == outset.fY); in attemptToSimplifyStrokedLineToRRect()
755 rrect = SkRRect::MakeRectXY(rect, outset.fX, outset.fY); in attemptToSimplifyStrokedLineToRRect()
/external/skqp/docs/
DcatalogTrailer.txt7 var outset = 15
63 var row = outset + 30
64 var column = outset
73 row += height + outset
76 column += columnWidth + outset
151 context.rect((256 + outset) * scale, 0, canvas.width, 30)
/external/skia/src/gpu/ccpr/
DGrOctoBounds.h79 void outset(float radius) { in outset() function
80 fBounds.outset(radius, radius); in outset()
81 fBounds45.outset(radius*SK_ScalarSqrt2, radius*SK_ScalarSqrt2); in outset()
/external/proguard/docs/manual/
Dstyle.css68 border: 1px outset #FFFFFF;
79 border: 1px outset #FFFFFF;
137 border: 1px outset #FFFFFF;
/external/skia/samplecode/
DSampleDegenerateQuads.cpp37 bool outset, SkPoint line[2]) { in make_aa_line() argument
41 n = outset ? SkVector::Make(v.fY, -v.fX) : SkVector::Make(-v.fY, v.fX); in make_aa_line()
406 void getTessellatedPoints(SkPoint inset[4], SkScalar insetCoverage[4], SkPoint outset[4], in getTessellatedPoints()
439 outset[0] = {vertices[28], vertices[29]}; // TL in getTessellatedPoints()
441 outset[3] = {vertices[35], vertices[36]}; // BL in getTessellatedPoints()
443 outset[1] = {vertices[42], vertices[43]}; // TR in getTessellatedPoints()
445 outset[2] = {vertices[49], vertices[50]}; // BR in getTessellatedPoints()
/external/autotest/frontend/client/src/autotest/public/
Dstandard.css97 border: 1px outset #ccc;
102 border: 1px outset;
108 border: 1px outset #ccc;
/external/skia/tests/
DRecordDrawTest.cpp127 SkRect inset(a), outset(a); in sloppy_rect_eq() local
129 outset.outset(1, 1); in sloppy_rect_eq()
130 return outset.contains(b) && !inset.contains(b); in sloppy_rect_eq()
/external/skqp/tests/
DRecordDrawTest.cpp127 SkRect inset(a), outset(a); in sloppy_rect_eq() local
129 outset.outset(1, 1); in sloppy_rect_eq()
130 return outset.contains(b) && !inset.contains(b); in sloppy_rect_eq()
/external/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp509 void GrAAConvexTessellator::createOuterRing(const Ring& previousRing, SkScalar outset, in createOuterRing() argument
519 const SkScalar outsetSq = outset * outset; in createOuterRing()
520 SkScalar miterLimitSq = outset * fMiterLimit; in createOuterRing()
532 perp1.scale(outset); in createOuterRing()
538 perp2.scale(outset); in createOuterRing()
545 int perp1Idx = this->addPt(perp1, -outset, coverage, false, curve); in createOuterRing()
553 perp2Idx = this->addPt(perp2, -outset, coverage, false, curve); in createOuterRing()
566 miter.setLength(-outset); in createOuterRing()
572 miterIdx = this->addPt(miter, -outset, coverage, false, kSharp_CurveState); in createOuterRing()
602 miterIdx = this->addPt(miter, -outset, coverage, false, in createOuterRing()

12345678