added hook to take advantage of anisotropic filtering if supported
moved anisotropy stuff to gl-texture2d