#include <BoundsManager.h>
Definition at line 74 of file BoundsManager.h.
◆ ~BruteForceBoundsManager()
skgpu::graphite::BruteForceBoundsManager::~BruteForceBoundsManager |
( |
| ) |
|
|
inlineoverride |
◆ count()
int skgpu::graphite::BruteForceBoundsManager::count |
( |
| ) |
const |
|
inline |
◆ getMostRecentDraw()
Implements skgpu::graphite::BoundsManager.
Definition at line 78 of file BoundsManager.h.
78 {
79 SkASSERT(fRects.count() == fOrders.count());
80
81 Rect::ComplementRect boundsComplement(
bounds);
83 auto orderIter = fOrders.items().begin();
84 for (
const Rect& r : fRects.items()) {
85 if (r.intersects(boundsComplement) &&
max < *orderIter) {
87 }
88 ++orderIter;
89 }
91 }
static constexpr MonotonicValue First()
static float max(float r, float g, float b)
Optional< SkRect > bounds
MonotonicValue< CompressedPaintersOrderSequence > CompressedPaintersOrder
◆ recordDraw()
◆ replayDraws()
void skgpu::graphite::BruteForceBoundsManager::replayDraws |
( |
BoundsManager * |
manager | ) |
const |
|
inline |
Definition at line 105 of file BoundsManager.h.
105 {
106 auto orderIter = fOrders.items().begin();
107 for (
const Rect& r : fRects.items()) {
108 manager->recordDraw(r, *orderIter);
109 ++orderIter;
110 }
111 }
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
◆ reset()
void skgpu::graphite::BruteForceBoundsManager::reset |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: