Skip to content

Check for other devices in vtkEGLRenderWindow

Stephen Crowell requested to merge stephen.crowell/vtk-fix-egl into master

This change implements a new environment variable: VTK_EGL_DEVICE_INDEX. This forces the VTK to initialize the device at the specified index. If this is not set, then the system will try to initialize VTK_DEFAULT_EGL_DEVICE_INDEX first and then all other devices found next. If no device can be initialized, then VTK exits.

This is part of getting GLVND EGL to work with VTK.

Merge request reports