summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-06-20 16:07:05 +0900
committerHermet Park <hermetpark@gmail.com>2019-06-20 16:07:05 +0900
commitc7b1a40b5ec2d63ce32be3d78e60ea1f3206140a (patch)
tree08ff2ad827d7258ae93cd3205f46a0fd75119dc2 /src/lib/evas/canvas/evas_vg_private.h
parentc27c4692043140fef014dad3ff18c88c929772d8 (diff)
ector: Fix precomp layer rendering issue when it has alpha value
Summary: When the precomp layer(parent layer) has alpha transparency and has more than 1 child layer and they overlap each other if vg object just propagate the alpha to child layer it will be applied twice in overlapped area. Even if the child layer does not have alpha transparency, parent alpha is applied to each child. Test Plan: N/A Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, kimcinoo, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9072
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index f4c47de4bb..73ff63e7d8 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -94,6 +94,10 @@ struct _Efl_Canvas_Vg_Container_Data
94 //Masking feature. 94 //Masking feature.
95 Efl_Canvas_Vg_Node *mask_src; //Mask Source 95 Efl_Canvas_Vg_Node *mask_src; //Mask Source
96 Vg_Mask mask; //Mask source data 96 Vg_Mask mask; //Mask source data
97
98 //Layer transparency feature. This buffer is only valid when the layer has transparency.
99 Ector_Buffer *blend_buffer;
100 void *blend_pixels;
97}; 101};
98 102
99struct _Efl_Canvas_Vg_Gradient_Data 103struct _Efl_Canvas_Vg_Gradient_Data