Expand description
Wayland Compositor
Manages surfaces and composites them into a back-buffer that can be presented to the hardware framebuffer. Surfaces are drawn in Z-order with per-pixel alpha blending for ARGB8888 and fast memcpy for XRGB8888.
Structs§
- Compositor
- Wayland compositor state.
Functions§
- alpha_
blend - Alpha-blend a single source pixel (ARGB8888) onto a destination pixel (XRGB8888). Returns the blended pixel as 0xFFRRGGBB.
- apply_
opacity - Apply a per-surface opacity to a u32 pixel (XRGB8888 -> ARGB8888).
- render_
shadow - Render a soft shadow behind a window surface.