3#ifndef vtkEGLAndroidConfig_h
4#define vtkEGLAndroidConfig_h
7#include "vtkABINamespace.h"
9#include <android/native_window.h>
11VTK_ABI_NAMESPACE_BEGIN
32 [[nodiscard]]
void*
GetDisplay()
override {
return EGL_NO_DISPLAY; }
33 [[nodiscard]] EGLenum
GetPlatform()
override {
return EGL_PLATFORM_DEVICE_EXT; }
34 void CreateContext(EGLContext& context, EGLDisplay display, EGLConfig config)
override;
41 EGLSurface& surface, EGLDisplay display, EGLConfig config,
int width,
int height)
override;
52 EGLNativeWindowType Window;
void CreateContext(EGLContext &context, EGLDisplay display, EGLConfig config) override
Implementation of vtkEGLConfig.
vtkEGLAndroidConfig()
Constructor for vtkEGLAndroidConfig.
void SetOnscreenRendering(bool onscreenRendering) override
As only onscreen rendering is supported, this method is a noop and the onscreenRendering member is se...
void * GetDisplay() override
Implementation of vtkEGLConfig.
EGLenum GetPlatform() override
Implementation of vtkEGLConfig.
void CreateWindowSurface(EGLSurface &surface, EGLDisplay display, EGLConfig config, int width, int height) override
Create the window surface.
Base class for EGL configuration.