summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_generic/evas_engine.c
diff options
context:
space:
mode:
authorse.osadchy <se.osadchy@samsung.com>2015-05-26 19:12:24 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-27 00:31:07 +0200
commit684c51360f1591de4b8aee1f52d4edf8e8353822 (patch)
tree571df123cc63fe08963bfc16d9a3a54a330d6641 /src/modules/evas/engines/gl_generic/evas_engine.c
parent8915982562c438f7a2c2f517744d58efdbad503d (diff)
evas: fix color pick compatibility of Evas_3D with GLES.
Summary: Use fourth component texture. Update mechanism generation pixels, scene renderer to texture and geting color pixels from texture. Update shader for color pick. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: Oleksander, cedric Differential Revision: https://phab.enlightenment.org/D2549
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_generic/evas_engine.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c
index eed3e2cd69..34d3f454be 100644
--- a/src/modules/evas/engines/gl_generic/evas_engine.c
+++ b/src/modules/evas/engines/gl_generic/evas_engine.c
@@ -2182,10 +2182,11 @@ eng_drawable_texture_color_pick_id_get(void *drawable)
2182 return e3d_drawable_texture_color_pick_id_get((E3D_Drawable *)drawable); 2182 return e3d_drawable_texture_color_pick_id_get((E3D_Drawable *)drawable);
2183} 2183}
2184 2184
2185static double 2185static void
2186eng_drawable_texture_pixel_color_get(GLuint tex EINA_UNUSED, int x, int y, void *drawable) 2186eng_drawable_texture_pixel_color_get(GLuint tex EINA_UNUSED, int x, int y,
2187 Evas_Color *color, void *drawable)
2187{ 2188{
2188 return e3d_drawable_texture_pixel_color_get(tex, x, y, drawable); 2189 return e3d_drawable_texture_pixel_color_get(tex, x, y, color, drawable);
2189} 2190}
2190 2191
2191static Eina_Bool 2192static Eina_Bool