Expand description
GPU clip mode selection (not in ailloli_ui_core).
GPU clip rendering mode selection (not part of ailloli_ui_core).
Structs§
- Clip
Params Gpu - Uniform block for
clip_alphain WGSL (32 bytes, 16-byte aligned). - Render
Clip Plan - GPU-ready interpretation of a non-destructive clip stack.
Enums§
- Clip
Render Mode - How a layer clip is applied on the GPU.
Constants§
- STENCIL_
DRAW_ CMD_ THRESHOLD - Above this draw-command count, prefer stencil over per-fragment shader masking.
Functions§
- choose_
clip_ render_ mode - Picks the GPU clip strategy for a layer.
- clip_
bbox_ physical - Clip bounding box in physical pixels.
- resolve_
clip_ render_ plan - Resolves a stack of clips without fusing away root/window metadata.
- stencil_
aa_ enabled - Shader AA band on stencil edges (on by default).
Set
AILLOLI_UI_STENCIL_AA=0;OCTAVUI_STENCIL_AAis a legacy fallback. The primary variable wins when both are set; only0and case-insensitivefalsedisable the band.