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

Per-frame diagnostics captured during GL replay. More...

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

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

Public Attributes

std::uint64_t frameIndex = 0
 Repro frame index.
CanvasFreshness canvasFreshness = CanvasFreshness::Current
 Canvas freshness classification used by the layer inspector.
std::string statusSuffix
 Status suffix rendered beside document canvas diagnostics.
Vector2i viewportDesiredCanvas = Vector2i::Zero()
 Canvas size implied by the current viewport.
Vector2i documentCanvas = Vector2i::Zero()
 Canvas size committed to the document path used by the editor shell.
Vector2i compositorCanvas = Vector2i::Zero()
 Canvas size last rasterized by the compositor.
int metadataOnlyMissCount = 0
 Metadata-only composited tiles skipped during the last upload.
int duplicateLiveTextureCount = 0
 Duplicate live texture handles found across different tile ids.
Vector2i overlayDimsPx = Vector2i::Zero()
 Overlay texture dimensions in pixels.
std::uint64_t overlayTextureHandle = 0
 Backend overlay texture/view handle, represented as an integer for diagnostics.
PresentationResourceStats presentationResources
 Presentation-cache resource counters captured after the frame.
FrameCostBreakdown frameCost
 Latest editor rendering cost counters.
GlRnrReplayWorkerScheduling replayWorkerScheduling = GlRnrReplayWorkerScheduling::Realtime
 Replay worker scheduling mode used for this frame.
int replayWorkerRenderDelayMsForTesting = 0
 Replay-only worker render delay in milliseconds.
int replayHoldFramesBehind = 0
 Configured number of frame polls to hold each completed worker result.
std::uint64_t replayResultHoldPollsThisFrame = 0
 Number of completed worker results intentionally withheld during this frame.
bool replayResultWithheld = false
 True when replay scheduling intentionally withheld a completed worker result this frame.
std::vector< GlRnrReplayTileDiagnosticstiles
 Paint-order texture state currently visible to the presenter.

Detailed Description

Per-frame diagnostics captured during GL replay.

Member Data Documentation

◆ canvasFreshness

CanvasFreshness donner::editor::repro::GlRnrReplayFrameDiagnostics::canvasFreshness = CanvasFreshness::Current

Canvas freshness classification used by the layer inspector.

◆ compositorCanvas

Vector2i donner::editor::repro::GlRnrReplayFrameDiagnostics::compositorCanvas = Vector2i::Zero()

Canvas size last rasterized by the compositor.

◆ documentCanvas

Vector2i donner::editor::repro::GlRnrReplayFrameDiagnostics::documentCanvas = Vector2i::Zero()

Canvas size committed to the document path used by the editor shell.

◆ duplicateLiveTextureCount

int donner::editor::repro::GlRnrReplayFrameDiagnostics::duplicateLiveTextureCount = 0

Duplicate live texture handles found across different tile ids.

◆ frameCost

FrameCostBreakdown donner::editor::repro::GlRnrReplayFrameDiagnostics::frameCost

Latest editor rendering cost counters.

◆ frameIndex

std::uint64_t donner::editor::repro::GlRnrReplayFrameDiagnostics::frameIndex = 0

Repro frame index.

◆ metadataOnlyMissCount

int donner::editor::repro::GlRnrReplayFrameDiagnostics::metadataOnlyMissCount = 0

Metadata-only composited tiles skipped during the last upload.

◆ overlayDimsPx

Vector2i donner::editor::repro::GlRnrReplayFrameDiagnostics::overlayDimsPx = Vector2i::Zero()

Overlay texture dimensions in pixels.

◆ overlayTextureHandle

std::uint64_t donner::editor::repro::GlRnrReplayFrameDiagnostics::overlayTextureHandle = 0

Backend overlay texture/view handle, represented as an integer for diagnostics.

◆ presentationResources

PresentationResourceStats donner::editor::repro::GlRnrReplayFrameDiagnostics::presentationResources

Presentation-cache resource counters captured after the frame.

◆ replayHoldFramesBehind

int donner::editor::repro::GlRnrReplayFrameDiagnostics::replayHoldFramesBehind = 0

Configured number of frame polls to hold each completed worker result.

◆ replayResultHoldPollsThisFrame

std::uint64_t donner::editor::repro::GlRnrReplayFrameDiagnostics::replayResultHoldPollsThisFrame = 0

Number of completed worker results intentionally withheld during this frame.

◆ replayResultWithheld

bool donner::editor::repro::GlRnrReplayFrameDiagnostics::replayResultWithheld = false

True when replay scheduling intentionally withheld a completed worker result this frame.

◆ replayWorkerRenderDelayMsForTesting

int donner::editor::repro::GlRnrReplayFrameDiagnostics::replayWorkerRenderDelayMsForTesting = 0

Replay-only worker render delay in milliseconds.

◆ replayWorkerScheduling

GlRnrReplayWorkerScheduling donner::editor::repro::GlRnrReplayFrameDiagnostics::replayWorkerScheduling = GlRnrReplayWorkerScheduling::Realtime

Replay worker scheduling mode used for this frame.

◆ statusSuffix

std::string donner::editor::repro::GlRnrReplayFrameDiagnostics::statusSuffix

Status suffix rendered beside document canvas diagnostics.

◆ tiles

std::vector<GlRnrReplayTileDiagnostics> donner::editor::repro::GlRnrReplayFrameDiagnostics::tiles

Paint-order texture state currently visible to the presenter.

◆ viewportDesiredCanvas

Vector2i donner::editor::repro::GlRnrReplayFrameDiagnostics::viewportDesiredCanvas = Vector2i::Zero()

Canvas size implied by the current viewport.


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