Home | History | Annotate | Download | only in gpu

Lines Matching refs:stroke

82      * @param stroke    the stroke information (width, join, cap).
85 const SkStrokeRec& stroke,
88 return this->onGetStencilSupport(path, stroke, target);
97 * @param stroke The stroke information (width, join, cap)
112 * @param stroke the stroke information (width, join, cap)
117 const SkStrokeRec& stroke,
121 SkASSERT(this->canDrawPath(path, stroke, target, antiAlias));
123 kNoRestriction_StencilSupport == this->getStencilSupport(path, stroke, target));
124 return this->onDrawPath(path, stroke, target, antiAlias);
132 * @param stroke the stroke information (width, join, cap)
135 void stencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) {
137 SkASSERT(kNoSupport_StencilSupport != this->getStencilSupport(path, stroke, target));
138 this->onStencilPath(path, stroke, target);
141 // Helper for determining if we can treat a thin stroke as a hairline w/ coverage.
143 static bool IsStrokeHairlineOrEquivalent(const SkStrokeRec& stroke, const SkMatrix& matrix,
145 if (stroke.isHairlineStyle()) {
151 return stroke.getStyle() == SkStrokeRec::kStroke_Style &&
152 SkDrawTreatAAStrokeAsHairline(stroke.getWidth(), matrix, outCoverage);
169 const SkStrokeRec& stroke,
177 virtual void onStencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) {
189 this->drawPath(path, stroke, target, false);