Implement OpenGL constant buffer creation.