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

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

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

Public Attributes

std::string id
 Stable texture-cache tile id.
RenderResult::CompositedTile::Kind kind = RenderResult::CompositedTile::Kind::Segment
 Segment/layer tile kind.
std::uint64_t generation = 0
 Raster payload generation.
Vector2i bitmapDimsPx = Vector2i::Zero()
 Texture dimensions in pixels.
Vector2i rasterCanvasSize = Vector2i::Zero()
 Raster canvas size that produced the texture payload.
Vector2d canvasOffsetDoc = Vector2d::Zero()
 Tile origin in document/canvas coordinates.
Vector2d bitmapDimsDoc = Vector2d::Zero()
 Tile dimensions in document/canvas units.
Vector2d dragTranslationDoc = Vector2d::Zero()
 Drag translation represented by the presented tile.
Vector2d presentedDragTranslationDoc = Vector2d::Zero()
 Effective drag translation used by the render-pane presenter this frame.
Transform2d documentFromCachedDocument = Transform2d()
 Affine transform represented by the presented tile.
Transform2d presentedDocumentFromCachedDocument = Transform2d()
 Effective affine transform used by the render-pane presenter this frame.
std::uint64_t textureHandle = 0
 Backend texture/view handle, represented as an integer for diagnostics.
int textureGreenPixels = 0
 Number of green pixels found in an explicitly collected retained-texture readback.
int textureNonTransparentPixels = 0
 Number of nontransparent pixels found in an explicitly collected retained-texture readback.
bool hasTextureSnapshot = false
 True when a renderer texture snapshot was available for pixel diagnostics.
bool metadataOnly = false
 True when the tile reused an existing texture with metadata-only geometry.
bool isDragTarget = false
 True when this tile represents the active drag target.

Detailed Description

Per-frame texture tile diagnostics captured during GL replay.

Member Data Documentation

◆ bitmapDimsDoc

Vector2d donner::editor::repro::GlRnrReplayTileDiagnostics::bitmapDimsDoc = Vector2d::Zero()

Tile dimensions in document/canvas units.

◆ bitmapDimsPx

Vector2i donner::editor::repro::GlRnrReplayTileDiagnostics::bitmapDimsPx = Vector2i::Zero()

Texture dimensions in pixels.

◆ canvasOffsetDoc

Vector2d donner::editor::repro::GlRnrReplayTileDiagnostics::canvasOffsetDoc = Vector2d::Zero()

Tile origin in document/canvas coordinates.

◆ documentFromCachedDocument

Transform2d donner::editor::repro::GlRnrReplayTileDiagnostics::documentFromCachedDocument = Transform2d()

Affine transform represented by the presented tile.

◆ dragTranslationDoc

Vector2d donner::editor::repro::GlRnrReplayTileDiagnostics::dragTranslationDoc = Vector2d::Zero()

Drag translation represented by the presented tile.

◆ generation

std::uint64_t donner::editor::repro::GlRnrReplayTileDiagnostics::generation = 0

Raster payload generation.

◆ hasTextureSnapshot

bool donner::editor::repro::GlRnrReplayTileDiagnostics::hasTextureSnapshot = false

True when a renderer texture snapshot was available for pixel diagnostics.

◆ id

std::string donner::editor::repro::GlRnrReplayTileDiagnostics::id

Stable texture-cache tile id.

◆ isDragTarget

bool donner::editor::repro::GlRnrReplayTileDiagnostics::isDragTarget = false

True when this tile represents the active drag target.

◆ kind

RenderResult::CompositedTile::Kind donner::editor::repro::GlRnrReplayTileDiagnostics::kind = RenderResult::CompositedTile::Kind::Segment

Segment/layer tile kind.

◆ metadataOnly

bool donner::editor::repro::GlRnrReplayTileDiagnostics::metadataOnly = false

True when the tile reused an existing texture with metadata-only geometry.

◆ presentedDocumentFromCachedDocument

Transform2d donner::editor::repro::GlRnrReplayTileDiagnostics::presentedDocumentFromCachedDocument = Transform2d()

Effective affine transform used by the render-pane presenter this frame.

◆ presentedDragTranslationDoc

Vector2d donner::editor::repro::GlRnrReplayTileDiagnostics::presentedDragTranslationDoc = Vector2d::Zero()

Effective drag translation used by the render-pane presenter this frame.

◆ rasterCanvasSize

Vector2i donner::editor::repro::GlRnrReplayTileDiagnostics::rasterCanvasSize = Vector2i::Zero()

Raster canvas size that produced the texture payload.

◆ textureGreenPixels

int donner::editor::repro::GlRnrReplayTileDiagnostics::textureGreenPixels = 0

Number of green pixels found in an explicitly collected retained-texture readback.

◆ textureHandle

std::uint64_t donner::editor::repro::GlRnrReplayTileDiagnostics::textureHandle = 0

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

◆ textureNonTransparentPixels

int donner::editor::repro::GlRnrReplayTileDiagnostics::textureNonTransparentPixels = 0

Number of nontransparent pixels found in an explicitly collected retained-texture readback.


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