-
Utkarsh Ayachit authored
This commit refactors QVTKOpenGLWindow, QVTKOpenGLWidget and QVTKOpenGLNativeWidget in following ways: * All these variants now use a single code-base, QVTKRenderWindowAdapter, that handles all the VTK rendering requirements within a Qt context. * QVTKRenderWindowAdapter respects attributes set on vtkRenderWindow to determining whether to use multisamples, double-buffering, stereo etc. * QVTKRenderWindowAdapter takes over the responsibility to propagated scaled DPI to the vtkRenderWindow. It can do it more robustly since it supports cases where device-pixel ratio changes due screen change or re-parenting. * Updating tests to test all the 3 variants whenever it makes sense. * minimum Qt version required is 5.6
693fdeec