Definition at line 29 of file BoundsManagerBench.cpp.
◆ BoundsManagerBench()
skgpu::graphite::BoundsManagerBench::BoundsManagerBench |
( |
std::unique_ptr< BoundsManager > |
manager | ) |
|
|
inline |
Definition at line 31 of file BoundsManagerBench.cpp.
std::unique_ptr< BoundsManager > fManager
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font manager
◆ doBench()
void skgpu::graphite::BoundsManagerBench::doBench |
( |
| ) |
|
|
inlineprotected |
Definition at line 66 of file BoundsManagerBench.cpp.
66 {
71 fManager->recordDraw(drawBounds, order);
72 if (order > maxRead) {
73 maxRead = order;
74 }
75 }
76
79 }
CompressedPaintersOrder fMaxRead
static constexpr MonotonicValue First()
MonotonicValue< CompressedPaintersOrderSequence > CompressedPaintersOrder
◆ gatherRects()
virtual void skgpu::graphite::BoundsManagerBench::gatherRects |
( |
TArray< SkRect > * |
rects | ) |
|
|
protectedpure virtual |
◆ isSuitableFor()
bool skgpu::graphite::BoundsManagerBench::isSuitableFor |
( |
Backend |
backend | ) |
|
|
inlineoverrideprotectedvirtual |
◆ onDelayedSetup()
void skgpu::graphite::BoundsManagerBench::onDelayedSetup |
( |
| ) |
|
|
inlinefinalprotectedvirtual |
Reimplemented from Benchmark.
Definition at line 42 of file BoundsManagerBench.cpp.
42 {
45
50 }
51 }
T * makeArray(size_t count)
SkArenaAlloc fAlignedAllocator
virtual void gatherRects(TArray< SkRect > *rects)=0
◆ onDraw()
void skgpu::graphite::BoundsManagerBench::onDraw |
( |
int |
loops, |
|
|
SkCanvas * |
|
|
) |
| |
|
inlinefinalprotectedvirtual |
◆ onGetName()
const char * skgpu::graphite::BoundsManagerBench::onGetName |
( |
| ) |
|
|
inlinefinalprotectedvirtual |
◆ onPerCanvasPostDraw()
void skgpu::graphite::BoundsManagerBench::onPerCanvasPostDraw |
( |
SkCanvas * |
| ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from Benchmark.
Definition at line 59 of file BoundsManagerBench.cpp.
59 {
60#if PRINT_DRAWSET_COUNT
61 SkDebugf(
"%s >> grouped %d draws into %d sets <<\n",
63#endif
64 }
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
◆ fAlignedAllocator
SkArenaAlloc skgpu::graphite::BoundsManagerBench::fAlignedAllocator {0} |
|
protected |
◆ fManager
std::unique_ptr<BoundsManager> skgpu::graphite::BoundsManagerBench::fManager |
|
protected |
◆ fMaxRead
◆ fName
SkString skgpu::graphite::BoundsManagerBench::fName |
|
protected |
◆ fRectCount
int skgpu::graphite::BoundsManagerBench::fRectCount |
|
protected |
◆ fRects
Rect* skgpu::graphite::BoundsManagerBench::fRects |
|
protected |
The documentation for this class was generated from the following file: