On Fri, Apr 22, 2011 at 5:17 PM, Carsten Haitzler <ras...@rasterman.com> wrote:
> On Fri, 22 Apr 2011 14:33:14 +0200 Cedric BAIL <cedric.b...@free.fr> said:
>
>> On Fri, Apr 22, 2011 at 1:47 PM, Enlightenment SVN
>> <no-re...@enlightenment.org> wrote:
>> > Log:
>> > an initial test at trying pixman instead of evas software rendering.
>> >  results... in comments. disabled atm unless u --enable it. only
>> >  replaces 1 operation in 2 cases.
>> >
>> > Author:       raster
>> > Date:         2011-04-22 04:47:14 -0700 (Fri, 22 Apr 2011)
>> > New Revision: 58824
>> > Trac:         http://trac.enlightenment.org/e/changeset/58824
>>
>> > Modified: trunk/evas/src/lib/engines/common/evas_image_scalecache.c
>> > ===================================================================
>> > --- trunk/evas/src/lib/engines/common/evas_image_scalecache.c   2011-04-22
>> > 09:56:49 UTC (rev 58823) +++
>> > trunk/evas/src/lib/engines/common/evas_image_scalecache.c   2011-04-22
>> > 11:47:14 UTC (rev 58824) @@ -518,18 +518,11 @@ LKU(im->cache.lock);
>> >         if (im->image.data)
>> >           {
>> > -             if (smooth)
>> > -               evas_common_scale_rgba_in_to_out_clip_smooth(im, dst, dc,
>> > -                                                            src_region_x,
>> > src_region_y,
>> > -                                                            src_region_w,
>> > src_region_h,
>> > -                                                            dst_region_x,
>> > dst_region_y,
>> > -                                                            dst_region_w,
>> > dst_region_h);
>> > -             else
>> > -               evas_common_scale_rgba_in_to_out_clip_sample(im, dst, dc,
>> > -                                                            src_region_x,
>> > src_region_y,
>> > -                                                            src_region_w,
>> > src_region_h,
>> > -                                                            dst_region_x,
>> > dst_region_y,
>> > -                                                            dst_region_w,
>> > dst_region_h);
>> > +             evas_common_scale_rgba_in_to_out_clip_sample(im, dst, dc,
>> > +                                                          src_region_x,
>> > src_region_y,
>> > +                                                          src_region_w,
>> > src_region_h,
>> > +                                                          dst_region_x,
>> > dst_region_y,
>> > +                                                          dst_region_w,
>> > dst_region_h); }
>> >         return;
>> >      }
>>
>> Sounds to me like you just removed smooth rendering. Don't know
>> enought the code to be sure, so could you just check that's what you
>> intended to do ?
>
> check an outer if there....
>   if ((src_region_w == dst_region_w) && (src_region_h == dst_region_h))
>
> (if the image... is.. .NOT scaled (src == dest size)) :)

Hehe, missed that in fact ! :)
-- 
Cedric BAIL
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to