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
EditorShellPresentation.h File Reference

EditorShell's direct-to-framebuffer presentation seam: converting cached GL/WGPU tiles and the immediate overlay snapshot into presented pixels. On Geode/WGPU builds this draws the checkerboard, document tiles, and selection chrome straight onto the window framebuffer (no intermediate texture); the tile-geometry helpers are backend-neutral. More...

Include dependency graph for EditorShellPresentation.h:

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

PresentedFrameTileGeometry donner::editor::PresentedGeometryFromTileView (const GlTextureCache::TileView &tile, const std::optional< SelectTool::ActiveDragPreview > &activeDragPreview)
 Tile geometry as the presenter will draw it, folding an active drag preview into the tile's drag-target flag.
std::optional< PresentedDragBaselinedonner::editor::PresentedBaselineFromDragPreviews (const std::optional< SelectTool::ActiveDragPreview > &activePreview, const std::optional< SelectTool::ActiveDragPreview > &displayedPreview)
 Drag baseline shared by the active and displayed previews, or nullopt when they describe different gestures.

Detailed Description

EditorShell's direct-to-framebuffer presentation seam: converting cached GL/WGPU tiles and the immediate overlay snapshot into presented pixels. On Geode/WGPU builds this draws the checkerboard, document tiles, and selection chrome straight onto the window framebuffer (no intermediate texture); the tile-geometry helpers are backend-neutral.