Add support for layer masks


Utilize the already supported matte functionality to implement
masks. On initial parsing of a layer, create a new shape layer holding
its mask shapes, and set that shape layer as a matte.

Since this happens already at the parsing stage, it works for both
LottieAnimation and lottietoqml.

So far limited to layers that do not already use a matte, since only
one is currently supported in the rendering and generator backends.

Task-number: QTBUG-140807
Change-Id: I7afaf6f971b39eba0542d8d22cefad90c85af0f5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit30ecb73dc15efd7117be9f44ed6da66fbe350d41
parent878321e1a40b0dca762587854b0f5d74b7618462
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeTue, 17 Feb 2026 16:31:20 +0000