forked from enlightenment/efl
59f5216391
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. |
||
---|---|---|
.. | ||
buffer | ||
drm | ||
fb | ||
gl_cocoa | ||
gl_common | ||
gl_sdl | ||
gl_x11 | ||
psl1ght | ||
software_ddraw | ||
software_gdi | ||
software_generic | ||
software_x11 | ||
wayland_egl | ||
wayland_shm |