Home
last modified time | relevance | path

Searched refs:fWinding (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/gpu/
DGrAATriangulator.cpp152 bool prevFilled = leftEnclosingEdge && this->applyFillType(leftEnclosingEdge->fWinding); in removeNonBoundaryEdges()
156 bool filled = this->applyFillType(e->fWinding); in removeNonBoundaryEdges()
166 e->fWinding += prev->fWinding; in removeNonBoundaryEdges()
189 Vertex* prev = prevEdge->fWinding == 1 ? prevEdge->fTop : prevEdge->fBottom; in simplifyBoundary()
190 Vertex* next = e->fWinding == 1 ? e->fBottom : e->fTop; in simplifyBoundary()
209 join->fLine = join->fLine * join->fWinding; in simplifyBoundary()
298 return e->fWinding != 0 && e->fWinding != 1; in is_overlap_edge()
300 return e->fWinding != 0 && e->fWinding != -2; in is_overlap_edge()
328 (!prev || prev->fWinding == 0 || e->fWinding == 0); in collapseOverlapRegions()
330 e->fWinding -= prev->fWinding; in collapseOverlapRegions()
[all …]
DGrTriangulator.cpp222 SkASSERT(monotonePoly->fWinding != 0); in emitMonotonePoly()
245 return this->emitTriangle(prev, curr, next, monotonePoly->fWinding, data); in emitMonotonePoly()
252 data = this->emitTriangle(prev, curr, next, monotonePoly->fWinding, data); in emitMonotonePoly()
286 , fWinding(winding) in Poly()
318 fHead = fTail = alloc->make<MonotonePoly>(e, side, fWinding); in addEdge()
333 MonotonePoly* m = alloc->make<MonotonePoly>(e, side, fWinding); in addEdge()
524 return poly && apply_fill_type(fillType, poly->fWinding); in apply_fill_type()
687 edge->fWinding); in setTop()
701 edge->fWinding); in setBottom()
717 other->fWinding += edge->fWinding; in mergeEdgesAbove()
[all …]
DGrTriangulator.h377 : fWinding(winding) in Edge()
397 int fWinding; // 1 == edge goes downward; -1 = edge goes upward. member
455 , fWinding(winding) { in MonotonePoly()
463 int fWinding; member
473 int fWinding; member
/external/skia/src/core/
DSkEdgeBuilder.cpp23 if (edge->fWinding == last->fWinding) { in combineVertical()
44 last->fWinding = edge->fWinding; in combineVertical()
54 last->fWinding = edge->fWinding; in combineVertical()
69 if (edge->fWinding == last->fWinding) { in combineVertical()
93 last->fWinding = edge->fWinding; in combineVertical()
104 last->fWinding = edge->fWinding; in combineVertical()
DSkAnalyticEdge.cpp274 fWinding = SkToS8(winding); in setLine()
287 SkASSERT(fWinding == 1 || fWinding == -1); in updateLine()
296 fWinding = -fWinding; in updateLine()
354 fWinding = fQEdge.fWinding; in setQuadratic()
446 fWinding = fCEdge.fWinding; in setCubic()
DSkEdge.h38 int8_t fWinding; // 1 or -1 member
53 …d lastY:%d x:%g dx:%g w:%d\n", fFirstY, fLastY, SkFixedToFloat(fX), SkFixedToFloat(fDX), fWinding); in dump()
62 SkASSERT(SkAbs32(fWinding) == 1); in validate()
133 fWinding = SkToS8(winding); in setLine()
DSkAnalyticEdge.h47 int8_t fWinding; // 1 or -1 member
93 SkFixedToFloat(fDX), fWinding); in dump()
102 SkASSERT(SkAbs32(fWinding) == 1); in validate()
DSkEdge.cpp84 fWinding = SkToS8(winding); in setLine()
96 SkASSERT(fWinding == 1 || fWinding == -1); in updateLine()
237 fWinding = SkToS8(winding); in setQuadraticWithoutUpdate()
422 fWinding = SkToS8(winding); in setCubicWithoutUpdate()
DSkScan_Path.cpp129 w += currE->fWinding; in walk_edges()
DSkScan_AAAPath.cpp1640 w += currE->fWinding; in aaa_walk_edges()
/external/skqp/src/core/
DSkEdgeBuilder.cpp23 if (edge->fWinding == last->fWinding) { in combineVertical()
44 last->fWinding = edge->fWinding; in combineVertical()
54 last->fWinding = edge->fWinding; in combineVertical()
69 if (edge->fWinding == last->fWinding) { in combineVertical()
93 last->fWinding = edge->fWinding; in combineVertical()
104 last->fWinding = edge->fWinding; in combineVertical()
DSkAnalyticEdge.cpp274 fWinding = SkToS8(winding); in setLine()
287 SkASSERT(fWinding == 1 || fWinding == -1); in updateLine()
296 fWinding = -fWinding; in updateLine()
354 fWinding = fQEdge.fWinding; in setQuadratic()
446 fWinding = fCEdge.fWinding; in setCubic()
DSkEdge.h38 int8_t fWinding; // 1 or -1 member
53 …d lastY:%d x:%g dx:%g w:%d\n", fFirstY, fLastY, SkFixedToFloat(fX), SkFixedToFloat(fDX), fWinding); in dump()
62 SkASSERT(SkAbs32(fWinding) == 1); in validate()
133 fWinding = SkToS8(winding); in setLine()
DSkAnalyticEdge.h47 int8_t fWinding; // 1 or -1 member
93 SkFixedToFloat(fDX), fWinding); in dump()
102 SkASSERT(SkAbs32(fWinding) == 1); in validate()
DSkEdge.cpp84 fWinding = SkToS8(winding); in setLine()
96 SkASSERT(fWinding == 1 || fWinding == -1); in updateLine()
237 fWinding = SkToS8(winding); in setQuadraticWithoutUpdate()
422 fWinding = SkToS8(winding); in setCubicWithoutUpdate()
DSkScan_DAAPath.cpp87 int sign = edge->fWinding == 1 ? 1 : -1; in add_coverage_delta_segment()
243 originalWinding = currE->fWinding; in gen_alpha_deltas()
250 originalWinding = static_cast<SkAnalyticQuadraticEdge*>(currE)->fQEdge.fWinding; in gen_alpha_deltas()
258 originalWinding = static_cast<SkAnalyticCubicEdge*>(currE)->fCEdge.fWinding; in gen_alpha_deltas()
323 } while ((currE->fWinding = originalWinding) && currE->update(currE->fLowerY, sortY)); in gen_alpha_deltas()
DSkScan_Path.cpp130 w += currE->fWinding; in walk_edges()
DSkScan_AAAPath.cpp1457 w += currE->fWinding; in aaa_walk_edges()
/external/skqp/src/gpu/
DGrTessellator.cpp343 : fWinding(winding) in Edge()
365 int fWinding; // 1 == edge goes downward; -1 = edge goes upward. member
506 , fWinding(winding) in Poly()
647 int fWinding; member
822 return poly && apply_fill_type(fillType, poly->fWinding); in apply_fill_type()
1005 other->fWinding += edge->fWinding; in merge_edges_above()
1010 other->fWinding += edge->fWinding; in merge_edges_above()
1014 edge->fWinding += other->fWinding; in merge_edges_above()
1026 other->fWinding += edge->fWinding; in merge_edges_below()
1031 edge->fWinding += other->fWinding; in merge_edges_below()
[all …]
DGrTessellator.h39 int fWinding; member
/external/skqp/src/gpu/ccpr/
DGrCCFiller.cpp179 int tessWinding = vertices[i].fWinding; in tessellateFan()
180 SkASSERT(tessWinding == vertices[i + 1].fWinding); in tessellateFan()
181 SkASSERT(tessWinding == vertices[i + 2].fWinding); in tessellateFan()
274 if (1 == abs(vertices[i].fWinding)) { in emit_tessellated_fan()
280 static_cast<float>(abs(vertices[i].fWinding))); in emit_tessellated_fan()