Per-frame work and allocation envelope for untrusted SMIL animation values.
More...
#include "donner/svg/components/animation/AnimationResourceBudget.h"
|
|
bool | reserveAnimation (std::size_t sourceBytes) |
|
bool | reserveOutput (std::size_t bytes) |
|
std::size_t | animations () const |
|
std::size_t | sourceBytes () const |
|
std::size_t | outputBytes () const |
|
bool | rejected () const |
|
|
static constexpr std::size_t | kMaximumAnimations = 4096 |
|
static constexpr std::size_t | kMaximumSourceBytes = 1024 * 1024 |
|
static constexpr std::size_t | kMaximumOutputBytes = 4 * 1024 * 1024 |
|
static constexpr std::size_t | kMaximumNumbersPerValue = 64 |
|
static constexpr std::size_t | kMaximumPathValueBytes = 64 * 1024 |
Per-frame work and allocation envelope for untrusted SMIL animation values.
The documentation for this class was generated from the following file: