Evas filters: Use smooth scaling by default for proxies
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 25 Jun 2015 06:02:44 +0000 (15:02 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 25 Jun 2015 06:02:44 +0000 (15:02 +0900)
Is it too slow? Then I guess a new API option will be required.

src/lib/evas/filters/evas_filter_utils.c

index 088cb53..c643c67 100644 (file)
@@ -58,7 +58,7 @@ evas_filter_buffer_scaled_get(Evas_Filter_Context *ctx,
              dc.sli.h = 1;
              dc.render_op = EVAS_RENDER_COPY;
 
-             ok = evas_common_scale_rgba_in_to_out_clip_sample
+             ok = evas_common_scale_rgba_in_to_out_clip_smooth
                    (s, d, &dc, 0, 0, src->w, src->h, 0, 0, w, h);
              if (!ok)
                {