phosphor-surface
Per-window shader effects and window decoration profiles.
The second shader family beside the zone overlays in phosphor-shaders: effects that draw on a window itself rather than on the compositor's overlay surfaces. Blur and glass packs sample the backdrop behind the window through a downscaled multipass chain, border packs paint the frame, and ambience packs tint or texture the content. SurfaceShaderRegistry discovers packs from disk on the same MetadataPackRegistryBase contract the overlay registry uses, so a user pack in the data directory loads with no rebuild. DecorationProfile binds a set of packs and their parameters to a window, and DecorationProfileTree resolves which profile a given window inherits.
Key types
SurfaceShaderRegistrySurfaceShaderEffectDecorationProfileDecorationProfileTreeSurfaceUniformProfileIUboProfile implementation packing the per-window uniform block.Dependencies
QtCoreQtGuiphosphor-shadersphosphor-registryphosphor-fsloader
See also
References
- Full API reference → Doxygen-generated page for
PhosphorSurfaceShaders. - Namespace index Every symbol under
PhosphorSurfaceShaders::.