remove unused methods in texture cache