efl/src/modules/evas/engines/gl_x11
Jean-Philippe Andre 59f5216391 Evas gl_x11: Add support for glReadPixels
This will be needed by the filters for proxy rendering,
for textures and maps (displacement).

Add new engine functions to unleash the (sluggish) power of glReadPixels.
The idea is to be able to bypass glReadPixels later, so 3 new APIs are
added:
- surface_lock
- surface_read_pixels
- surface_unlock
They must be called in that order.

Note (for history):
glReadPixels was always getting the wrong data during first draw,
but the right data during a redraw...
Why? Well simply because for OpenGL itself, the image had never
been drawn in teh first place! Only the Evas GL context knew
about the image drawing, as it was queued somewhere in the pipe.

One line solution: Call evas_gl_common_context_flush before
doing anything else.
2014-03-07 11:07:09 +09:00
..
Evas_Engine_GL_X11.h Add quadruple swap mode for partial rendering 2014-02-08 23:04:04 +09:00
evas_engine.c Evas gl_x11: Add support for glReadPixels 2014-03-07 11:07:09 +09:00
evas_engine.h efl: Unified eina critical manro to CRI. 2013-12-26 12:27:13 +09:00
evas_x_main.c evas: No error if blacklisted, just warn 2013-11-21 10:51:25 +01:00