Add GL core functions