evas: probably another needed patch for clipping issue with map.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 16 Mar 2011 13:59:13 +0000 (13:59 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 16 Mar 2011 13:59:13 +0000 (13:59 +0000)
No need to update ChangeLog as it is the part of yesterday patch.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@57800 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_render.c

index 0a8efbf..7dc2a7b 100644 (file)
@@ -934,6 +934,11 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
                        y = obj->cur.cache.clip.y;
                        w = obj->cur.cache.clip.w;
                        h = obj->cur.cache.clip.h;
+                       RECTS_CLIP_TO_RECT(x, y, w, h,
+                              obj->cur.clipper->cur.cache.clip.x,
+                              obj->cur.clipper->cur.cache.clip.y,
+                              obj->cur.clipper->cur.cache.clip.w,
+                              obj->cur.clipper->cur.cache.clip.h);
                        e->engine.func->context_clip_set(e->engine.data.output,
                                                         e->engine.data.context,
                                                         x + off_x, y + off_y, w, h);