Flutter Engine
The Flutter Engine
Classes | Functions | Variables
TriangulatorBench.cpp File Reference
#include "bench/Benchmark.h"
#include "include/core/SkPath.h"
#include "src/base/SkArenaAlloc.h"
#include "src/gpu/ganesh/GrEagerVertexAllocator.h"
#include "src/gpu/ganesh/geometry/GrInnerFanTriangulator.h"
#include "src/gpu/ganesh/geometry/GrTriangulator.h"
#include <vector>

Go to the source code of this file.

Classes

struct  TigerPath
 
class  TriangulatorBenchmark
 
class  PathToTrianglesBench
 
class  TriangulateInnerFanBench
 

Functions

 DEF_BENCH (return new PathToTrianglesBench();)
 
 DEF_BENCH (return new TriangulateInnerFanBench();)
 

Variables

TigerPath kTigerPaths []
 
int kNumTigerPaths = (int)std::size(kTigerPaths)
 
constexpr float kTigerTolerance = 0.728769f
 

Function Documentation

◆ DEF_BENCH() [1/2]

DEF_BENCH ( return new PathToTrianglesBench();  )

◆ DEF_BENCH() [2/2]

DEF_BENCH ( return new TriangulateInnerFanBench();  )

Variable Documentation

◆ kNumTigerPaths

int kNumTigerPaths = (int)std::size(kTigerPaths)

Definition at line 587 of file TriangulatorBench.cpp.

◆ kTigerPaths

TigerPath kTigerPaths

Definition at line 149 of file TriangulatorBench.cpp.

◆ kTigerTolerance

constexpr float kTigerTolerance = 0.728769f
constexpr

Definition at line 28 of file TriangulatorBench.cpp.