WIP: gl util library.