In progress 2d graphics api using OpenGL