Lines Matching refs:chops
67 // Subtract 2 because the tessellation shader chops every cubic at two locations, and
172 // Recursively chops the given conic and its previous join until the segments fit in
179 // chops the previous join and cubic sections as necessary until the segments fit in
182 SkPoint chops[10];
190 SkChopCubicAt(p, chops, chopT[0]);
193 chops[2] = chops[4] = chops[3];
195 this->internalCubicConvex180PatchesTo(fStrokeJoinType, chops);
196 this->internalCubicConvex180PatchesTo(JoinType::kBowtie, chops + 3);
199 SkChopCubicAt(p, chops, chopT[0], chopT[1]);
202 this->writeLineTo(chops[0], chops[3]);
203 this->writeLineTo(JoinType::kBowtie, chops[3], chops[6]);
204 this->writeLineTo(JoinType::kBowtie, chops[6], chops[9]);
207 this->internalCubicConvex180PatchesTo(fStrokeJoinType, chops);
208 this->internalCubicConvex180PatchesTo(JoinType::kBowtie, chops + 3);
209 this->internalCubicConvex180PatchesTo(JoinType::kBowtie, chops + 6);
214 // number of segments. Possibly chops its previous join until the segments fit in tessellation
355 // Recursively chops the given conic and its previous join until the segments fit in
407 SkPoint chops[5];
409 SkChopQuadAtHalf(p, chops);
411 SkChopQuadAtMidTangent(p, chops);
413 this->internalConicPatchesTo(prevJoinType, chops, 1, maxDepth - 1);
414 this->internalConicPatchesTo(JoinType::kBowtie, chops + 2, 1, maxDepth - 1);
419 SkConic chops[2];
420 if (conic.chopAt(chopT, chops)) {
421 this->internalConicPatchesTo(prevJoinType, chops[0].fPts, chops[0].fW,
423 this->internalConicPatchesTo(JoinType::kBowtie, chops[1].fPts, chops[1].fW,
434 // Recursively chops the given cubic and its previous join until the segments fit in
462 SkPoint chops[7];
472 SkChopCubicAtHalf(p, chops);
474 SkChopCubicAtMidTangent(p, chops);
476 this->internalCubicConvex180PatchesTo(prevJoinType, chops, maxDepth - 1);
477 this->internalCubicConvex180PatchesTo(JoinType::kBowtie, chops + 3, maxDepth - 1);
486 // number of segments. Possibly chops its previous join until the segments fit in tessellation
492 // Bowtie joins are only used on internal chops, and internal chops almost always have
529 // Recursively chops the given join until the segments fit in tessellation patches.