My perf testing code.
Update documentation and add helper functions.
Add a test suite to do a bunch of different resizes to find problems. One problem found was an incorrect calculation of texel support how many margin texels needed when downsampling. When downsampling we need to spread out the support of each contributing texel, so to compensate you need more margin texels.
Same deal with height.
Fix. Ring buffers are a height value.