Implementing the barebones for opengl integration.