From 2032eb60a65420a005dd63bd660346c144e23cb0 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 27 Jul 2019 23:24:37 +1000 Subject: Allow per-layer blend modes supplied by driver for screens, as required for Laserdisc overlays. This is a change in behaviour, and it means that games like Golly! Ghost! will need an explicit blend mode specified in the XML. I'm not entirely happy with the situation, but a better, more general solution than this would require some serious refactoring to MAME's renderer. --- docs/source/techspecs/layout_files.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/source/techspecs/layout_files.rst b/docs/source/techspecs/layout_files.rst index bc05720a692..52b944ec246 100644 --- a/docs/source/techspecs/layout_files.rst +++ b/docs/source/techspecs/layout_files.rst @@ -650,9 +650,9 @@ flipy Screens (``screen`` elements) and layout elements (``element`` elements) may have a ``blend`` attribute to set the blending mode. Supported values are ``none`` (no blending), ``alpha`` (alpha blending), ``multiply`` (RGB -multiplication), and ``add`` (additive blending). The default blending mode for -screens is additive blending, and the default blending mode for layout elements -is alpha blending. +multiplication), and ``add`` (additive blending). The default for screens is to +allow the driver to specify blending per layer; the default blending mode for +layout elements is alpha blending. Screens (``screen`` elements), layout elements (``element`` elements) and groups (``group`` elements) may be positioned and sized using a ``bounds`` child -- cgit v1.2.3-70-g09d2