Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
ParallelStylePass.h File Reference
#include <cstddef>
#include <functional>
#include "donner/svg/components/style/StylePassScheduler.h"
Include dependency graph for ParallelStylePass.h:

Classes

struct  donner::svg::components::StylePassPhasesForTesting
 Test observations under the caller's document access. Per-node callbacks can be concurrent. They may synchronize the fixture but must not take a document guard or change storage. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.
namespace  donner::svg::components
 Contains the implementation of the Donner ECS,.

Functions

bool donner::svg::components::TryParallelStylePass (Registry &registry, ParseWarningSink &warnings, tasks::TaskScheduler *scheduler, StylePassSelection selection)
 Try a scheduled cascade of the missing slots in this selection under the caller's document access.

Class Documentation

◆ donner::svg::components::StylePassPhasesForTesting

struct donner::svg::components::StylePassPhasesForTesting

Test observations under the caller's document access. Per-node callbacks can be concurrent. They may synchronize the fixture but must not take a document guard or change storage.

Class Members
function< bool(Entity)> allowChildAdmission
function< void()> beforeCommit
function< void(Entity)> beforeNode
function< void()> beforeOffscreen
function< void()> beforeRegion
size_t grain = 64
size_t minimumElements = 1000 Lower the production threshold and grain to exercise scheduling on bounded fixtures.
function< void(Entity)> published
size_t rangeStackHeadroom = 0 Raise the range admission requirement to test rollback without using a small real stack.