create GLView as parent of OffscreenView and QGLView. combine setRenderer()