VTK  9.5.20250811
Public Member Functions | List of all members
vtkEGLXConfig Class Reference

vtkEGLXConfig More...

#include <vtkEGLXConfig.h>

Inheritance diagram for vtkEGLXConfig:
[legend]
Collaboration diagram for vtkEGLXConfig:
[legend]

Public Member Functions

 vtkEGLXConfig ()
 
void CreateWindowSurface (EGLSurface &surface, EGLDisplay display, EGLConfig config, int width, int height) override
 Create a pbuffer 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
 
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

- Protected Attributes inherited from vtkEGLConfig
bool OnscreenRendering = false
 

Detailed Description

vtkEGLXConfig

This class is used to setup the EGL configuration for X. It supports only offscreen rendering.

vtkEGLRenderWindowInternals

Definition at line 21 of file vtkEGLXConfig.h.

Constructor & Destructor Documentation

◆ vtkEGLXConfig()

vtkEGLXConfig::vtkEGLXConfig ( )

Member Function Documentation

◆ GetDisplay()

void * vtkEGLXConfig::GetDisplay ( )
inlineoverridevirtual

Implementation of vtkEGLConfig.

Implements vtkEGLConfig.

Definition at line 30 of file vtkEGLXConfig.h.

◆ GetPlatform()

EGLenum vtkEGLXConfig::GetPlatform ( )
inlineoverridevirtual

Implementation of vtkEGLConfig.

Implements vtkEGLConfig.

Definition at line 31 of file vtkEGLXConfig.h.

◆ CreateContext()

void vtkEGLXConfig::CreateContext ( EGLContext &  context,
EGLDisplay  display,
EGLConfig  config 
)
overridevirtual

Implementation of vtkEGLConfig.

Implements vtkEGLConfig.

◆ CreateWindowSurface()

void vtkEGLXConfig::CreateWindowSurface ( EGLSurface &  surface,
EGLDisplay  display,
EGLConfig  config,
int  width,
int  height 
)
overridevirtual

Create a pbuffer surface.

Implements vtkEGLConfig.

◆ SetOnscreenRendering()

void vtkEGLXConfig::SetOnscreenRendering ( bool  onscreenRendering)
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 45 of file vtkEGLXConfig.h.


The documentation for this class was generated from the following file: