evas vg json: refactor masks construct 67/267867/3
authorMichal Maciola <m.maciola@samsung.com>
Fri, 10 Dec 2021 15:56:35 +0000 (16:56 +0100)
committerChun <jykeon@samsung.com>
Mon, 3 Jan 2022 02:20:10 +0000 (02:20 +0000)
commitf475549e9b1fec027cf28fe668fa530cc4962512
tree09701c1ce2e22b9c8264b4809ba90a3a74df2a14
parentdb0d2d6bfdc776b2e30f5fdcbd9fbe4d3f5945ab
evas vg json: refactor masks construct

This patch changes how nodes that have masks are handled.
TVG doesn't implement masking as mask Substract/Intersect/Difference.
If such masks was used, for most cases, the whole node was masked and
incorrectly invisible. After this patch it should be working correctly
(or just better) for most basic cases with a single mask.

Change-Id: I9204255b79bc6adf551a844de156a8d3e3e41665
src/static_libs/vg_common/vg_common_json.c