diff options
author | 2019-07-27 23:24:37 +1000 | |
---|---|---|
committer | 2019-07-27 23:24:37 +1000 | |
commit | 2032eb60a65420a005dd63bd660346c144e23cb0 (patch) | |
tree | 2a875b311261b172edc96571f768967eeba5ba6e /docs/source/techspecs/layout_files.rst | |
parent | 39736aea965826a7c075561e85d0610292e24991 (diff) |
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.
Diffstat (limited to 'docs/source/techspecs/layout_files.rst')
-rw-r--r-- | docs/source/techspecs/layout_files.rst | 6 |
1 files changed, 3 insertions, 3 deletions
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 |