summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_filter.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-06-23 16:40:51 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-06-25 14:36:09 +0900
commitd15308efef24d3e23860a6888b9f321dedb025cc (patch)
tree636e983de69e5ec4aff37a02fe465a6ce04443c6 /src/lib/evas/include/evas_filter.h
parentf4825006b0994074dacd594b3d239305b4e7963e (diff)
Evas filters: Add explicit exec flag in data_set
This flag should be set iif the string passed is to be executed rather than assigned. This is used to pass complex arguments as data, like tables (eg. color class).
Diffstat (limited to 'src/lib/evas/include/evas_filter.h')
-rw-r--r--src/lib/evas/include/evas_filter.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index 6784a0d9e7..f1cbffb31c 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -133,7 +133,7 @@ Eina_Bool evas_filter_context_program_use(Evas_Filter_Context *ct
133EAPI Eina_Bool evas_filter_program_padding_get(Evas_Filter_Program *pgm, int *l, int *r, int *t, int *b); 133EAPI Eina_Bool evas_filter_program_padding_get(Evas_Filter_Program *pgm, int *l, int *r, int *t, int *b);
134EAPI void evas_filter_program_source_set_all(Evas_Filter_Program *pgm, Eina_Hash *sources); 134EAPI void evas_filter_program_source_set_all(Evas_Filter_Program *pgm, Eina_Hash *sources);
135void evas_filter_context_proxy_render_all(Evas_Filter_Context *ctx, Eo *eo_obj, Eina_Bool do_async); 135void evas_filter_context_proxy_render_all(Evas_Filter_Context *ctx, Eo *eo_obj, Eina_Bool do_async);
136void evas_filter_program_data_set_all(Evas_Filter_Program *pgm, Eina_Hash *data); 136void evas_filter_program_data_set_all(Evas_Filter_Program *pgm, Eina_Inlist *data);
137 137
138/* Filter context (low level) */ 138/* Filter context (low level) */
139Evas_Filter_Context *evas_filter_context_new(Evas_Public_Data *evas, Eina_Bool async); 139Evas_Filter_Context *evas_filter_context_new(Evas_Public_Data *evas, Eina_Bool async);
@@ -294,6 +294,14 @@ struct _Evas_Filter_Proxy_Binding
294 Eina_Stringshare *name; 294 Eina_Stringshare *name;
295}; 295};
296 296
297struct _Evas_Filter_Data_Binding
298{
299 EINA_INLIST;
300 Eina_Stringshare *name;
301 Eina_Stringshare *value;
302 Eina_Bool execute : 1;
303};
304
297#undef EAPI 305#undef EAPI
298#define EAPI 306#define EAPI
299 307