summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_filter.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-01-17 13:32:25 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-02-07 17:33:17 +0900
commitf007cd5665e1020fa9ee0a2966bfbc279fa49c73 (patch)
tree2e4120d18d39f14ecaff100cf940457a24103b79 /src/lib/evas/include/evas_filter.h
parent0135b45c125c603f7ae96941dbeba9a22d75691b (diff)
Evas filters: Move font draw inside the filters functions
Since the filters will have to decide on which engine (SW, GL) to choose from to render the font and the effects, move the font draw call inside the filters module.
Diffstat (limited to 'src/lib/evas/include/evas_filter.h')
-rw-r--r--src/lib/evas/include/evas_filter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index 6c39e0e72d..1b68d8a557 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -2,6 +2,7 @@
2#define _EVAS_FILTER_H 2#define _EVAS_FILTER_H
3 3
4#include "evas_common_private.h" 4#include "evas_common_private.h"
5#include "evas_private.h"
5 6
6typedef struct _Evas_Filter_Context Evas_Filter_Context; 7typedef struct _Evas_Filter_Context Evas_Filter_Context;
7typedef struct _Evas_Filter_Command Evas_Filter_Command; 8typedef struct _Evas_Filter_Command Evas_Filter_Command;
@@ -106,10 +107,13 @@ int evas_filter_buffer_image_new(Evas_Filter_Context *ctx,
106int evas_filter_buffer_data_new(Evas_Filter_Context *ctx, void *data, int w, int h, Eina_Bool alpha_only); 107int evas_filter_buffer_data_new(Evas_Filter_Context *ctx, void *data, int w, int h, Eina_Bool alpha_only);
107#define evas_filter_buffer_alloc_new(ctx, w, h, a) evas_filter_buffer_data_new(ctx, NULL, w, h, a) 108#define evas_filter_buffer_alloc_new(ctx, w, h, a) evas_filter_buffer_data_new(ctx, NULL, w, h, a)
108void *evas_filter_buffer_backing_get(Evas_Filter_Context *ctx, int bufid); 109void *evas_filter_buffer_backing_get(Evas_Filter_Context *ctx, int bufid);
110void *evas_filter_buffer_backing_steal(Evas_Filter_Context *ctx, int bufid);
109Eina_Bool evas_filter_buffer_data_set(Evas_Filter_Context *ctx, int bufid, void *data, int w, int h, Eina_Bool alpha_only); 111Eina_Bool evas_filter_buffer_data_set(Evas_Filter_Context *ctx, int bufid, void *data, int w, int h, Eina_Bool alpha_only);
110 112
111Eina_Bool evas_filter_run(Evas_Filter_Context *ctx, Eina_Bool do_async); 113Eina_Bool evas_filter_run(Evas_Filter_Context *ctx, Eina_Bool do_async);
112 114
115Eina_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);
116
113/** 117/**
114 * @brief Blend a source buffer into a destination buffer, allowing X,Y offsets, Alpha to RGBA conversion with color 118 * @brief Blend a source buffer into a destination buffer, allowing X,Y offsets, Alpha to RGBA conversion with color
115 * @param ctx Current filter chain 119 * @param ctx Current filter chain