Skip to content

Combination of VTK_USE_X and VTK_USE_OSMESA possible

See vtkusers e-mail thread with subject "Combined on-screen and off-screen possible with VTK-7.0.0 on linux/X?" for more details.

On my system, combining OSMesa (VTK_USE_OSMESA) and OpenGL (VTK_USE_X) is possible, and the current OSMesa FAQ (http://www.mesa3d.org/osmesa.html) does not indicate otherwise.

In this commit, the VTK_OPENGL_HAS_OSMESA option has been removed since it seems that it was not used.

There is a conflict with the vtk:master HEAD, since the if(APPLE) has been removed in the meantime, but this is easy to solve.

I hope that it can be tested quickly such that integration into 7.0.0 is still possible.

Merge request reports