Reduce unnecessary GL API calls