Skip to content

renderer: add alpha-related params

Dudemanguy requested to merge Dudemanguy/libplacebo:alpha-overhaul into master

Two main things:

  1. Add pl_render_params.blend_type so images with an alpha component can either be blended against tiles (the checkerboard pattern) or against the background colors. This makes blend_against_tiles redundant so I deprecated it.
  2. Add pl_render_params.alpha for forcing the alpha component off.

Edit: Downstream mpv PR

Edited by Dudemanguy

Merge request reports