Shared contextual preparation allowance; used only by serialized document preparation.
More...
#include "donner/svg/components/animation/AnimationResourceBudget.h"
|
|
std::size_t | remaining () const |
| | Remaining preparation work across this render operation's document occurrences.
|
|
void | reset () |
| | Reset only at the outer owner-frame boundary.
|
| bool | reserve (std::size_t work) |
| | Admit work before copying or normalization.
|
|
|
static constexpr std::size_t | kMaximumWork = 4 * 1024 * 1024 |
| | Total preparation work admitted between resets.
|
Shared contextual preparation allowance; used only by serialized document preparation.
◆ reserve()
| bool donner::svg::components::AnimationContextualWorkBudget::reserve |
( |
std::size_t | work | ) |
|
|
inline |
Admit work before copying or normalization.
- Parameters
-
| work | Conservative work cost. |
The documentation for this class was generated from the following file: