Home
last modified time | relevance | path

Searched refs:polys (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/gpu/geometry/
DGrInnerFanTriangulator.h28 Poly* polys = this->pathToPolys(breadcrumbList, isLinear); in pathToTriangles() local
29 return this->polysToTriangles(polys, vertexAlloc, breadcrumbList); in pathToTriangles()
33 Poly* polys = this->GrTriangulator::pathToPolys(0, SkRect::MakeEmpty(), isLinear); in pathToPolys() local
35 return polys; in pathToPolys()
38 int polysToTriangles(Poly* polys, GrEagerVertexAllocator* vertexAlloc, in polysToTriangles() argument
40 int vertexCount = this->GrTriangulator::polysToTriangles(polys, vertexAlloc); in polysToTriangles()
DGrAATriangulator.h23 Poly* polys = aaTriangulator.pathToPolys(tolerance, clipBounds, &isLinear); in PathToAATriangles() local
24 return aaTriangulator.polysToAATriangles(polys, vertexAllocator); in PathToAATriangles()
DGrTriangulator.h37 Poly* polys = triangulator.pathToPolys(tolerance, clipBounds, isLinear); in PathToTriangles() local
38 int count = triangulator.polysToTriangles(polys, vertexAllocator); in PathToTriangles()
87 void* polysToTriangles(Poly* polys, void* data, SkPathFillType overrideFillType) const;
174 static int64_t CountPoints(Poly* polys, SkPathFillType overrideFillType);
DGrTriangulator.cpp1356 Poly* polys = nullptr; in tessellate() local
1423 leftPoly = this->makePoly(&polys, leftPoly->lastVertex(), in tessellate()
1427 rightPoly = this->makePoly(&polys, rightPoly->lastVertex(), in tessellate()
1447 Poly* poly = this->makePoly(&polys, v, winding); in tessellate()
1464 return polys; in tessellate()
1525 void* GrTriangulator::polysToTriangles(Poly* polys, void* data, in polysToTriangles() argument
1527 for (Poly* poly = polys; poly; poly = poly->fNext) { in polysToTriangles()
1585 int64_t GrTriangulator::CountPoints(Poly* polys, SkPathFillType overrideFillType) { in CountPoints() argument
1587 for (Poly* poly = polys; poly; poly = poly->fNext) { in CountPoints()
1597 int GrTriangulator::polysToTriangles(Poly* polys, GrEagerVertexAllocator* vertexAllocator) const { in polysToTriangles() argument
[all …]
DGrAATriangulator.cpp662 int GrAATriangulator::polysToAATriangles(Poly* polys, in polysToAATriangles() argument
664 int64_t count64 = CountPoints(polys, SkPathFillType::kWinding); in polysToAATriangles()
684 void* end = this->polysToTriangles(polys, verts, SkPathFillType::kWinding); in polysToAATriangles()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fClippingTests.cpp1598 const TriangleAttributeCase::TriangleData polys[] = in init() local
1616 …context, "multiple_0", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1617 …ltiple_0_viewport_center", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1618 …ltiple_0_viewport_corner", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1622 const TriangleAttributeCase::TriangleData polys[] = in init() local
1637 …context, "multiple_1", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1638 …ltiple_1_viewport_center", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1639 …ltiple_1_viewport_corner", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1643 const TriangleAttributeCase::TriangleData polys[] = in init() local
1658 …context, "multiple_2", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fClippingTests.cpp1594 const TriangleAttributeCase::TriangleData polys[] = in init() local
1612 …context, "multiple_0", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1613 …ltiple_0_viewport_center", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1614 …ltiple_0_viewport_corner", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1618 const TriangleAttributeCase::TriangleData polys[] = in init() local
1633 …context, "multiple_1", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1634 …ltiple_1_viewport_center", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1635 …ltiple_1_viewport_corner", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
1639 const TriangleAttributeCase::TriangleData polys[] = in init() local
1654 …context, "multiple_2", "polygon clipping", DE_ARRAY_BEGIN(polys), DE_ARRAY_END(polys), VIEW… in init()
[all …]
/third_party/skia/docs/examples/
DMatrix_TypeMask.cpp25 SkPoint polys[][4] = {{{0, 0}, {0, 1}, {1, 1}, {1, 0}}, {{0, 0}, {0, 1}, {2, 1}, {1, 0}}}; in draw() local
26 matrix.setPolyToPoly(polys[0], polys[1], 4); in draw()
/third_party/flutter/skia/docs/examples/
DMatrix_TypeMask.cpp25 SkPoint polys[][4] = {{{0, 0}, {0, 1}, {1, 1}, {1, 0}}, {{0, 0}, {0, 1}, {2, 1}, {1, 0}}}; in draw() local
26 matrix.setPolyToPoly(polys[0], polys[1], 4); in draw()
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp1587 Poly* polys = nullptr; in tessellate() local
1650 leftPoly = new_poly(&polys, leftPoly->lastVertex(), in tessellate()
1654 rightPoly = new_poly(&polys, rightPoly->lastVertex(), in tessellate()
1673 Poly* poly = new_poly(&polys, v, winding, alloc); in tessellate()
1688 return polys; in tessellate()
2251 void* polys_to_triangles(Poly* polys, SkPath::FillType fillType, bool emitCoverage, void* data) { in polys_to_triangles() argument
2252 for (Poly* poly = polys; poly; poly = poly->fNext) { in polys_to_triangles()
2283 int64_t count_points(Poly* polys, SkPath::FillType fillType) { in count_points() argument
2285 for (Poly* poly = polys; poly; poly = poly->fNext) { in count_points()
2332 Poly* polys = path_to_polys(path, tolerance, clipBounds, contourCnt, alloc, antialias, in PathToTriangles() local
[all …]