Add callback for cvdisplaylink

Setup opengl context