Home
last modified time | relevance | path

Searched refs:fStroke (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/gpu/tessellate/
DGrStrokeTessellator.h21 : fPath(path), fStroke(stroke), fColor(color) {} in PathStrokeList()
23 SkStrokeRec fStroke; member
32 , fShader(shaderMode, shaderFlags, viewMatrix, fPathStrokeList->fStroke, in GrStrokeTessellator()
130 SkASSERT(!head->fStroke.isHairlineStyle()); in fetchRadialSegmentsPerRadian()
136 fStrokeWidths[i++] = peekAhead->fStroke.getWidth(); in fetchRadialSegmentsPerRadian()
144 SkASSERT(fStrokeWidths[fBufferIdx] == head->fStroke.getWidth()); in fetchRadialSegmentsPerRadian()
DGrStrokeIterator.h33 : fViewMatrix(viewMatrix), fStroke(stroke) { in GrStrokeIterator()
177 switch (fStroke->getCap()) { in finishOpenContour()
210 switch (fStroke->getCap()) { in finishOpenContour()
225 if (!fStroke->isHairlineStyle()) { in finishOpenContour()
227 outset = {fStroke->getWidth() * .5f, 0}; in finishOpenContour()
308 if (!fStroke->isHairlineStyle()) { in fillSquareCapPoints()
310 lastTangent *= (.5f * fStroke->getWidth()) / lastTangent.length(); in fillSquareCapPoints()
330 if (!fStroke->isHairlineStyle()) { in fillSquareCapPoints()
332 firstTangent *= (-.5f * fStroke->getWidth()) / firstTangent.length(); in fillSquareCapPoints()
343 const SkStrokeRec* const fStroke; variable
DGrStrokeTessellateShader.cpp171 auto affineMatrixVisibility = (shader.fStroke.isHairlineStyle()) ? in onEmitCode()
186 if (shader.fStroke.isHairlineStyle() && !shader.viewMatrix().isIdentity()) { in onEmitCode()
419 const auto& stroke = shader.fStroke; in setData()
435 GetJoinType(shader.fStroke), // JOIN_TYPE in setData()
856 if (!shader.fStroke.isHairlineStyle()) { in getTessEvaluationShaderGLSL()
973 if (!shader.fStroke.isHairlineStyle()) { in getTessEvaluationShaderGLSL()
999 SkPaint::Join joinType = shader.fStroke.getJoin(); in onEmitCode()
1081 if (shader.fStroke.isHairlineStyle() && !shader.viewMatrix().isIdentity()) { in onEmitCode()
1109 if (shader.fStroke.getJoin() == SkPaint::kRound_Join || shader.hasDynamicStroke()) { in onEmitCode()
1240 } else if (!shader.fStroke.isHairlineStyle()) { in onEmitCode()
[all …]
DGrStrokeTessellateShader.h111 , fStroke(stroke) in GrStrokeTessellateShader()
188 const SkStrokeRec fStroke; variable
DGrStrokeFixedCountTessellator.cpp216 const SkStrokeRec& stroke = fPathStrokeList->fStroke; in prepare()
230 const SkStrokeRec& stroke = pathStroke->fStroke; in prepare()
245 GrStrokeIterator strokeIter(pathStroke->fPath, &pathStroke->fStroke, &fShader.viewMatrix()); in prepare()
DGrStrokeTessellateOp.h29 SkStrokeRec& headStroke() { return fPathStrokeList.fStroke; } in headStroke()
DGrStrokeHardwareTessellator.cpp689 const SkStrokeRec& stroke = fPathStrokeList->fStroke; in prepare()
702 const SkStrokeRec& stroke = pathStroke->fStroke; in prepare()
DGrStrokeIndirectTessellator.cpp467 const SkStrokeRec& stroke = pathStroke->fStroke; in GrStrokeIndirectTessellator()
813 const SkStrokeRec& stroke = pathStroke->fStroke; in writeBuffers()
/external/skqp/samplecode/
DSamplePathOverstroke.cpp20 SkScalar fStroke; member in OverstrokeView
26 fStroke = 5; in OverstrokeView()
44 fStroke += 1.0; in onQuery()
47 fStroke -= 1.0; in onQuery()
161 p.setStrokeWidth(fStroke); in onDrawContent()
DSamplePath.cpp77 SkScalar fDStroke, fStroke, fMinStroke, fMaxStroke; member in PathView
99 fStroke = 10; in init()
147 paint.setStrokeWidth(fStroke); in drawPath()
191 fStroke += fDStroke * delta; in onAnimate()
192 if (fStroke > fMaxStroke || fStroke < fMinStroke) { in onAnimate()
/external/skia/samplecode/
DSamplePathOverstroke.cpp20 SkScalar fStroke; member in OverstrokeView
26 fStroke = 5; in OverstrokeView()
40 fStroke += 1.0; in onChar()
43 fStroke -= 1.0; in onChar()
156 p.setStrokeWidth(fStroke); in onDrawContent()
DSamplePath.cpp77 SkScalar fDStroke, fStroke, fMinStroke, fMaxStroke; member in PathView
99 fStroke = 10; in init()
141 paint.setStrokeWidth(fStroke); in drawPath()
185 fStroke += fDStroke * delta; in onAnimate()
186 if (fStroke > fMaxStroke || fStroke < fMinStroke) { in onAnimate()
/external/skia/bench/
DRectBench.cpp22 int fShift, fStroke; member in RectBench
35 , fStroke(stroke) in RectBench()
41 if (fStroke > 0) { in computeName()
42 fBaseName.appendf("_stroke_%d", fStroke); in computeName()
84 if (fStroke > 0) { in onDraw()
86 paint.setStrokeWidth(SkIntToScalar(fStroke)); in onDraw()
/external/skqp/bench/
DRectBench.cpp22 int fShift, fStroke; member in RectBench
35 , fStroke(stroke) in RectBench()
41 if (fStroke > 0) { in computeName()
42 fBaseName.appendf("_stroke_%d", fStroke); in computeName()
84 if (fStroke > 0) { in onDraw()
86 paint.setStrokeWidth(SkIntToScalar(fStroke)); in onDraw()
/external/skqp/experimental/svg/model/
DSkSVGAttribute.cpp18 result.fStroke.set(SkSVGPaint(SkSVGPaint::Type::kNone)); in MakeInitial()
DSkSVGAttribute.h72 SkTLazy<SkSVGPaint> fStroke; member
DSkSVGRenderContext.cpp149 applySvgPaint(ctx, *attrs.fStroke.get(), &pctx->fStrokePaint); in commitToPaint()
434 const SkSVGPaint::Type paintType = fPresentationContext->fInherited.fStroke.get()->type(); in strokePaint()
DSkSVGNode.cpp90 fPresentationAttributes.fStroke.set(svgPaint); in setStroke()
/external/skia/modules/svg/include/
DSkSVGAttribute.h79 SkSVGProperty<SkSVGPaint , true> fStroke; member
/external/skia/modules/svg/src/
DSkSVGAttribute.cpp18 result.fStroke.set(SkSVGPaint(SkSVGPaint::Type::kNone)); in MakeInitial()
DSkSVGRenderContext.cpp276 hasStroke = props.fStroke->type() != SkSVGPaint::Type::kNone; in applyOpacity()
446 auto p = this->commonPaint(*props.fStroke, *props.fStrokeOpacity); in strokePaint()
/external/skqp/src/gpu/ops/
DGrOvalOpFactory.cpp69 , fStroke(stroke) { in CircleGeometryProcessor()
162 if (cgp.fStroke) { in onEmitCode()
206 key = cgp.fStroke ? 0x01 : 0x0; in GenKey()
236 bool fStroke; member in CircleGeometryProcessor
514 fStroke = stroke; in EllipseGeometryProcessor()
575 if (egp.fStroke) { in onEmitCode()
588 if (egp.fStroke) { in onEmitCode()
604 uint16_t key = egp.fStroke ? 0x1 : 0x0; in GenKey()
625 bool fStroke; member in EllipseGeometryProcessor
/external/skia/src/gpu/ops/
DGrOvalOpFactory.cpp91 , fStroke(stroke) { in CircleGeometryProcessor()
171 if (cgp.fStroke) { in onEmitCode()
214 b->addBool(cgp.fStroke, "stroked"); in GenKey()
252 bool fStroke; member in CircleGeometryProcessor
565 , fStroke(stroke) in EllipseGeometryProcessor()
629 if (egp.fStroke) { in onEmitCode()
656 if (egp.fStroke) { in onEmitCode()
686 b->addBool(egp.fStroke, "stroked"); in GenKey()
712 bool fStroke; member in EllipseGeometryProcessor