[Smtk-developers] Image-based tests on dashboards

David Thompson david.thompson at kitware.com
Tue Mar 21 15:27:12 EDT 2017


Hi all,

I talked to Cory about the issues SMTK+CMB are having with retina displays.

1. The MR Sean McBride has put forth ( https://gitlab.kitware.com/vtk/vtk/merge_requests/2567 ) only solves some of the issues people are having. Sean does not have a retina display to test with.

2. As we suspected, VTK uses vtkCocoaRenderWindow while ParaView uses QVTKWidget (the latter is aware of retina displays) but there are still issues that appear to be related to vtkWindowToImageFilter and/or offscreen rendering of test images. This is why ParaView tests fail in one mode (image is correct size but viewport parameters appear to be incorrect; too large by a factor of 2) while VTK tests fail in another (image size is incorrect, too small by half). This may also be confounded by some Apple APIs reporting/accepting sizes in points with others in pixels.

3. Since it doesn't appear that everything will be fixed in the next day or two unless Cory takes ownership (which he is avoiding :-), it might be best to disable image tests on talos and other retina-display machines.

	David


More information about the Smtk-developers mailing list