-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 2014-02-17 12:53, schrieb Martin Storsjö:
On Fri, 14 Feb 2014, Henri Verbeet wrote:
That's not technically true, no filtering would be D3DTEXF_NONE. I don't know if that's going to make a difference in practice though.
I tested that now as well, and there's no difference, the sharp edges in the YUV texture are blurred when scaled up.
I applied the other changes you suggested, those changes will be part of the next resend of the patchset. D3DTEXF_NONE behaves like D3DTEXF_POINT if used for minification or magnification. It only has a different behavior when assigned to D3DSAMP_MIPFILTER. There is no way to do no min/mag filtering when the source surface / texture size doesn't exactly match the destination rectangle size.
In my yuv_color_test cleanup patch I have reworded the comment to correctly say "point filtering" instead of "no filtering". -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTAf3GAAoJEN0/YqbEcdMwCXsQAJVp53HiaKCXBce/OtaodwlL axO2Pe8draccKUNupHDhTHtuXLcJV7uc3RV80VxN47h3sDchOFYz0j/H3hQZwuUo 0DrUWFCaLzGB3twpmyZq/zLgERizx6G5NVSMQJTIvAMmOzibJqHxgl+AHBWfmVGG hdldw5fLSbQCpacpbrWpNZOiap0Bs24XTw7si4S8q25PrM89lm8XJKJROnFatloF vvvtw2jbaWtzxQHoIt0y9SnZhDvpftJwDfPhN2jVDJnusuYAwZWTMtrQzHj/jUtI KuK8mxWJUhjocmgv23Qh43S92zOBxRqkz76V0xrPLjIcCMyBoCCojBkahQa0gSbG 1i25pApi59KrnRJ/zUNAOtIDea81Iq71YOVwnC2E/EqpG+vbqYl8mBeKxybrZ8jU S9JA+xsJL+ZFJ1NlTyU/KV4fweHgmerIaj12+XF3TeTR04L268EqDD2jIb14FTfy msaeAyckR2emN5midcFCjUUIEG+t1CsWInfdI8Z1X2sQugBHZvxUEOWovXoTarHi ji0cBNOEfEINtoNj7GIa7OdZsOkVncpUcI2ySTA9Ykb7cO25dYYk4hSmobE/Pvun KaeSsVvXALLfRraXg7cQnTg8Befx+gIZuvyYSK7MENe1S2F8fR257X5lrNXS3djE MEdB/nivZnLkSq4dk39D =gluy -----END PGP SIGNATURE-----