Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
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"

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 driveDocumentSpaceInput = false
 Drive canvas tool input from recorded document coordinates instead of GUI screen hit-testing.
bool contentOnlyCapture = false
 Suppress non-document render-pane chrome when writing captures.
bool collectTexturePixelStats = false
 Read retained GPU textures back to count diagnostic pixels. Expensive and disabled unless a diagnostics consumer explicitly requests it.
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.

◆ collectTexturePixelStats

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

Read retained GPU textures back to count diagnostic pixels. Expensive and disabled unless a diagnostics consumer explicitly requests it.

◆ 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.

◆ driveDocumentSpaceInput

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

Drive canvas tool input from recorded document coordinates instead of GUI screen hit-testing.

◆ 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: