summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_private.h
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-12-07 15:50:57 +0900
committerHermet Park <hermetpark@gmail.com>2018-12-07 15:50:57 +0900
commitcfc66dd0bd8467e41b0d3584fc5e33f9497412b2 (patch)
tree461b6fae4df86c982c4e55dd1e509ae38fc065d7 /src/lib/ector/software/ector_software_private.h
parentca3ddc21e432ebbd36b595732fc269b98395c9c6 (diff)
ector: code refactoring.
make code clean and neat. no logical changes.
Diffstat (limited to 'src/lib/ector/software/ector_software_private.h')
-rw-r--r--src/lib/ector/software/ector_software_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ector/software/ector_software_private.h b/src/lib/ector/software/ector_software_private.h
index 270a14d96c..dad1f9948c 100644
--- a/src/lib/ector/software/ector_software_private.h
+++ b/src/lib/ector/software/ector_software_private.h
@@ -53,6 +53,7 @@ typedef struct _Ector_Renderer_Software_Gradient_Data
53typedef struct _Shape_Rle_Data 53typedef struct _Shape_Rle_Data
54{ 54{
55 Eina_Rectangle bbox; 55 Eina_Rectangle bbox;
56 //ALLOC == SIZE?
56 unsigned short alloc; 57 unsigned short alloc;
57 unsigned short size; 58 unsigned short size;
58 SW_FT_Span *spans;// array of Scanlines. 59 SW_FT_Span *spans;// array of Scanlines.
@@ -63,11 +64,9 @@ typedef struct _Clip_Data
63 Eina_Array *clips; //Eina_Rectangle 64 Eina_Array *clips; //Eina_Rectangle
64 Shape_Rle_Data *path; 65 Shape_Rle_Data *path;
65 unsigned int enabled : 1; 66 unsigned int enabled : 1;
66 unsigned int has_rect_clip : 1; 67 unsigned int type : 1; //0: rect, 1: path
67 unsigned int has_path_clip : 1;
68} Clip_Data; 68} Clip_Data;
69 69
70
71typedef enum _Span_Data_Type { 70typedef enum _Span_Data_Type {
72 None, 71 None,
73 Solid, 72 Solid,
@@ -98,6 +97,7 @@ typedef struct _Span_Data
98typedef struct _Software_Rasterizer 97typedef struct _Software_Rasterizer
99{ 98{
100 Span_Data fill_data; 99 Span_Data fill_data;
100 //Necessary?:
101 Eina_Matrix3 *transform; 101 Eina_Matrix3 *transform;
102 Eina_Rectangle system_clip; 102 Eina_Rectangle system_clip;
103} Software_Rasterizer; 103} Software_Rasterizer;