antognolli pushed a commit to branch master.

commit d44a69f911fd93e22f51c9ef839329d7d7fe9059
Author: Rafael Antognolli <[email protected]>
Date:   Thu Jun 13 19:15:31 2013 -0300

    evas/map: Add FIXME comment to remember that it's just a workaround.
---
 src/lib/evas/canvas/evas_map.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/evas/canvas/evas_map.c b/src/lib/evas/canvas/evas_map.c
index a80678d..66843da 100644
--- a/src/lib/evas/canvas/evas_map.c
+++ b/src/lib/evas/canvas/evas_map.c
@@ -1294,6 +1294,10 @@ evas_object_map_update(Evas_Object *eo_obj,
         pt->x = (lround(p->x) + x) * FP1;
         pt->y = (lround(p->y) + y) * FP1;
         pt->z = (lround(p->z)    ) * FP1;
+        /* FIXME: Adding the framespace is a workaround for a bug on the EGL
+         * wayland backend, which does not affect other ports. Remove this when
+         * it is correctly handled inside the GL rendering code, which handles
+         * maps with perspective set. */
         pt->fx = p->px + obj->layer->evas->framespace.x;
         pt->fy = p->py + obj->layer->evas->framespace.y;
         pt->fz = p->z;

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to