Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::editor::repro::GlRnrReplayOptions Struct Reference

Options for replaying an .rnr file through the real OpenGL editor shell. More...

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

Collaboration diagram for donner::editor::repro::GlRnrReplayOptions:
[legend]

Public Attributes

std::filesystem::path rnrPath
 Path to the .rnr recording.
std::optional< std::filesystem::path > svgPathOverride
 Optional SVG path override. When empty, the SVG path is resolved from the .rnr metadata.
std::filesystem::path outputDir = "/tmp"
 Directory where captured PNGs will be written.
std::set< std::uint64_t > captureFrames
 Explicit frame indices to capture.
std::optional< int > captureLeftMouseDownOrdinal
 Capture the frame containing the Nth left mouse-down.
std::optional< std::uint64_t > maxFrame
 Stop replay after this frame index.
GlRnrReplayCropMode cropMode = GlRnrReplayCropMode::Full
 Crop applied before writing captured PNGs.
bool pace = true
 Pace replay by recorded timestamps.
GlRnrReplayWorkerScheduling workerScheduling = GlRnrReplayWorkerScheduling::Realtime
 Replay-only worker scheduling control.
int holdFramesBehind = 0
 Number of frame polls to hold each completed worker result in HoldFramesBehind mode.
int workerRenderDelayMsForTesting = 0
 Replay-only fixed render delay injected into the async worker.
bool contentOnlyCapture = false
 Suppress non-document render-pane chrome when writing captures.
bool visible = false
 Show the native editor window while replaying.

Detailed Description

Options for replaying an .rnr file through the real OpenGL editor shell.

Member Data Documentation

◆ captureFrames

std::set<std::uint64_t> donner::editor::repro::GlRnrReplayOptions::captureFrames

Explicit frame indices to capture.

◆ captureLeftMouseDownOrdinal

std::optional<int> donner::editor::repro::GlRnrReplayOptions::captureLeftMouseDownOrdinal

Capture the frame containing the Nth left mouse-down.

◆ contentOnlyCapture

bool donner::editor::repro::GlRnrReplayOptions::contentOnlyCapture = false

Suppress non-document render-pane chrome when writing captures.

◆ cropMode

GlRnrReplayCropMode donner::editor::repro::GlRnrReplayOptions::cropMode = GlRnrReplayCropMode::Full

Crop applied before writing captured PNGs.

◆ holdFramesBehind

int donner::editor::repro::GlRnrReplayOptions::holdFramesBehind = 0

Number of frame polls to hold each completed worker result in HoldFramesBehind mode.

◆ maxFrame

std::optional<std::uint64_t> donner::editor::repro::GlRnrReplayOptions::maxFrame

Stop replay after this frame index.

◆ outputDir

std::filesystem::path donner::editor::repro::GlRnrReplayOptions::outputDir = "/tmp"

Directory where captured PNGs will be written.

◆ pace

bool donner::editor::repro::GlRnrReplayOptions::pace = true

Pace replay by recorded timestamps.

◆ rnrPath

std::filesystem::path donner::editor::repro::GlRnrReplayOptions::rnrPath

Path to the .rnr recording.

◆ svgPathOverride

std::optional<std::filesystem::path> donner::editor::repro::GlRnrReplayOptions::svgPathOverride

Optional SVG path override. When empty, the SVG path is resolved from the .rnr metadata.

◆ visible

bool donner::editor::repro::GlRnrReplayOptions::visible = false

Show the native editor window while replaying.

◆ workerRenderDelayMsForTesting

int donner::editor::repro::GlRnrReplayOptions::workerRenderDelayMsForTesting = 0

Replay-only fixed render delay injected into the async worker.

◆ workerScheduling

GlRnrReplayWorkerScheduling donner::editor::repro::GlRnrReplayOptions::workerScheduling = GlRnrReplayWorkerScheduling::Realtime

Replay-only worker scheduling control.


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