evas: use Evas_GL_image for generate texture unit for Evas_3D_Texture.
authorOleksandr Shcherbina <o.shcherbina@samsung.com>
Wed, 22 Apr 2015 13:19:02 +0000 (15:19 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 7 May 2015 07:53:09 +0000 (09:53 +0200)
commitd88ccf06a5f6ebcfc68dcc21e55a241f64ff9aa9
treec161bdf705243e99217f689e42458a0de2edb9f9
parent0f6d101ad5ec8327088e448c347e1f4054a5c8d7
evas: use Evas_GL_image for generate texture unit for Evas_3D_Texture.

Summary:
Used engine function for load image/data and use texture unit through
Evas_GL_Image object
Used Evas_ColorSpace format instead Evas_3D_Color/Pixel format
Added transformation matrix for adjusting texture unit coordinates in shader
Added property in Evas_3D_Texture for mark possibility get texture without atlas
(see https://phab.enlightenment.org/conpherence/54/, I suppose it will done
after this patch)

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2371

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
15 files changed:
src/lib/evas/Evas_Eo.h
src/lib/evas/canvas/evas_3d_texture.c
src/lib/evas/canvas/evas_3d_texture.eo
src/lib/evas/include/evas_3d_utils.h
src/lib/evas/include/evas_private.h
src/modules/evas/engines/gl_common/evas_gl_3d.c
src/modules/evas/engines/gl_common/evas_gl_3d_common.h
src/modules/evas/engines/gl_common/evas_gl_3d_private.h
src/modules/evas/engines/gl_common/evas_gl_3d_shader.c
src/modules/evas/engines/gl_common/shader_3d/evas_gl_3d_shaders.x
src/modules/evas/engines/gl_common/shader_3d/include.shd
src/modules/evas/engines/gl_common/shader_3d/parallax_occlusion_frag.shd
src/modules/evas/engines/gl_common/shader_3d/shadow_map_frag.shd
src/modules/evas/engines/gl_generic/evas_engine.c
src/modules/evas/engines/software_generic/evas_engine.c