Add test for SWMipmap padding
Fix flipped textures when using partial webgl acceleration