<div dir="ltr">Looks correct to me, and a really good idea. I noticed this but did not know how to fix it, so I had to make sure only one optimization flag was turned on. The ability to turn on multiple ones is a lot better.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 16, 2016 at 9:14 PM, Søren Sandmann Pedersen <span dir="ltr"><<a href="mailto:soren.sandmann@gmail.com" target="_blank">soren.sandmann@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When a BILINEAR filter is reduced to NEAREST, it is possible for both<br>
types of fast paths to run; in this case, the NEAREST ones should be<br>
preferred as that is the simpler filter.<br>
<br>
Signed-off-by: Soren Sandmann <<a href="mailto:soren.sandmann@gmail.com">soren.sandmann@gmail.com</a>><br>
---<br>
pixman/pixman-fast-path.c | 4 ++--<br>
1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/pixman/pixman-fast-path.c b/pixman/pixman-fast-path.c<br>
index 53d4a1f..b4daa26 100644<br>
--- a/pixman/pixman-fast-path.c<br>
+++ b/pixman/pixman-fast-path.c<br>
@@ -3258,9 +3258,9 @@ static const pixman_iter_info_t fast_iters[] =<br>
},<br>
<br>
#define AFFINE_FAST_PATHS(name, format, repeat) \<br>
- SEPARABLE_CONVOLUTION_AFFINE_FAST_PATH(name, format, repeat) \<br>
+ NEAREST_AFFINE_FAST_PATH(name, format, repeat) \<br>
BILINEAR_AFFINE_FAST_PATH(name, format, repeat) \<br>
- NEAREST_AFFINE_FAST_PATH(name, format, repeat)<br>
+ SEPARABLE_CONVOLUTION_AFFINE_FAST_PATH(name, format, repeat)<br>
<br>
AFFINE_FAST_PATHS (pad_a8r8g8b8, a8r8g8b8, PAD)<br>
AFFINE_FAST_PATHS (none_a8r8g8b8, a8r8g8b8, NONE)<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.11.7<br>
<br>
_______________________________________________<br>
Pixman mailing list<br>
<a href="mailto:Pixman@lists.freedesktop.org">Pixman@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pixman" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pixman</a><br>
</font></span></blockquote></div><br></div>