Add refresh method for GLTexture.