hermet pushed a commit to branch master.

commit 75ccce5706d814b1af7584e1f462065622e19b0b
Author: ChunEon Park <[email protected]>
Date:   Sun Aug 18 16:26:11 2013 +0900

    evas - removed redundant code.
    
    This check is not necessary but causes incorrect clipping issues.
    
    At this moment, if primitive objects (except image) is the source then that 
code may be helpful but it doesn't guarantee same behavior for all the 
primitive objects.
    
    So, right now removed it.
---
 src/lib/evas/canvas/evas_render.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/src/lib/evas/canvas/evas_render.c 
b/src/lib/evas/canvas/evas_render.c
index f4187cc..0bb8eaa 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -1011,22 +1011,6 @@ _evas_render_mapped_context_clip_set(Evas_Public_Data 
*e, Evas_Object *eo_obj, E
              e->engine.func->context_clip_set(e->engine.data.output, ctx, x, y,
                                               w, h);
           }
-        else
-          {
-             Evas_Object_Protected_Data *proxy =
-                proxy_render_data->proxy_obj;
-             if (proxy->cur->clipper)
-               {
-                  x = proxy->cur->clipper->cur->geometry.x +
-                     off_x;
-                  y = proxy->cur->clipper->cur->geometry.y +
-                     off_y;
-                  w = proxy->cur->clipper->cur->geometry.w;
-                  h = proxy->cur->clipper->cur->geometry.h;
-                  e->engine.func->context_clip_set(e->engine.data.output, ctx,
-                                                   x, y, w, h);
-               }
-          }
      }
 }
 

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to