Anisotropic filtering and GL extension query optimizations