Home
last modified time | relevance | path

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

12345678

/external/skia/tests/sksl/shared/
DSampleLocations.glsl10 float outset = 0.03125;
11 outset = 0 == (x + y) % 2 ? -outset : outset;
12 float l = float(ileft) / 16.0 - outset;
13 float r = float(iright) / 16.0 + outset;
14 float t = float(itop) / 16.0 - outset;
15 float b = float(ibot) / 16.0 + outset;
DSampleLocations.metal21 float outset = 0.03125;
22 outset = 0 == (x + y) % 2 ? -outset : outset;
23 float l = float(ileft) / 16.0 - outset;
24 float r = float(iright) / 16.0 + outset;
25 float t = float(itop) / 16.0 - outset;
26 float b = float(ibot) / 16.0 + outset;
DSampleLocations.asm.vert18 OpName %outset "outset"
73 %outset = OpVariable %_ptr_Function_float Function
114 OpStore %outset %float_0_03125
123 %74 = OpLoad %float %outset
128 %75 = OpLoad %float %outset
133 OpStore %outset %76
137 %82 = OpLoad %float %outset
143 %88 = OpLoad %float %outset
149 %94 = OpLoad %float %outset
155 %100 = OpLoad %float %outset
/external/skia/resources/sksl/shared/
DSampleLocations.vert10 float outset = 1/32.0;
11 outset = (0 == (x + y) % 2) ? -outset : +outset;
12 float l = float(ileft)/16.0 - outset;
13 float r = float(iright)/16.0 + outset;
14 float t = float(itop)/16.0 - outset;
15 float b = float(ibot)/16.0 + outset;
/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 …]
/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/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));
/external/skia/gm/
Dimagefilterscropexpand.cpp67 for (int outset = -15; outset <= 20; outset += 5) { variable
70 bigRect.outset(outset, outset);
Dimagefilters.cpp115 for (SkScalar outset = 0; outset <= 1; ++outset) { variable
117 canvas->clipRect(r.makeOutset(outset, outset));
Dgpu_blur_utils.cpp72 SkIPoint outset = {SkGpuBlurUtils::SigmaRadius(sigmaX), SkGpuBlurUtils::SigmaRadius(sigmaY)}; in slow_blur() local
73 SkISize size = {dstB.width() + 2*outset.x(), dstB.height() + 2*outset.y()}; in slow_blur()
74 src = tileInto(std::move(src), srcB, size, outset - dstB.topLeft(), mode); in slow_blur()
78 dstB = SkIRect::MakePtSize(outset, dstB.size()); in slow_blur()
116 return tileInto(std::move(src), srcRect, dstB.size(), -outset, SkTileMode::kClamp); in slow_blur()
246 testArea.outset(testArea.width(), testArea.height()); in run()
Dtessellation.cpp342 SkPath outset; in build_outset_triangle() local
352 outset.moveTo(p); in build_outset_triangle()
354 outset.lineTo(p); in build_outset_triangle()
357 return outset; in build_outset_triangle()
Dcolorfilterimagefilter.cpp120 float outset = 0.0f) { in draw_clipped_rect() argument
123 clip.outset(outset, outset); in draw_clipped_rect()
/external/skia/src/gpu/geometry/
DGrStyledShape.cpp645 fShape.rect().outset(r, r); in simplifyStroke()
753 r.outset(w, w); in simplifyStroke()
765 SkVector outset; in simplifyStroke() local
770 outset.fY = fStyle.strokeRec().getWidth() / 2.f; in simplifyStroke()
771 outset.fX = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fY; in simplifyStroke()
776 outset.fX = fStyle.strokeRec().getWidth() / 2.f; in simplifyStroke()
777 outset.fY = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fX; in simplifyStroke()
784 rect.outset(outset.fX, outset.fY); in simplifyStroke()
788 SkASSERT(outset.fX == outset.fY); in simplifyStroke()
789 fShape.setRRect(SkRRect::MakeRectXY(rect, outset.fX, outset.fY)); in simplifyStroke()
/external/skia/src/utils/
DSkShadowTessellator.cpp55 bool computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip);
65 bool computeConcaveShadow(SkScalar inset, SkScalar outset);
250 bool SkBaseShadowTessellator::computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip) { in computeConvexShadow() argument
314 fFirstOutset *= outset; in computeConvexShadow()
345 normal *= outset; in computeConvexShadow()
346 this->addArc(normal, outset, true); in computeConvexShadow()
354 if (this->addArc(fFirstOutset, outset, false)) { in computeConvexShadow()
557 bool SkBaseShadowTessellator::computeConcaveShadow(SkScalar inset, SkScalar outset) { in computeConcaveShadow() argument
577 if (!SkOffsetSimplePolygon(&fPathPolygon[0], fPathPolygon.count(), fPathBounds, -outset, in computeConcaveShadow()
915 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/tessellate/
DGrStrokeIterator.h224 SkPoint outset; in finishOpenContour() local
227 outset = {fStroke->getWidth() * .5f, 0}; in finishOpenContour()
249 outset = SkVector{d, -c} * (.5f / det); in finishOpenContour()
251 outset = {1, 0}; in finishOpenContour()
254 fEndingCapPts = {*fLastDegenerateStrokePt - outset, in finishOpenContour()
255 *fLastDegenerateStrokePt + outset}; in finishOpenContour()
/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/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/proguard/docs/manual/
Dstyle.css68 border: 1px outset #FFFFFF;
79 border: 1px outset #FFFFFF;
137 border: 1px outset #FFFFFF;
/external/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.cpp452 SkRect outset = rect; in onSetData() local
453 outset.outset(blurRadiusValue, blurRadiusValue); in onSetData()
454 pdman.set4f(proxyRect, outset.fLeft, outset.fTop, outset.fRight, outset.fBottom); in onSetData()
/external/skia/samplecode/
DSampleDegenerateQuads.cpp38 bool outset, SkPoint line[2]) { in make_aa_line() argument
42 n = outset ? SkVector::Make(v.fY, -v.fX) : SkVector::Make(-v.fY, v.fX); in make_aa_line()
407 void getTessellatedPoints(SkPoint inset[4], SkScalar insetCoverage[4], SkPoint outset[4], in getTessellatedPoints()
440 outset[0] = {vertices[28], vertices[29]}; // TL in getTessellatedPoints()
442 outset[3] = {vertices[35], vertices[36]}; // BL in getTessellatedPoints()
444 outset[1] = {vertices[42], vertices[43]}; // TR in getTessellatedPoints()
446 outset[2] = {vertices[49], vertices[50]}; // BR in getTessellatedPoints()
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp73 innerTransformedRect.outset(kColorBleedTolerance, kColorBleedTolerance); in may_color_bleed()
218 static inline void clamped_outset_with_offset(SkIRect* iRect, int outset, SkPoint* offset, in clamped_outset_with_offset() argument
220 iRect->outset(outset, outset); in clamped_outset_with_offset()
224 offset->fX -= outset - leftClampDelta; in clamped_outset_with_offset()
227 offset->fX -= outset; in clamped_outset_with_offset()
232 offset->fY -= outset - topClampDelta; in clamped_outset_with_offset()
235 offset->fY -= outset; in clamped_outset_with_offset()
614 int outset = sampling.useCubic ? GrBicubicEffect::kFilterTexelPad : 1; in draw_tiled_bitmap() local
615 clamped_outset_with_offset(&iTileR, outset, &offset, iClampRect); in draw_tiled_bitmap()
/external/autotest/frontend/client/src/autotest/public/
Dstandard.css97 border: 1px outset #ccc;
102 border: 1px outset;
108 border: 1px outset #ccc;

12345678