Definition at line 89 of file TessellateBench.cpp.
◆ PathTessellateBenchmark()
skgpu::ganesh::PathTessellateBenchmark::PathTessellateBenchmark |
( |
const char * |
subName, |
|
|
const SkPath & |
p, |
|
|
const SkMatrix & |
m |
|
) |
| |
|
inline |
Definition at line 91 of file TessellateBench.cpp.
94 }
void printf(const char format[],...) SK_PRINTF_LIKE(2
◆ isSuitableFor()
bool skgpu::ganesh::PathTessellateBenchmark::isSuitableFor |
( |
Backend |
backend | ) |
|
|
inlinefinalvirtual |
◆ onDelayedSetup()
void skgpu::ganesh::PathTessellateBenchmark::onDelayedSetup |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from Benchmark.
Definition at line 100 of file TessellateBench.cpp.
100 {
102 }
std::unique_ptr< GrMockOpTarget > fTarget
static sk_sp< GrDirectContext > make_mock_context()
◆ onDraw()
void skgpu::ganesh::PathTessellateBenchmark::onDraw |
( |
int |
loops, |
|
|
SkCanvas * |
|
|
) |
| |
|
inlinefinalprotectedvirtual |
Implements Benchmark.
Definition at line 104 of file TessellateBench.cpp.
104 {
106 SkDebugf(
"ERROR: could not create mock context.");
107 return;
108 }
109 for (
int i = 0;
i < loops; ++
i) {
112 }
113 }
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
virtual void runBench()=0
◆ onGetName()
const char * skgpu::ganesh::PathTessellateBenchmark::onGetName |
( |
| ) |
|
|
inlineoverridevirtual |
◆ runBench()
virtual void skgpu::ganesh::PathTessellateBenchmark::runBench |
( |
| ) |
|
|
protectedpure virtual |
◆ fMatrix
const SkMatrix skgpu::ganesh::PathTessellateBenchmark::fMatrix |
|
protected |
◆ fName
SkString skgpu::ganesh::PathTessellateBenchmark::fName |
|
protected |
◆ fPath
const SkPath skgpu::ganesh::PathTessellateBenchmark::fPath |
|
protected |
◆ fTarget
std::unique_ptr<GrMockOpTarget> skgpu::ganesh::PathTessellateBenchmark::fTarget |
|
protected |
The documentation for this class was generated from the following file: