Home | History | Annotate | Download | only in gpu

Lines Matching full:stroke

82      * @param stroke    the stroke information (width, join, cap).
87 const GrStrokeInfo& stroke) const {
89 return this->onGetStencilSupport(target, pipelineBuilder, path, stroke);
101 * @param stroke The stroke information (width, join, cap)
120 * @param stroke the stroke information (width, join, cap)
128 const GrStrokeInfo& stroke,
131 SkASSERT(this->canDrawPath(target, ds, viewMatrix, path, stroke, antiAlias));
134 stroke));
135 return this->onDrawPath(target, ds, color, viewMatrix, path, stroke, antiAlias);
143 * @param stroke the stroke information (width, join, cap)
150 const GrStrokeInfo& stroke) {
152 SkASSERT(kNoSupport_StencilSupport != this->getStencilSupport(target, ds, path, stroke));
153 this->onStencilPath(target, ds, viewMatrix, path, stroke);
156 // Helper for determining if we can treat a thin stroke as a hairline w/ coverage.
158 static bool IsStrokeHairlineOrEquivalent(const GrStrokeInfo& stroke, const SkMatrix& matrix,
160 if (stroke.isDashed()) {
163 if (stroke.getStrokeRec().isHairlineStyle()) {
169 return stroke.getStrokeRec().getStyle() == SkStrokeRec::kStroke_Style &&
170 SkDrawTreatAAStrokeAsHairline(stroke.getStrokeRec().getWidth(), matrix, outCoverage);
203 const GrStrokeInfo& stroke) {
213 this->drawPath(target, pipelineBuilder, GrColor_WHITE, viewMatrix, path, stroke, false);