summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-01-17 16:13:35 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-14 11:26:42 +0900
commit0740010a061d15a4ecaa00dc21c10301e0af4847 (patch)
treeecd597c41438ca03a1f85cfb5a09bfbcffe6d094 /src/lib/evas/include
parentf370ea803b977c245f173bae1b3b904e9bb68e38 (diff)
evas filters: Move blend to software_generic (1/8)
This is an attempt at refactoring the filters code so I can later implement GL support. This patch adds a few extra changes to remove avoid calling functions of libevas from the software engine: use the draw functions from static_libs/draw rather than evas_common APIs.
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_filter.h1
-rw-r--r--src/lib/evas/include/evas_private.h6
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index c8962c434d..0c87af23f4 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -33,7 +33,6 @@
33#endif /* ! _WIN32 */ 33#endif /* ! _WIN32 */
34 34
35typedef struct _Evas_Filter_Context Evas_Filter_Context; 35typedef struct _Evas_Filter_Context Evas_Filter_Context;
36typedef struct _Evas_Filter_Command Evas_Filter_Command;
37typedef struct _Evas_Filter_Instruction Evas_Filter_Instruction; 36typedef struct _Evas_Filter_Instruction Evas_Filter_Instruction;
38typedef struct _Evas_Filter_Buffer Evas_Filter_Buffer; 37typedef struct _Evas_Filter_Buffer Evas_Filter_Buffer;
39typedef struct _Evas_Filter_Proxy_Binding Evas_Filter_Proxy_Binding; 38typedef struct _Evas_Filter_Proxy_Binding Evas_Filter_Proxy_Binding;
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index 4491af676a..4d6f608ac8 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -91,10 +91,13 @@ typedef struct _Evas_Smart_Data Evas_Smart_Data;
91typedef struct _Evas_Object_Protected_State Evas_Object_Protected_State; 91typedef struct _Evas_Object_Protected_State Evas_Object_Protected_State;
92typedef struct _Evas_Object_Protected_Data Evas_Object_Protected_Data; 92typedef struct _Evas_Object_Protected_Data Evas_Object_Protected_Data;
93 93
94/* gfx filters typedef only */
94typedef struct _Evas_Filter_Program Evas_Filter_Program; 95typedef struct _Evas_Filter_Program Evas_Filter_Program;
95typedef struct _Evas_Object_Filter_Data Evas_Object_Filter_Data; 96typedef struct _Evas_Object_Filter_Data Evas_Object_Filter_Data;
96typedef struct _Evas_Filter_Data_Binding Evas_Filter_Data_Binding; 97typedef struct _Evas_Filter_Data_Binding Evas_Filter_Data_Binding;
97typedef struct _Evas_Pointer_Data Evas_Pointer_Data; 98typedef struct _Evas_Pointer_Data Evas_Pointer_Data;
99typedef struct _Evas_Filter_Command Evas_Filter_Command;
100typedef enum _Evas_Filter_Support Evas_Filter_Support;
98 101
99// 3D stuff 102// 3D stuff
100 103
@@ -1576,6 +1579,9 @@ struct _Evas_Func
1576 void (*ector_end) (void *data, void *context, Ector_Surface *ector, void *surface, void *engine_data, Eina_Bool do_async); 1579 void (*ector_end) (void *data, void *context, Ector_Surface *ector, void *surface, void *engine_data, Eina_Bool do_async);
1577 void* (*ector_new) (void *data, void *context, Ector_Surface *ector, void *surface); 1580 void* (*ector_new) (void *data, void *context, Ector_Surface *ector, void *surface);
1578 void (*ector_free) (void *engine_data); 1581 void (*ector_free) (void *engine_data);
1582
1583 Evas_Filter_Support (*gfx_filter_supports) (void *data, Evas_Filter_Command *cmd);
1584 Eina_Bool (*gfx_filter_process) (void *data, Evas_Filter_Command *cmd);
1579}; 1585};
1580 1586
1581struct _Evas_Image_Save_Func 1587struct _Evas_Image_Save_Func