Add more missing GL functions to GL state machine