Expand description
OpenGL-style Compositor
Provides a GPU-accelerated compositing pipeline that manages surfaces, performs alpha-over blending, and renders to a back buffer. Uses the texture atlas for efficient surface packing and supports multiple blend modes with integer-only arithmetic.
All blending uses integer math: result = (src * alpha + dst * (255 - alpha)) / 255.
Structs§
- GlCompositor
- GPU-style compositor that manages surfaces and composites them to a back buffer.
- GlSurface
- A compositable surface managed by the GL compositor.
Enums§
- Blend
Mode - Blending operation applied when compositing a surface onto the back buffer.
Type Aliases§
- Surface
Id - Unique surface identifier.