EvasGL: Fixed direct rendering not clipping issue
authorSung W. Park <dunamis.park@samsung.com>
Thu, 24 Oct 2013 08:37:22 +0000 (17:37 +0900)
committerSung W. Park <dunamis.park@samsung.com>
Thu, 24 Oct 2013 08:42:21 +0000 (17:42 +0900)
commit7dc102c55f6de2a9952cf79ffa69b50ab66df4c1
tree990be0bac6c5dc11ac4431fc6b71cd09c51cff08
parentabec2d03b88657873a864dbd0bb0731442b4384f
EvasGL: Fixed direct rendering not clipping issue

Evas GL direct rendering mode didn't properly take into account
the image object's clipping information and clip the region that
it was directly rendering to. Hence there were issues with the
direct rendering region drawing over the objects that are sitting
on top of it.

Also, cleaned up the direct rendering coordinate computation code
and a nasty dependency with image object that should have been
removed a long time ago.  Basically the evas-gl engine was directly
accessing the image object data structure for its data when it
really should have just passed along necessary information.
ChangeLog
src/modules/evas/engines/gl_common/evas_gl_api.c
src/modules/evas/engines/gl_common/evas_gl_core.c
src/modules/evas/engines/gl_common/evas_gl_core.h
src/modules/evas/engines/gl_common/evas_gl_core_private.h
src/modules/evas/engines/gl_x11/evas_engine.c
src/modules/evas/engines/wayland_egl/evas_engine.c