|
VTK
9.7.20260805
|
#include <vtkEGLMesaConfig.h>
This class is used to setup the EGL configuration for Mesa offscreen rendering. It supports offscreen rendering using EGL_MESA_platform_surfaceless extension, with optional software rendering via EGL_MESA_device_software when available.
Recommended setup: export GALLIUM_DRIVER=llvmpipe export EGL_PLATFORM=surfaceless
Definition at line 26 of file vtkEGLMesaConfig.h.
Public Member Functions | |
| vtkEGLMesaConfig () | |
| void | CreateWindowSurface (EGLSurface &surface, EGLDisplay display, EGLConfig config, int width, int height) override |
| Create a surfaceless surface (EGL_NO_SURFACE). | |
| void | SetOnscreenRendering (bool onscreenRendering) override |
| As only offscreen rendering is supported, this method is a noop and the onscreenRendering member is set to false in the constructor. | |
| void * | GetDisplay () override |
| Implementation of vtkEGLConfig. | |
| EGLenum | GetPlatform () override |
| Implementation of vtkEGLConfig. | |
| void | CreateContext (EGLContext &context, EGLDisplay display, EGLConfig config) override |
| Implementation of vtkEGLConfig. | |
Public Member Functions inherited from vtkEGLConfig | |
| vtkEGLConfig ()=default | |
| virtual | ~vtkEGLConfig ()=default |
Additional Inherited Members | |
Protected Attributes inherited from vtkEGLConfig | |
| bool | OnscreenRendering = false |
| vtkEGLMesaConfig::vtkEGLMesaConfig | ( | ) |
|
inlinenodiscardoverridevirtual |
Implementation of vtkEGLConfig.
Implements vtkEGLConfig.
Definition at line 35 of file vtkEGLMesaConfig.h.
|
inlinenodiscardoverridevirtual |
Implementation of vtkEGLConfig.
Implements vtkEGLConfig.
Definition at line 36 of file vtkEGLMesaConfig.h.
|
overridevirtual |
Implementation of vtkEGLConfig.
Implements vtkEGLConfig.
|
overridevirtual |
Create a surfaceless surface (EGL_NO_SURFACE).
Implements vtkEGLConfig.
|
inlineoverridevirtual |
As only offscreen rendering is supported, this method is a noop and the onscreenRendering member is set to false in the constructor.
Reimplemented from vtkEGLConfig.
Definition at line 50 of file vtkEGLMesaConfig.h.