VTK
9.5.20250810
|
#include <vtkEGLWaylandConfig.h>
Public Member Functions | |
vtkEGLWaylandConfig () | |
Setup wayland attributes. | |
~vtkEGLWaylandConfig () | |
void | CreateWindowSurface (EGLSurface &surface, EGLDisplay display, EGLConfig config, int width, int height) override |
Create the EGL window surface. | |
void * | GetDisplay () override |
Implementation of vtkEGLConfig. | |
EGLenum | GetPlatform () override |
Implementation of vtkEGLConfig. | |
void | CreateContext (EGLContext &context, EGLDisplay display, EGLConfig config) override |
Implementation of vtkEGLConfig. | |
![]() | |
vtkEGLConfig ()=default | |
virtual | ~vtkEGLConfig ()=default |
virtual void | SetOnscreenRendering (bool onscreenRendering) |
Set the onscreen rendering flag. | |
virtual EGLenum | GetPlatform ()=0 |
Get the platform type. | |
virtual void * | GetDisplay ()=0 |
Get the display object. | |
virtual void | CreateWindowSurface (EGLSurface &surface, EGLDisplay display, EGLConfig config, int width, int height)=0 |
Create an EGL window surface. | |
virtual void | CreateContext (EGLContext &context, EGLDisplay display, EGLConfig config)=0 |
Create an EGL context. | |
Additional Inherited Members | |
![]() | |
bool | OnscreenRendering = false |
This class is used to setup the EGL configuration for Wayland.
This wayland implementation depends on xdg-shell and not wl-shell, see: https://wayland-book.com/xdg-shell-basics.html
vtkEGLConfig vtkEGLRenderWindowInternals
Definition at line 26 of file vtkEGLWaylandConfig.h.
vtkEGLWaylandConfig::vtkEGLWaylandConfig | ( | ) |
Setup wayland attributes.
vtkEGLWaylandConfig::~vtkEGLWaylandConfig | ( | ) |
|
inlineoverridevirtual |
Implementation of vtkEGLConfig.
Implements vtkEGLConfig.
Definition at line 39 of file vtkEGLWaylandConfig.h.
|
inlineoverridevirtual |
Implementation of vtkEGLConfig.
Implements vtkEGLConfig.
Definition at line 40 of file vtkEGLWaylandConfig.h.
|
overridevirtual |
Implementation of vtkEGLConfig.
Implements vtkEGLConfig.
|
overridevirtual |
Create the EGL window surface.
If the vtkEGLRenderWindow required offscreen rendering, the surface is created using a pbuffer surface.
Requires the wl_display and wl_surface to be set.
Implements vtkEGLConfig.