Expand description
isolated compositor: draw-command bounds for isolated offscreen regions. Device-space bounds for draw commands (isolated compositor).
Constants§
- BLUR_
PADDING_ FACTOR - Padding multiplier for blur kernel (physical pixels).
Functions§
- inflate_
for_ effects - Inflates bounds for every blur in an isolated effect chain.
- push_
composite_ quad - NDC quad for compositing an offscreen texture into destination rect.
- push_
composite_ quad_ local - NDC quad in local offscreen space (origin top-left of the pass).
- scissor_
to_ local - Convert global physical scissor to local coordinates inside offscreen pass.
- snap_
and_ clamp_ bounds - Snaps physical bounds outward and clamps their far edges to a surface.
- union_
cmd_ bounds - Union of axis-aligned bounds for all commands in a layer (physical pixels).
- union_
cmd_ bounds_ prepared - Computes command bounds using prepared glyph extents when available.