summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-01-05 21:29:32 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-01-17 14:35:29 +0900
commit40f4acae75e975041d651900cf71b20ae44ab4b6 (patch)
treef8725f8fd89ad5fd0a1754fbe4b4a174d94529fb /src/lib/evas/include
parent93965db815d7ca1e3951b7cda9f74e821975d648 (diff)
evas: Implement buffer caching for textblock filters
This is the most basic optimization that needs to be done for filters to be useful: cache the output rgba buffers for each filtered element. Hopefully this doesn't leak. I'm not making any promises about that though :)
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_filter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index 0ee3f30e9d..c8962c434d 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -137,8 +137,9 @@ EAPI void evas_filter_program_source_set_all(Evas_Filter_Program
137void evas_filter_program_data_set_all(Evas_Filter_Program *pgm, Eina_Inlist *data); 137void evas_filter_program_data_set_all(Evas_Filter_Program *pgm, Eina_Inlist *data);
138 138
139/* Filter context (low level) */ 139/* Filter context (low level) */
140Evas_Filter_Context *evas_filter_context_new(Evas_Public_Data *evas, Eina_Bool async, int id); 140Evas_Filter_Context *evas_filter_context_new(Evas_Public_Data *evas, Eina_Bool async, void *user_data);
141int evas_filter_context_id_get(Evas_Filter_Context *ctx); 141void *evas_filter_context_data_get(Evas_Filter_Context *ctx);
142Eina_Bool evas_filter_context_async_get(Evas_Filter_Context *ctx);
142void evas_filter_context_destroy(Evas_Filter_Context *ctx); 143void evas_filter_context_destroy(Evas_Filter_Context *ctx);
143Eina_Bool evas_filter_context_program_use(Evas_Filter_Context *ctx, Evas_Filter_Program *pgm); 144Eina_Bool evas_filter_context_program_use(Evas_Filter_Context *ctx, Evas_Filter_Program *pgm);
144void evas_filter_context_proxy_render_all(Evas_Filter_Context *ctx, Eo *eo_obj, Eina_Bool do_async); 145void evas_filter_context_proxy_render_all(Evas_Filter_Context *ctx, Eo *eo_obj, Eina_Bool do_async);