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

vtkEGLAndroidConfig More...

#include <vtkEGLAndroidConfig.h>

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

Public Member Functions

 vtkEGLAndroidConfig ()
 Constructor for vtkEGLAndroidConfig.
 
void CreateWindowSurface (EGLSurface &surface, EGLDisplay display, EGLConfig config, int width, int height) override
 Create the window surface.
 
void SetOnscreenRendering (bool onscreenRendering) override
 As only onscreen rendering is supported, this method is a noop and the onscreenRendering member is set to true 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

vtkEGLAndroidConfig

This class implements the EGLConfig interface for Android. It supports only onscreen rendering.

Definition at line 19 of file vtkEGLAndroidConfig.h.

Constructor & Destructor Documentation

◆ vtkEGLAndroidConfig()

vtkEGLAndroidConfig::vtkEGLAndroidConfig ( )

Constructor for vtkEGLAndroidConfig.

Override the default value of the OnscreenRendering to true.

Member Function Documentation

◆ GetDisplay()

void * vtkEGLAndroidConfig::GetDisplay ( )
inlineoverridevirtual

Implementation of vtkEGLConfig.

Implements vtkEGLConfig.

Definition at line 32 of file vtkEGLAndroidConfig.h.

◆ GetPlatform()

EGLenum vtkEGLAndroidConfig::GetPlatform ( )
inlineoverridevirtual

Implementation of vtkEGLConfig.

Implements vtkEGLConfig.

Definition at line 33 of file vtkEGLAndroidConfig.h.

◆ CreateContext()

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

Implementation of vtkEGLConfig.

Implements vtkEGLConfig.

◆ CreateWindowSurface()

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

Create the window surface.

Implements vtkEGLConfig.

◆ SetOnscreenRendering()

void vtkEGLAndroidConfig::SetOnscreenRendering ( bool  onscreenRendering)
inlineoverridevirtual

As only onscreen rendering is supported, this method is a noop and the onscreenRendering member is set to true in the constructor.

Reimplemented from vtkEGLConfig.

Definition at line 47 of file vtkEGLAndroidConfig.h.


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