Evas filters: Implement proxy rendering for GL
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 7 Mar 2014 00:36:16 +0000 (09:36 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 7 Mar 2014 02:07:15 +0000 (11:07 +0900)
commit7690e33b4999d80743ad47a1bc1841f625c7c1a5
tree5ff04f2039dbd7305c02a46fffb4af9560cbaac6
parent2225587e5e51159fcd00e72e090e3f3ed1acd33f
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.
src/lib/evas/filters/evas_filter.c
src/lib/evas/filters/evas_filter_blend.c
src/lib/evas/filters/evas_filter_mask.c
src/lib/evas/filters/evas_filter_private.h
src/lib/evas/include/evas_filter.h