OpenGL can be used inside ROOT even to render 2d Graphics if you set the resource OpenGL.CanvasPreferGL:
to 1 in $ROOTSYS/etc/system.rootrc
. Gl can also be invoke to render 3D plots. The geometry example are also base on GL ($ROOTSYS/tutorials/geom
).