summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_filter.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-04-13 12:08:31 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-14 13:57:04 +0900
commit3c92b32c13b11c492f9b0b6d2c60660b8add3468 (patch)
tree004663ff072c6010e4d09e5a5ddf94455e8be51b /src/lib/evas/include/evas_filter.h
parent30ac3156313d642976ebfc4e52ebb63dd02d8595 (diff)
evas filters: Fix async RW rendering
This fixes a crash (when deleting the output image), and rearranges the code a bit.
Diffstat (limited to 'src/lib/evas/include/evas_filter.h')
-rw-r--r--src/lib/evas/include/evas_filter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index f273064ae6..3c1ae718ce 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -32,6 +32,10 @@
32# endif 32# endif
33#endif /* ! _WIN32 */ 33#endif /* ! _WIN32 */
34 34
35//#ifdef DEBUG
36# define FILTERS_DEBUG
37//#endif
38
35typedef struct _Evas_Filter_Instruction Evas_Filter_Instruction; 39typedef struct _Evas_Filter_Instruction Evas_Filter_Instruction;
36typedef struct _Evas_Filter_Buffer Evas_Filter_Buffer; 40typedef struct _Evas_Filter_Buffer Evas_Filter_Buffer;
37typedef struct _Evas_Filter_Proxy_Binding Evas_Filter_Proxy_Binding; 41typedef struct _Evas_Filter_Proxy_Binding Evas_Filter_Proxy_Binding;
@@ -158,7 +162,6 @@ int evas_filter_buffer_empty_new(Evas_Filter_Context *ctx,
158int evas_filter_buffer_proxy_new(Evas_Filter_Context *ctx, Evas_Filter_Proxy_Binding *pb, int *w, int *h); 162int evas_filter_buffer_proxy_new(Evas_Filter_Context *ctx, Evas_Filter_Proxy_Binding *pb, int *w, int *h);
159void *evas_filter_buffer_backing_get(Evas_Filter_Context *ctx, int bufid, Eina_Bool render); 163void *evas_filter_buffer_backing_get(Evas_Filter_Context *ctx, int bufid, Eina_Bool render);
160Eina_Bool evas_filter_buffer_backing_set(Evas_Filter_Context *ctx, int bufid, void *engine_buffer); 164Eina_Bool evas_filter_buffer_backing_set(Evas_Filter_Context *ctx, int bufid, void *engine_buffer);
161Eina_Bool evas_filter_buffer_backing_release(Evas_Filter_Context *ctx, void *stolen_buffer);
162 165
163Eina_Bool evas_filter_context_run(Evas_Filter_Context *ctx); 166Eina_Bool evas_filter_context_run(Evas_Filter_Context *ctx);
164 167