Base class for surface-specific data. More...
#include <kanzi/platform/platform/gl/graphics_context/egl/egl_graphics_context.hpp>
Public Member Functions | |
| AbstractWindowSurface (AbstractWindowSurface &&) noexcept=delete | |
| Move constructor. | |
| AbstractWindowSurface (const AbstractWindowSurface &) noexcept=delete | |
| Copy constructor. | |
| virtual KZ_NO_DISCARD ::EGLSurface | getNativeSurface () const noexcept=0 |
| Gets the underlying EGL surface handle. | |
| AbstractWindowSurface & | operator= (AbstractWindowSurface &&) noexcept=delete |
| Move assignment operator. | |
| AbstractWindowSurface & | operator= (const AbstractWindowSurface &) noexcept=delete |
| Copy assignment operator. | |
| virtual bool | swapBuffers () noexcept=0 |
| Swaps EGL buffers. | |
| virtual | ~AbstractWindowSurface () noexcept=default |
| Destructor. | |
Protected Member Functions | |
| AbstractWindowSurface () noexcept=default | |
| Constructor. | |
Base class for surface-specific data.
Subclass this to provide a custom EGL window surface implementation. For the standard EGL window and pixmap surface case, use StandardSurface. For QNX stream-based surfaces, use QnxStreamsSurface.
|
virtualdefaultnoexcept |
Destructor.
|
deletenoexcept |
Copy constructor.
|
deletenoexcept |
Move constructor.
|
explicitprotecteddefaultnoexcept |
Constructor.
|
deletenoexcept |
Copy assignment operator.
|
deletenoexcept |
Move assignment operator.
|
pure virtualnoexcept |
Gets the underlying EGL surface handle.
Implemented in kanzi::platform::StandardSurface, and kanzi::platform::QnxStreamsSurface.
Swaps EGL buffers.
Implemented in kanzi::platform::StandardSurface, and kanzi::platform::QnxStreamsSurface.