Thin (thread-safe) layer on top of opengl 3+