summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_filter.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-04-03 15:34:10 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-14 11:26:44 +0900
commit293438111c9a7cdb711f19411a4c5343ed04f0ca (patch)
tree2786a87e210e8485ec3a87376905d46dca6329a4 /src/lib/evas/include/evas_filter.h
parent45548e8358b0affcaa9738ad1b5ae5b542c9349b (diff)
evas filters: Avoid creating input buffer for images
When the filtered object is an image, without borders, map, fill info or anything of this sort, then the filter input buffer is really just a copy of the original image. We can skip that to save on memory usage and pixel fetches.
Diffstat (limited to 'src/lib/evas/include/evas_filter.h')
-rw-r--r--src/lib/evas/include/evas_filter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index edb12cdcde..3c20aa0d60 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -158,6 +158,7 @@ void evas_filter_context_obscured_region_set(Evas_Filter_Con
158int evas_filter_buffer_empty_new(Evas_Filter_Context *ctx, int w, int h, Eina_Bool alpha_only); 158int evas_filter_buffer_empty_new(Evas_Filter_Context *ctx, int w, int h, Eina_Bool alpha_only);
159int evas_filter_buffer_proxy_new(Evas_Filter_Context *ctx, Evas_Filter_Proxy_Binding *pb, int *w, int *h); 159int evas_filter_buffer_proxy_new(Evas_Filter_Context *ctx, Evas_Filter_Proxy_Binding *pb, int *w, int *h);
160void *evas_filter_buffer_backing_get(Evas_Filter_Context *ctx, int bufid, Eina_Bool render); 160void *evas_filter_buffer_backing_get(Evas_Filter_Context *ctx, int bufid, Eina_Bool render);
161Eina_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); 162Eina_Bool evas_filter_buffer_backing_release(Evas_Filter_Context *ctx, void *stolen_buffer);
162 163
163Eina_Bool evas_filter_context_run(Evas_Filter_Context *ctx); 164Eina_Bool evas_filter_context_run(Evas_Filter_Context *ctx);