summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_filter.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-03-17 16:10:03 +0900
committerJean-Philippe ANDRE <jpeg@videolan.org>2014-04-27 17:41:40 +0900
commit59cf013db9c8da3d30d11c2249f1b9dc4711f7bb (patch)
treee74d37194991f66b98197274cd32c551262bc844 /src/lib/evas/include/evas_filter.h
parentde4969ccb24f62759f8e736ca26cf2f8bf2b6f1f (diff)
Evas filters: Add support for Evas_Object_Image
This adds filter support to Image objects as well. The exact same filters can run on Text and on Images (provided some colorspace limitations are respected). This basically adds: - Support for RGBA input buffer - Eo entry points for Image filter support - Implement basic filter support in Evas_Image
Diffstat (limited to '')
-rw-r--r--src/lib/evas/include/evas_filter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index 09b7bd4aca..7bbecf3555 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -92,7 +92,7 @@ enum _Evas_Filter_Transform_Flags
92}; 92};
93 93
94/* Parser stuff (high level API) */ 94/* Parser stuff (high level API) */
95EAPI Evas_Filter_Program *evas_filter_program_new(const char *name); 95EAPI Evas_Filter_Program *evas_filter_program_new(const char *name, Eina_Bool input_alpha);
96EAPI Eina_Bool evas_filter_program_parse(Evas_Filter_Program *pgm, const char *str); 96EAPI Eina_Bool evas_filter_program_parse(Evas_Filter_Program *pgm, const char *str);
97EAPI void evas_filter_program_del(Evas_Filter_Program *pgm); 97EAPI void evas_filter_program_del(Evas_Filter_Program *pgm);
98Eina_Bool evas_filter_context_program_use(Evas_Filter_Context *ctx, Evas_Filter_Program *pgm); 98Eina_Bool evas_filter_context_program_use(Evas_Filter_Context *ctx, Evas_Filter_Program *pgm);
@@ -116,6 +116,7 @@ Eina_Bool evas_filter_buffer_backing_release(Evas_Filter_Context
116Eina_Bool evas_filter_run(Evas_Filter_Context *ctx); 116Eina_Bool evas_filter_run(Evas_Filter_Context *ctx);
117 117
118Eina_Bool evas_filter_font_draw(Evas_Filter_Context *ctx, void *draw_context, int bufid, Evas_Font_Set *font, int x, int y, Evas_Text_Props *text_props, Eina_Bool do_async); 118Eina_Bool evas_filter_font_draw(Evas_Filter_Context *ctx, void *draw_context, int bufid, Evas_Font_Set *font, int x, int y, Evas_Text_Props *text_props, Eina_Bool do_async);
119Eina_Bool evas_filter_image_draw(Evas_Filter_Context *ctx, void *draw_context, int bufid, void *image, Eina_Bool do_async);
119Eina_Bool evas_filter_target_set(Evas_Filter_Context *ctx, void *draw_context, void *surface, int x, int y); 120Eina_Bool evas_filter_target_set(Evas_Filter_Context *ctx, void *draw_context, void *surface, int x, int y);
120 121
121/** 122/**