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::GlRnrReplayResult Struct Reference

Result of a GL replay run. More...

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

Public Attributes

std::vector< GlRnrReplayCapturecaptures
 Captures written during replay.
std::vector< GlRnrReplayFrameDiagnosticsframeDiagnostics
 Per-frame diagnostics gathered after each editor frame runs.
std::optional< std::string > finalSelectedElementLabel
 Selection label after the last replayed frame.
std::optional< std::string > finalDocumentSource
 Document source after the last replayed frame, for asserting that gesture writebacks durably reached the DOM + source (nullopt when no document was loaded).
bool glUnavailable = false
 True when replay could not run because the host provides no usable GL context (a headless / GPU-less environment with no software-GL fallback, e.g. GitHub-hosted macOS). Callers should treat this as "skip" rather than "fail": it reflects a missing environment capability, not a code defect.

Detailed Description

Result of a GL replay run.

Member Data Documentation

◆ captures

std::vector<GlRnrReplayCapture> donner::editor::repro::GlRnrReplayResult::captures

Captures written during replay.

◆ finalDocumentSource

std::optional<std::string> donner::editor::repro::GlRnrReplayResult::finalDocumentSource

Document source after the last replayed frame, for asserting that gesture writebacks durably reached the DOM + source (nullopt when no document was loaded).

◆ finalSelectedElementLabel

std::optional<std::string> donner::editor::repro::GlRnrReplayResult::finalSelectedElementLabel

Selection label after the last replayed frame.

◆ frameDiagnostics

std::vector<GlRnrReplayFrameDiagnostics> donner::editor::repro::GlRnrReplayResult::frameDiagnostics

Per-frame diagnostics gathered after each editor frame runs.

◆ glUnavailable

bool donner::editor::repro::GlRnrReplayResult::glUnavailable = false

True when replay could not run because the host provides no usable GL context (a headless / GPU-less environment with no software-GL fallback, e.g. GitHub-hosted macOS). Callers should treat this as "skip" rather than "fail": it reflects a missing environment capability, not a code defect.


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