-----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".