Flutter Engine
The Flutter Engine
|
#include "src/gpu/ganesh/geometry/GrAATriangulator.h"
#include "include/core/SkPathTypes.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkMath.h"
#include "src/gpu/BufferWriter.h"
#include "src/gpu/ganesh/GrEagerVertexAllocator.h"
#include <cstddef>
#include <queue>
#include <unordered_map>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
struct | SSVertex |
struct | GrAATriangulator::SSEdge |
struct | GrAATriangulator::EventList |
Macros | |
#define | TESS_LOG(...) |
#define | DUMP_MESH(MESH) |
Typedefs | |
using | EdgeType = GrTriangulator::EdgeType |
using | Vertex = GrTriangulator::Vertex |
using | VertexList = GrTriangulator::VertexList |
using | Line = GrTriangulator::Line |
using | Edge = GrTriangulator::Edge |
using | EdgeList = GrTriangulator::EdgeList |
using | Poly = GrTriangulator::Poly |
using | Comparator = GrTriangulator::Comparator |
using | SSEdge = GrAATriangulator::SSEdge |
using | EventList = GrAATriangulator::EventList |
using | Event = GrAATriangulator::Event |
using | EventComparator = GrAATriangulator::EventComparator |
typedef std::unordered_map< Vertex *, SSVertex * > | SSVertexMap |
typedef std::vector< SSEdge * > | SSEdgeList |
typedef std::priority_queue< Event *, std::vector< Event * >, EventComparator > | EventPQ |
Functions | |
static void | dump_skel (const SSEdgeList &ssEdges) |
static void | get_edge_normal (const Edge *e, SkVector *normal) |
static bool | is_overlap_edge (Edge *e) |
static bool | inversion (Vertex *prev, Vertex *next, Edge *origEdge, const Comparator &c) |
Variables | |
static constexpr float | kCosMiterAngle = 0.97f |
#define DUMP_MESH | ( | MESH | ) |
Definition at line 28 of file GrAATriangulator.cpp.
#define TESS_LOG | ( | ... | ) |
Definition at line 27 of file GrAATriangulator.cpp.
using Comparator = GrTriangulator::Comparator |
Definition at line 40 of file GrAATriangulator.cpp.
using Edge = GrTriangulator::Edge |
Definition at line 37 of file GrAATriangulator.cpp.
using EdgeList = GrTriangulator::EdgeList |
Definition at line 38 of file GrAATriangulator.cpp.
using EdgeType = GrTriangulator::EdgeType |
Definition at line 33 of file GrAATriangulator.cpp.
using Event = GrAATriangulator::Event |
Definition at line 43 of file GrAATriangulator.cpp.
Definition at line 44 of file GrAATriangulator.cpp.
using EventList = GrAATriangulator::EventList |
Definition at line 42 of file GrAATriangulator.cpp.
typedef std::priority_queue<Event*, std::vector<Event*>, EventComparator> EventPQ |
Definition at line 65 of file GrAATriangulator.cpp.
using Line = GrTriangulator::Line |
Definition at line 36 of file GrAATriangulator.cpp.
using Poly = GrTriangulator::Poly |
Definition at line 39 of file GrAATriangulator.cpp.
using SSEdge = GrAATriangulator::SSEdge |
Definition at line 41 of file GrAATriangulator.cpp.
typedef std::vector<SSEdge*> SSEdgeList |
Definition at line 64 of file GrAATriangulator.cpp.
typedef std::unordered_map<Vertex*, SSVertex*> SSVertexMap |
Definition at line 63 of file GrAATriangulator.cpp.
using Vertex = GrTriangulator::Vertex |
Definition at line 34 of file GrAATriangulator.cpp.
using VertexList = GrTriangulator::VertexList |
Definition at line 35 of file GrAATriangulator.cpp.
|
static |
Definition at line 131 of file GrAATriangulator.cpp.
Definition at line 183 of file GrAATriangulator.cpp.
|
static |
Definition at line 406 of file GrAATriangulator.cpp.
|
static |
Definition at line 304 of file GrAATriangulator.cpp.
|
staticconstexpr |
Definition at line 31 of file GrAATriangulator.cpp.