Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/geometry/
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.cpp314 SkASSERT(monotonePoly->fWinding != 0); in emitMonotonePoly()
337 return this->emitTriangle(prev, curr, next, monotonePoly->fWinding, data); in emitMonotonePoly()
344 data = this->emitTriangle(prev, curr, next, monotonePoly->fWinding, data); in emitMonotonePoly()
378 , fWinding(winding) in Poly()
410 fHead = fTail = alloc->make<MonotonePoly>(e, side, fWinding); in addEdge()
425 MonotonePoly* m = alloc->make<MonotonePoly>(e, side, fWinding); in addEdge()
616 return poly && apply_fill_type(fillType, poly->fWinding); in apply_fill_type()
779 edge->fWinding); in setTop()
793 edge->fWinding); in setBottom()
809 other->fWinding += edge->fWinding; in mergeEdgesAbove()
[all …]
DGrTriangulator.h380 : fWinding(winding) in Edge()
400 int fWinding; // 1 == edge goes downward; -1 = edge goes upward. member
464 , fWinding(winding) { in MonotonePoly()
472 int fWinding; member
482 int fWinding; member
/third_party/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.cpp1647 w += currE->fWinding; in aaa_walk_edges()
/third_party/flutter/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.cpp130 w += currE->fWinding; in walk_edges()
DSkScan_AAAPath.cpp1643 w += currE->fWinding; in aaa_walk_edges()
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp344 : fWinding(winding) in Edge()
364 int fWinding; // 1 == edge goes downward; -1 = edge goes upward. member
563 , fWinding(winding) in Poly()
704 int fWinding; member
879 return poly && apply_fill_type(fillType, poly->fWinding); in apply_fill_type()
1025 other->fWinding += edge->fWinding; in merge_edges_above()
1030 other->fWinding += edge->fWinding; in merge_edges_above()
1034 edge->fWinding += other->fWinding; in merge_edges_above()
1046 other->fWinding += edge->fWinding; in merge_edges_below()
1051 edge->fWinding += other->fWinding; in merge_edges_below()
[all …]
DGrTessellator.h39 int fWinding; member
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCFiller.cpp190 int tessWinding = vertices[i].fWinding; in tessellateFan()
191 SkASSERT(tessWinding == vertices[i + 1].fWinding); in tessellateFan()
192 SkASSERT(tessWinding == vertices[i + 2].fWinding); in tessellateFan()
289 int weight = abs(vertices[i].fWinding); in emitTessellatedFan()
294 static_cast<float>(abs(vertices[i].fWinding))); in emitTessellatedFan()