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::gui::EditorWindowFrameTiming Struct Reference

Host-frame timing captured by EditorWindow. More...

#include "donner/editor/gui/EditorWindow.h"

Public Attributes

double beginFrameMs = 0.0
 Time spent starting the current ImGui frame.
double endFrameMs = 0.0
 Total time spent ending and presenting the previous host frame.
double imguiRenderMs = 0.0
 End-frame time spent in ImGui::Render.
double surfaceAcquireMs = 0.0
 End-frame time spent acquiring the WGPU surface texture.
double underlayMs = 0.0
 End-frame time spent in the document underlay direct pass.
double imguiDrawMs = 0.0
 End-frame time spent issuing ImGui backend draw commands.
double directMs = 0.0
 End-frame time spent in the overlay/direct append pass.
double readbackMs = 0.0
 End-frame time spent reading the framebuffer back to the CPU.
double presentMs = 0.0
 End-frame time spent presenting or swapping the surface.

Detailed Description

Host-frame timing captured by EditorWindow.

Member Data Documentation

◆ beginFrameMs

double donner::editor::gui::EditorWindowFrameTiming::beginFrameMs = 0.0

Time spent starting the current ImGui frame.

◆ directMs

double donner::editor::gui::EditorWindowFrameTiming::directMs = 0.0

End-frame time spent in the overlay/direct append pass.

◆ endFrameMs

double donner::editor::gui::EditorWindowFrameTiming::endFrameMs = 0.0

Total time spent ending and presenting the previous host frame.

◆ imguiDrawMs

double donner::editor::gui::EditorWindowFrameTiming::imguiDrawMs = 0.0

End-frame time spent issuing ImGui backend draw commands.

◆ imguiRenderMs

double donner::editor::gui::EditorWindowFrameTiming::imguiRenderMs = 0.0

End-frame time spent in ImGui::Render.

◆ presentMs

double donner::editor::gui::EditorWindowFrameTiming::presentMs = 0.0

End-frame time spent presenting or swapping the surface.

◆ readbackMs

double donner::editor::gui::EditorWindowFrameTiming::readbackMs = 0.0

End-frame time spent reading the framebuffer back to the CPU.

◆ surfaceAcquireMs

double donner::editor::gui::EditorWindowFrameTiming::surfaceAcquireMs = 0.0

End-frame time spent acquiring the WGPU surface texture.

◆ underlayMs

double donner::editor::gui::EditorWindowFrameTiming::underlayMs = 0.0

End-frame time spent in the document underlay direct pass.


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