Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
CompositedRenderingMode.h File Reference
#include <cstdint>
Include dependency graph for CompositedRenderingMode.h:
This graph shows which files directly or indirectly include this file:

Namespaces

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

Enumerations

enum class  donner::editor::CompositedRenderingMode : std::uint8_t {
  Off ,
  FilterOnly ,
  On
}
 How the editor's background renderer uses the compositor, selected via the View menu's "Composited Rendering" submenu. Every mode produces identical pixels; the modes trade retained caching (memory, cache-management cost) against per-frame re-render cost. More...

Enumeration Type Documentation

◆ CompositedRenderingMode

enum class donner::editor::CompositedRenderingMode : std::uint8_t
strong

How the editor's background renderer uses the compositor, selected via the View menu's "Composited Rendering" submenu. Every mode produces identical pixels; the modes trade retained caching (memory, cache-management cost) against per-frame re-render cost.

Enumerator
Off 

No CompositorController is constructed. Every frame renders the full document directly through RendererDriver::drawInterruptibly. The baseline for measuring what compositing buys on a given document.

FilterOnly 

Compositor runs, but only SVG filters (the expensive re-render case) get cached isolated layers. Opacity groups, blend modes, and masks render inline. Editor-required selection/drag layers remain active; animation promotion and complexity bucketing are disabled.

On 

Full compositing: mandatory hints for all isolation signals plus selection/drag promotion, animation promotion, and complexity bucketing.