|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Attribution of one worker-to-UI handoff, in milliseconds. More...
#include "donner/editor/AsyncRenderer.h"
Public Attributes | |
| double | pollDelayMs = 0.0 |
| Total time from worker render completion until the UI thread accepted the result. | |
| double | wakeToPollMs = 0.0 |
| Portion spent waiting for the UI thread's next frame once the result was pollable. | |
Attribution of one worker-to-UI handoff, in milliseconds.
| double donner::editor::HandoffTimings::pollDelayMs = 0.0 |
Total time from worker render completion until the UI thread accepted the result.
| double donner::editor::HandoffTimings::wakeToPollMs = 0.0 |
Portion spent waiting for the UI thread's next frame once the result was pollable.
A result becomes pollable at render completion on every platform, so this equals pollDelayMs. It stays a separate field because it is the one with a meaning: "the UI thread had not run a frame yet". The browser used to insert a task-boundary hop between completion and pollability, and the split existed to tell that hop apart from this wait; The single-canvas replacement removed the hop along with the worker-surface presentation boundary.