summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_private.h
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-08-20 18:18:31 +0900
committerHermet Park <hermetpark@gmail.com>2019-08-20 18:23:41 +0900
commitdad166f84a02cfffc2a07bc804e7b7e35ed4a40d (patch)
treeb52d551fa4fdb4adda62059f59f0ada461246cb4 /src/lib/ector/software/ector_software_private.h
parentead8a280570baded69686487a6dd27a8843fc95f (diff)
ector: code refactoring.
Current vector drawing requires several methods for compositing, it's shouldnt have only masking but other blending functions such as matte in lottie, porter&duff in android, etc. Previously we didn't specify this method name, just reserved the options and now we started to define the methods with ector_renderer_composite_method() instead of mask_set().
Diffstat (limited to 'src/lib/ector/software/ector_software_private.h')
-rw-r--r--src/lib/ector/software/ector_software_private.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ector/software/ector_software_private.h b/src/lib/ector/software/ector_software_private.h
index 62d1c3f8fd..7ac63b5646 100644
--- a/src/lib/ector/software/ector_software_private.h
+++ b/src/lib/ector/software/ector_software_private.h
@@ -83,8 +83,8 @@ typedef struct _Span_Data
83 83
84 int offx, offy; 84 int offx, offy;
85 Clip_Data clip; 85 Clip_Data clip;
86 Ector_Software_Buffer_Base_Data *mask; 86 Ector_Software_Buffer_Base_Data *comp;
87 int mask_op; 87 Ector_Renderer_Composite_Method comp_method;
88 Eina_Matrix3 inv; 88 Eina_Matrix3 inv;
89 Span_Data_Type type; 89 Span_Data_Type type;
90 Eina_Bool fast_matrix; 90 Eina_Bool fast_matrix;
@@ -136,8 +136,8 @@ void ector_software_rasterizer_draw_rle_data(Software_Rasterizer *rasterizer,
136 int x, int y, uint32_t mul_col, 136 int x, int y, uint32_t mul_col,
137 Efl_Gfx_Render_Op op, 137 Efl_Gfx_Render_Op op,
138 Shape_Rle_Data* rle, 138 Shape_Rle_Data* rle,
139 Ector_Buffer *mask, 139 Ector_Buffer *comp,
140 int mask_op); 140 Ector_Renderer_Composite_Method comp_method);
141 141
142void ector_software_rasterizer_destroy_rle_data(Shape_Rle_Data *rle); 142void ector_software_rasterizer_destroy_rle_data(Shape_Rle_Data *rle);
143 143