On Fri, 21 Oct 2011 12:34:05 +0200 Cedric BAIL <cedric.b...@free.fr> said:

> On Fri, Oct 21, 2011 at 12:00 PM, Enlightenment SVN
> <no-re...@enlightenment.org> wrote:
> > Log:
> > and disable invalidate optimization
> >
> >
> >
> > Author:       raster
> > Date:         2011-10-21 03:00:03 -0700 (Fri, 21 Oct 2011)
> > New Revision: 64249
> > Trac:         http://trac.enlightenment.org/e/changeset/64249
> >
> > Modified:
> >  trunk/evas/src/lib/canvas/evas_render.c
> >
> > Modified: trunk/evas/src/lib/canvas/evas_render.c
> > ===================================================================
> > --- trunk/evas/src/lib/canvas/evas_render.c     2011-10-21 09:59:13 UTC
> > (rev 64248) +++ trunk/evas/src/lib/canvas/evas_render.c     2011-10-21
> > 10:00:03 UTC (rev 64249) @@ -1295,7 +1295,7 @@
> >      _evas_render_check_pending_objects(&e->pending_objects, e);
> >
> >    /* phase 1. add extra updates for changed objects */
> > -   if (e->invalidate || e->render_objects.count <= 0)
> > +/*   if (e->invalidate || e->render_objects.count <= 0)*/
> >      clean_them = _evas_render_phase1_process(e,
> >                                               &e->active_objects,
> >                                               &e->restack_objects,
> 
> This optimisation does really impact performance on low end hardware
> when they are not using evas map. Could you tell me what was the issue
> ? How to reproduce it ? So I can bring this optimisation back in

problem is actually this:

object a changes.
object b is a big solid object covering obj a entirely. b does NOT change.

now we render.
we SHOULD reduce this to a nop. but we dont. we are rendering the change region
even though its obscured. it's a bug. i reverted this already as i thought this
was the quick fix. it did - but it created new bugs. i fixed it elsewhere, but
now there is yet another corner case it doesnt detect and i don't know why.


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


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to