Unifying the OpenGL 3 core profile and OpenGL ES 2