Improve GL performance