VTK  9.5.20250812
vtkEGLXConfig.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef vtkEGLXConfig_h
5#define vtkEGLXConfig_h
6
8
9#include "vtkABINamespace.h"
10
11VTK_ABI_NAMESPACE_BEGIN
12
22{
23public:
25
27
30 [[nodiscard]] void* GetDisplay() override { return EGL_NO_DISPLAY; }
31 [[nodiscard]] EGLenum GetPlatform() override { return EGL_PLATFORM_DEVICE_EXT; }
32 void CreateContext(EGLContext& context, EGLDisplay display, EGLConfig config) override;
34
39 EGLSurface& surface, EGLDisplay display, EGLConfig config, int width, int height) override;
40
45 void SetOnscreenRendering([[maybe_unused]] bool onscreenRendering) override
46 { /*noop*/
47 }
48};
49
50VTK_ABI_NAMESPACE_END
51
52#endif
Base class for EGL configuration.
vtkEGLXConfig
void CreateWindowSurface(EGLSurface &surface, EGLDisplay display, EGLConfig config, int width, int height) override
Create a pbuffer surface.
EGLenum GetPlatform() override
Implementation of vtkEGLConfig.
void SetOnscreenRendering(bool onscreenRendering) override
As only offscreen rendering is supported, this method is a noop and the onscreenRendering member is s...
void * GetDisplay() override
Implementation of vtkEGLConfig.
void CreateContext(EGLContext &context, EGLDisplay display, EGLConfig config) override
Implementation of vtkEGLConfig.