On Fri, 10 Apr 2009 08:14:40 -0700 "Enlightenment SVN"
<no-re...@enlightenment.org> said:

i disabled it as i spotted rendering bugs.

> Log:
>       * evas: This patch reintroduce the use of cache for clip. I don't
> know why it was disable the first time, so it could lead to some graphic bug.
>       Please report any strange behaviour.
>   
>       *WARNING* This could really introduce some visual bug.
>   
>   
> Author:       cedric
> Date:         2009-04-10 08:14:40 -0700 (Fri, 10 Apr 2009)
> New Revision: 39940
> 
> Modified:
>   trunk/evas/src/lib/canvas/evas_object_main.c
> trunk/evas/src/lib/include/evas_inline.x 
> 
> Modified: trunk/evas/src/lib/canvas/evas_object_main.c
> ===================================================================
> --- trunk/evas/src/lib/canvas/evas_object_main.c      2009-04-10 14:49:28
> UTC (rev 39939) +++ trunk/evas/src/lib/canvas/evas_object_main.c
> 2009-04-10 15:14:40 UTC (rev 39940) @@ -1202,6 +1202,7 @@
>     obj->cur.color.r = r;
>     obj->cur.color.g = g;
>     obj->cur.color.b = b;
> +   evas_object_clip_dirty(obj);
>     if ((obj->cur.color.a == 0) && (a == 0)) return;
>     obj->cur.color.a = a;
>     evas_object_change(obj);
> 
> Modified: trunk/evas/src/lib/include/evas_inline.x
> ===================================================================
> --- trunk/evas/src/lib/include/evas_inline.x  2009-04-10 14:49:28 UTC
> (rev 39939) +++ trunk/evas/src/lib/include/evas_inline.x      2009-04-10
> 15:14:40 UTC (rev 39940) @@ -172,7 +172,8 @@
>     int nx, ny, nw, nh, nvis, nr, ng, nb, na;
>  
>     if (obj->layer->evas->events_frozen > 0) return;
> -//   if (!obj->cur.clipper->cur.cache.clip.dirty) return;
> +   if (!(obj->cur.clipper == NULL || obj->cur.clipper->cur.cache.clip.dirty)
> +       && !obj->cur.cache.clip.dirty) return;
>     evas_object_coords_recalc(obj);
>     cx = obj->cur.geometry.x; cy = obj->cur.geometry.y;
>     cw = obj->cur.geometry.w; ch = obj->cur.geometry.h;
> @@ -185,7 +186,7 @@
>     if (obj->cur.clipper)
>       {
>  // this causes problems... hmmm
> -//   if (obj->cur.clipper->cur.cache.clip.dirty)
> +     if (obj->cur.clipper->cur.cache.clip.dirty)
>         evas_object_clip_recalc(obj->cur.clipper);
>       nx = obj->cur.clipper->cur.cache.clip.x;
>       ny = obj->cur.clipper->cur.cache.clip.y;
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to