Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::repro::ReplayExecutionResourceBudget Class Reference

Aggregate runtime budget for replay frames and semantic actions. More...

#include "donner/editor/repro/ReplayResourceBudget.h"

Public Member Functions

bool reserveFrame (std::size_t physicalPixels)
bool reserveAction (const ReplaySemanticActionCost &cost)
bool reserveInput (const ReplayInputFrameCost &cost)
std::size_t frames () const
std::size_t pixelFrames () const
std::size_t actions () const
std::size_t selectionMutations () const
std::size_t inputMutations () const
std::size_t weightedWorkBytes () const
bool rejected () const

Static Public Attributes

static constexpr std::size_t kMaximumPlaybackFrames = 1'024
static constexpr std::size_t kMaximumPixelFrames = 128 * 1024 * 1024
static constexpr std::size_t kMaximumActions = 4'096
static constexpr std::size_t kMaximumSelectionMutations = kMaximumReplaySelectionMutations
static constexpr std::size_t kMaximumInputMutations = 8'192
static constexpr std::size_t kMaximumWeightedWorkBytes = 128 * 1024 * 1024

Detailed Description

Aggregate runtime budget for replay frames and semantic actions.


The documentation for this class was generated from the following file: