From bdb3ccd1dd3aef2de55f68c8ba475209c8913146 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Wed, 19 Feb 2014 19:48:44 +0900 Subject: [PATCH] Evas filters: Add a note to the transform doc This is a special operation, with a simplistic implementation. --- src/lib/evas/filters/evas_filter_parser.c | 1 + src/lib/evas/filters/evas_filter_transform.c | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c index c3a401b1b1..19f841c2c8 100644 --- a/src/lib/evas/filters/evas_filter_parser.c +++ b/src/lib/evas/filters/evas_filter_parser.c @@ -1565,6 +1565,7 @@ _transform_padding_update(Evas_Filter_Program *pgm, Apply a geometrical transformation to a buffer. Right now, only vertical flip is implemented and available. + This operation does not blend and assumes the destination buffer is empty. @code transform (dst, op = vflip, src = input, oy = 0); diff --git a/src/lib/evas/filters/evas_filter_transform.c b/src/lib/evas/filters/evas_filter_transform.c index eaf1289a29..b284eba4cb 100644 --- a/src/lib/evas/filters/evas_filter_transform.c +++ b/src/lib/evas/filters/evas_filter_transform.c @@ -1,5 +1,12 @@ #include "evas_filter_private.h" +/* Apply geomeetrical transformations to a buffer. + * This filter is a bit simplistic at the moment. + * + * It also assumes the destination is empty, as it does not use blend + * operations. This should probably be fixed later on (use evas_map?). + */ + static Eina_Bool _vflip_cpu(Evas_Filter_Command *cmd) {