Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
GeodeFilterEngine.h File Reference

GPU filter-graph executor for the Geode rendering backend. More...

#include <webgpu/webgpu.hpp>
#include "donner/base/Box.h"
#include "donner/base/Transform.h"
Include dependency graph for GeodeFilterEngine.h:

Classes

class  donner::geode::GeodeFilterEngine
 GPU filter-graph executor. 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,.
namespace  donner::svg::components::filter_primitive
 Variant holding the parameters for each type of filter primitive.

Detailed Description

GPU filter-graph executor for the Geode rendering backend.

Owns compute pipelines for filter primitives and executes a donner::svg::components::FilterGraph against a source-graphic texture, returning the filtered output texture.

Implemented primitives: feGaussianBlur, feOffset, feColorMatrix, feFlood, feMerge, feComposite, feBlend, feMorphology, feComponentTransfer, feConvolveMatrix, feTurbulence, feDisplacementMap, feDiffuseLighting, feSpecularLighting, feDropShadow, feImage, feTile. Other primitives are passed through (the input texture is forwarded unchanged) with a one-shot warning.