Owns accepted presentation resources and the intent retained across drag release. More...
#include <cmath>#include <cstdint>#include <limits>#include <memory>#include <optional>#include <ostream>#include <variant>#include <vector>#include "donner/base/MathUtils.h"#include "donner/editor/GlTextureCache.h"#include "donner/editor/SelectTool.h"Classes | |
| class | donner::editor::CompositedPresentation |
| Accepted composited presentation resources, plus the released drag intent retained until a render that represents it is accepted. More... | |
| struct | donner::editor::CompositedPresentation::DiagnosticsSnapshot |
| Detached metadata for scheduler, replay and inspector diagnostics. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| std::ostream & | donner::editor::operator<< (std::ostream &os, CompositedPresentation::Phase phase) |
| Ostream output operator, e.g. SettlingForRender. | |
Owns accepted presentation resources and the intent retained across drag release.
| struct donner::editor::CompositedPresentation::DiagnosticsSnapshot |
Detached metadata for scheduler, replay and inspector diagnostics.
| Class Members | ||
|---|---|---|
| Vector2i | cachedCanvasSize = Vector2i::Zero() | Canvas dimensions of the retained cache, in pixels. |
| Entity | cachedEntity = entt::null | Entity associated with the retained presentation cache. |
| uint64_t | cachedVersion = 0 | Document frame version represented by the retained cache. |
| bool | hasCachedTextures = false | Whether a presentation texture cache is available. |
| Phase | phase = Phase::NoCache | Current cached-presentation lifecycle phase. |
| optional< ActiveDragPreview > | settlingPreview | Drag transform retained while the final raster result is pending. |
| uint64_t | settlingTargetVersion = 0 | Document frame version needed to finish drag settling. |
| bool | waitingForFullRender = false | Whether presentation is waiting for the final complete render. |
|
inline |
Ostream output operator, e.g. SettlingForRender.
| os | Output stream. |
| phase | Value to output. |