summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_filter.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-03-07 09:36:16 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-03-07 11:07:15 +0900
commit7690e33b4999d80743ad47a1bc1841f625c7c1a5 (patch)
tree5ff04f2039dbd7305c02a46fffb4af9560cbaac6 /src/lib/evas/include/evas_filter.h
parent2225587e5e51159fcd00e72e090e3f3ed1acd33f (diff)
Evas filters: Implement proxy rendering for GL
Make use of glReadPixel to access the source's pixel data. Use all classic CPU functions to blend and use that data. Save pointer to the GL image and update it with the latest data during target render. Use ENFN's surface_lock, read_pixels, unlock. Also, add some more error checks to make sure the images are valid, or return an error at runtime.
Diffstat (limited to 'src/lib/evas/include/evas_filter.h')
-rw-r--r--src/lib/evas/include/evas_filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index e79fc9e396..5445058545 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -107,7 +107,7 @@ void evas_filter_context_post_run_callback_set(Evas_Filter_C
107Eina_Bool evas_filter_context_buffers_allocate_all(Evas_Filter_Context *ctx, unsigned w, unsigned h); 107Eina_Bool evas_filter_context_buffers_allocate_all(Evas_Filter_Context *ctx, unsigned w, unsigned h);
108 108
109int evas_filter_buffer_empty_new(Evas_Filter_Context *ctx, Eina_Bool alpha_only); 109int evas_filter_buffer_empty_new(Evas_Filter_Context *ctx, Eina_Bool alpha_only);
110int evas_filter_buffer_image_new(Evas_Filter_Context *ctx, RGBA_Image *image); 110int evas_filter_buffer_image_new(Evas_Filter_Context *ctx, void *image);
111void *evas_filter_buffer_backing_get(Evas_Filter_Context *ctx, int bufid); 111void *evas_filter_buffer_backing_get(Evas_Filter_Context *ctx, int bufid);
112void *evas_filter_buffer_backing_steal(Evas_Filter_Context *ctx, int bufid); 112void *evas_filter_buffer_backing_steal(Evas_Filter_Context *ctx, int bufid);
113Eina_Bool evas_filter_buffer_backing_release(Evas_Filter_Context *ctx, void *stolen_buffer); 113Eina_Bool evas_filter_buffer_backing_release(Evas_Filter_Context *ctx, void *stolen_buffer);