Skip to content

Cleanup offscreen support

Cleanup ParaView offscreen support.

This updates ParaView to incorporate changes to VTK to support EGL and GLX in the same build. We also take this opportunity to clean up a few things:

  1. ParaView processes (i.e. pvpython, pvserver, pvbatch etc) can now decide if they need to be off-screen or on-screen on their own. This is based on the process type and configuration ParaView is running in.

  2. Users can override this by passing new command line arguments to the process: --force-onscreen-rendering or --force-offscreen-rendering. The old --use-offscreen-rendering flag is now deprecated and is interpreted as --force-offscreen-rendering.

  3. UseOffscreenRendering and UseOffscreenRenderingForScreenshots properties on views have been removed. UseOffscreenRendering conflicts with 2 while UseOffscreenRenderingForScreenshots was not used in OpenGL2.

  4. Deprecated vtkPVDisplayInformation and replaced it with vtkPVRenderingCapabilitiesInformation. This provides more information that just DISPLAY.

  5. vtkPVOpenGLExtensionsInformation is deprecated since it not useful anymore. Client applications don't need such exhaustive extension query.

  6. vtkPVOpenGLInformation was cleaned up to avoid making OpenGL calls itself. Instead, it queries the vtkRenderWindow. It also provides full extension list, a semi-replacement for vtkPVOpenGLExtensionsInformation.

This has exposed a host of issues in the rendering code:

Edited by Utkarsh Ayachit

Merge request reports