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

Approximate resource footprint retained by the editor presentation texture cache. More...

#include "donner/editor/GlTextureCache.h"

Collaboration diagram for donner::editor::PresentationResourceStats:
[legend]

Public Attributes

std::uint64_t overlayBytes = 0
 Bytes retained by the current overlay texture.
std::uint64_t activeTileBytes = 0
 Bytes retained by active composited tile textures.
std::uint64_t overviewTileBytes = 0
 Bytes retained by the zoom-out overview tile textures.
std::uint64_t pendingRetiredBytes = 0
 Bytes queued for retirement at the next presentation-frame boundary.
std::uint64_t agedRetiredBytes = 0
 Bytes held alive for already-advanced retirement frames.
std::uint64_t totalTrackedBytes = 0
 Total bytes directly tracked by this presentation cache.
std::uint64_t peakTrackedBytes = 0
 Highest observed totalTrackedBytes for this cache instance.
int activeTileTextures = 0
 Number of active composited tile textures.
int overviewTileTextures = 0
 Number of overview tile textures.
int pendingRetiredTextures = 0
 Number of textures queued for retirement at the next frame boundary.
int agedRetiredTextures = 0
 Number of textures held in already-advanced retirement frames.
int retiredFrameCount = 0
 Number of retirement frames currently retained.
Vector2i largestAllocationPx = Vector2i::Zero()
 Largest tracked backing allocation in pixels.
std::uint64_t wgpuLifetimeTextureCreates = 0
 Process-lifetime WebGPU texture-create count from the shared Geode device.
std::uint64_t wgpuLifetimeBufferCreates = 0
 Process-lifetime WebGPU buffer-create count from the shared Geode device.

Detailed Description

Approximate resource footprint retained by the editor presentation texture cache.

Member Data Documentation

◆ activeTileBytes

std::uint64_t donner::editor::PresentationResourceStats::activeTileBytes = 0

Bytes retained by active composited tile textures.

◆ activeTileTextures

int donner::editor::PresentationResourceStats::activeTileTextures = 0

Number of active composited tile textures.

◆ agedRetiredBytes

std::uint64_t donner::editor::PresentationResourceStats::agedRetiredBytes = 0

Bytes held alive for already-advanced retirement frames.

◆ agedRetiredTextures

int donner::editor::PresentationResourceStats::agedRetiredTextures = 0

Number of textures held in already-advanced retirement frames.

◆ largestAllocationPx

Vector2i donner::editor::PresentationResourceStats::largestAllocationPx = Vector2i::Zero()

Largest tracked backing allocation in pixels.

◆ overlayBytes

std::uint64_t donner::editor::PresentationResourceStats::overlayBytes = 0

Bytes retained by the current overlay texture.

◆ overviewTileBytes

std::uint64_t donner::editor::PresentationResourceStats::overviewTileBytes = 0

Bytes retained by the zoom-out overview tile textures.

◆ overviewTileTextures

int donner::editor::PresentationResourceStats::overviewTileTextures = 0

Number of overview tile textures.

◆ peakTrackedBytes

std::uint64_t donner::editor::PresentationResourceStats::peakTrackedBytes = 0

Highest observed totalTrackedBytes for this cache instance.

◆ pendingRetiredBytes

std::uint64_t donner::editor::PresentationResourceStats::pendingRetiredBytes = 0

Bytes queued for retirement at the next presentation-frame boundary.

◆ pendingRetiredTextures

int donner::editor::PresentationResourceStats::pendingRetiredTextures = 0

Number of textures queued for retirement at the next frame boundary.

◆ retiredFrameCount

int donner::editor::PresentationResourceStats::retiredFrameCount = 0

Number of retirement frames currently retained.

◆ totalTrackedBytes

std::uint64_t donner::editor::PresentationResourceStats::totalTrackedBytes = 0

Total bytes directly tracked by this presentation cache.

◆ wgpuLifetimeBufferCreates

std::uint64_t donner::editor::PresentationResourceStats::wgpuLifetimeBufferCreates = 0

Process-lifetime WebGPU buffer-create count from the shared Geode device.

◆ wgpuLifetimeTextureCreates

std::uint64_t donner::editor::PresentationResourceStats::wgpuLifetimeTextureCreates = 0

Process-lifetime WebGPU texture-create count from the shared Geode device.


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