Move texture handling responsability to TextureCache