Searched refs:fStroke (Results 1 - 25 of 26) sorted by relevance

12

/external/skia/src/gpu/batches/
H A DGrDashLinePathRenderer.cpp15 if (args.fStroke->isDashed() && args.fPath->isLine(pts)) {
16 return GrDashingEffect::CanDrawDashLine(pts, *args.fStroke, *args.fViewMatrix);
26 *args.fViewMatrix, pts, args.fAntiAlias, *args.fStroke);
H A DGrAADistanceFieldPathRenderer.h39 // since fStroke has no default ctor
43 , fStroke(SkStrokeRec::kFill_InitStyle) {}
47 , fStroke(stroke) {}
51 fStroke.hasEqualEffect(other.fStroke);
59 SkStrokeRec fStroke; member in class:GrAADistanceFieldPathRenderer::PathData::Key
H A DGrAADistanceFieldPathRenderer.cpp88 SkStrokeRec::kHairline_Style == args.fStroke->getStyle() ||
91 args.fStroke->isDashed()) {
107 if (!args.fStroke->isFillStyle()) {
108 SkScalar extraWidth = args.fStroke->getWidth();
109 if (SkPaint::kMiter_Join == args.fStroke->getJoin()) {
110 extraWidth = SkTMax(extraWidth, 2.0f*args.fStroke->getMiter());
132 Geometry(const SkStrokeRec& stroke) : fStroke(stroke) {
135 fStroke.setStrokeParams(SkPaint::kDefault_Cap, SkPaint::kDefault_Join,
137 if (fStroke.getWidth() < 0) {
138 fStroke
146 SkStrokeRec fStroke; member in struct:AADistanceFieldPathBatch::Geometry
[all...]
H A DGrStencilAndCoverPathRenderer.cpp35 if (args.fStroke->isHairlineStyle()) {
70 SkAutoTUnref<GrPath> p(get_gr_path(fResourceProvider, *args.fPath, *args.fStroke));
77 SkASSERT(!args.fStroke->isHairlineStyle());
89 SkAutoTUnref<GrPath> p(get_gr_path(fResourceProvider, path, *args.fStroke));
H A DGrAALinearizingConvexPathRenderer.cpp50 if (args.fStroke->getStyle() == SkStrokeRec::kStroke_Style) {
54 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * args.fStroke->getWidth();
55 return strokeWidth >= 1.0f && strokeWidth <= kMaxStrokeWidth && !args.fStroke->isDashed() &&
57 args.fStroke->getJoin() != SkPaint::Join::kRound_Join;
59 return args.fStroke->getStyle() == SkStrokeRec::kFill_Style;
333 geometry.fStrokeWidth = args.fStroke->isFillStyle() ? -1.0f : args.fStroke->getWidth();
334 geometry.fJoin = args.fStroke->isFillStyle() ? SkPaint::Join::kMiter_Join :
335 args.fStroke->getJoin();
336 geometry.fMiterLimit = args.fStroke
[all...]
H A DGrTessellatingPathRenderer.cpp71 return !IsStrokeHairlineOrEquivalent(*args.fStroke, *args.fViewMatrix, nullptr) &&
111 GrStrokeInfo stroke(fStroke);
151 int strokeDataSize32 = fStroke.computeUniqueKeyFragmentData32Cnt();
159 fStroke.asUniqueKeyFragment(&builder[2 + clipBoundsSize32]);
215 , fStroke(stroke)
242 GrStrokeInfo fStroke; member in class:TessellatingPathBatch
268 *args.fStroke, *args.fViewMatrix,
H A DGrDefaultPathRenderer.cpp726 return !args.fAntiAlias && (args.fStroke->isFillStyle() ||
727 IsStrokeHairlineOrEquivalent(*args.fStroke, *args.fViewMatrix,
738 *args.fStroke,
747 *args.fPath, *args.fStroke, true);
H A DGrAAHairLinePathRenderer.cpp622 if (!IsStrokeHairlineOrEquivalent(*args.fStroke, *args.fViewMatrix, nullptr)) {
979 *args.fStroke, devClipBounds));
H A DGrAAConvexPathRenderer.cpp686 args.fStroke->isFillStyle() && !args.fPath->isInverseFillType() &&
/external/skia/src/gpu/gl/
H A DGrGLPathRange.cpp16 fStroke(stroke),
29 fStroke(stroke),
40 bool forceFill = fStroke.isDashed() ||
41 (fStroke.needToApply() && fStroke.getCap() != SkPaint::kButt_Cap);
47 fShouldStroke = fStroke.needToApply();
48 fShouldFill = fStroke.isFillStyle() ||
49 fStroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style;
69 GrGLPath::InitPathObjectStroke(gpu, fBasePathID + index, fStroke);
73 const GrStrokeInfo* stroke = &fStroke;
[all...]
H A DGrGLPathRange.h58 const GrStrokeInfo fStroke; member in class:GrGLPathRange
/external/skia/src/gpu/
H A DGrPathRenderer.h77 * fStroke The stroke information (width, join, cap)
84 const GrStrokeInfo* fStroke; member in struct:GrPathRenderer::CanDrawPathArgs
95 SkASSERT(fStroke);
121 * fStroke the stroke information (width, join, cap)
131 const GrStrokeInfo* fStroke; member in struct:GrPathRenderer::DrawPathArgs
140 SkASSERT(fStroke);
156 canArgs.fStroke = args.fStroke;
165 *args.fStroke));
177 * fStroke Th
185 const GrStrokeInfo* fStroke; member in struct:GrPathRenderer::StencilPathArgs
[all...]
H A DGrPath.h28 , fStroke(stroke)
49 GrStrokeInfo fStroke; member in class:GrPath
H A DGrSoftwarePathRenderer.cpp20 if (args.fStroke->isDashed()) {
135 GrSWMaskHelper::DrawPathMaskToTexture(fContext, *args.fPath, *args.fStroke,
H A DGrPathRendererChain.cpp81 fChain[i]->getStencilSupport(*args.fPath, *args.fStroke);
H A DGrOvalRenderer.cpp91 inline bool isStroked() const { return fStroke; }
185 fStroke = stroke;
193 bool fStroke; member in class:CircleEdgeEffect
240 inline bool isStroked() const { return fStroke; }
355 fStroke = stroke;
364 bool fStroke; member in class:EllipseEdgeEffect
617 bool fStroke; member in struct:CircleBatch::Geometry
658 fBatch.fStroke = fGeoData[0].fStroke;
759 bool stroke() const { return fBatch.fStroke; }
763 bool fStroke; member in struct:CircleBatch::BatchTracker
845 bool fStroke; member in struct:EllipseBatch::Geometry
982 bool fStroke; member in struct:EllipseBatch::BatchTracker
1378 bool fStroke; member in struct:RRectCircleRendererBatch::Geometry
1533 bool fStroke; member in struct:RRectCircleRendererBatch::BatchTracker
1557 bool fStroke; member in struct:RRectEllipseRendererBatch::Geometry
1724 bool fStroke; member in struct:RRectEllipseRendererBatch::BatchTracker
[all...]
H A DGrPath.cpp200 if (!fStroke.hasEqualEffect(stroke)) {
206 if (!fStroke.isDashed() && fSkPath.isOval(&ovalBounds)) {
H A DGrClipMaskManager.cpp106 canDrawArgs.fStroke = &stroke;
554 canDrawArgs.fStroke = &stroke;
571 args.fStroke = &stroke;
808 canDrawArgs.fStroke = &stroke;
863 args.fStroke = &stroke;
873 args.fStroke = &stroke;
898 args.fStroke = &stroke;
H A DGrDrawContext.cpp749 canDrawArgs.fStroke = strokeInfoPtr;
770 canDrawArgs.fStroke = strokeInfoPtr;
795 canDrawArgs.fStroke = strokeInfoPtr;
815 args.fStroke = strokeInfoPtr;
/external/skia/src/gpu/text/
H A DGrStencilAndCoverTextContext.cpp350 : fStroke(fontAndStroke),
356 SkASSERT(!fStroke.isHairlineStyle()); // Hairlines are not supported.
362 if (fFont.isFakeBoldText() && SkStrokeRec::kStroke_Style != fStroke.getStyle()) {
369 fStroke.setStrokeStyle(fStroke.needToApply() ? fStroke.getWidth() + extra : extra,
375 if (!fFont.getPathEffect() && !fStroke.isDashed()) {
381 if (!fStroke.isFillStyle()) {
382 fStroke.setStrokeStyle(fStroke
[all...]
H A DGrStencilAndCoverTextContext.h97 GrStrokeInfo fStroke; member in class:GrStencilAndCoverTextContext::TextRun
/external/skia/bench/
H A DRectBench.cpp20 int fShift, fStroke; member in class:RectBench
31 , fStroke(stroke) {}
36 if (fStroke > 0) {
37 fName.appendf("_stroke_%d", fStroke);
72 if (fStroke > 0) {
74 paint.setStrokeWidth(SkIntToScalar(fStroke));
/external/skia/samplecode/
H A DSamplePath.cpp90 SkScalar fDStroke, fStroke, fMinStroke, fMaxStroke; member in class:PathView
112 fStroke = 10;
161 paint.setStrokeWidth(fStroke);
205 fStroke += fDStroke * delta;
206 if (fStroke > fMaxStroke || fStroke < fMinStroke) {
/external/skia/src/core/
H A DSkRemote.cpp454 ID define(const Stroke& v)O{return this->define(Type::kStroke, &fStroke, v);}
473 case Type::kStroke: return fStroke .remove(id);
526 fStroke.find(stroke).applyTo(&paint);
538 fStroke.find(stroke).applyTo(&paint);
610 IDMap<Stroke , Type::kStroke > fStroke; member in class:SkRemote::final
646 fStroke .foreach(undef);
672 ID define(const Stroke& v) override { return this->define(&fStroke , v); }
742 SkTHashMap<Stroke, ID> fStroke; member in class:SkRemote::final
/external/skia/tests/
H A DTessellatingPathRendererTests.cpp250 args.fStroke = &stroke;

Completed in 402 milliseconds

12