Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
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.
int imguiVertexCount = 0
 Vertices ImGui emitted for this frame's draw data.

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.

◆ imguiVertexCount

int donner::editor::gui::EditorWindowFrameTiming::imguiVertexCount = 0

Vertices ImGui emitted for this frame's draw data.

The editor renders every vector path through Geode, so this must stay at UI-widget scale. Document-complexity geometry reaching ImGui shows up here as a jump of an order of magnitude or more.

◆ 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: