vg_common_json: Support mask with matte case. 05/204705/1
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 26 Apr 2019 01:46:06 +0000 (10:46 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 26 Apr 2019 01:56:17 +0000 (10:56 +0900)
commit68a6ccb8c9b00902ef4ee8a5d119d03d18a45d80
tree595d0586d796f570f519c5d0636f4ebe9a42ce59
parent6dcb22595005b25bf4ac954ddf9634e64ad35efb
vg_common_json: Support mask with matte case.

Summary:
The layer can have both a mask node and a matte node.
In this case, one of them may be missing because it uses one mask_set api.
If there is a matte, the mask is to be child of the matte.

Test Plan:
.._mask_set(layer, matte);
.._mask_set(layer, mask);

Reviewers: Hermet, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, smohanty, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8709

Change-Id: I2a617cbaf087ae9839befa40b94d6e40e2d859ce
src/lib/evas/canvas/efl_canvas_vg_container.c
src/static_libs/vg_common/vg_common_json.c