Class representing a QNX EGL window. More...
#include <kanzi/core.ui/platform/windowing_ng/qnx_egl/qnx_egl_window.hpp>
Public Member Functions | |
| bool | createBuffers (int bufferCount) noexcept |
| Creates buffers for this window. | |
| KZ_NO_DISCARD optional< void * > | getNativeSurfaceHandle () const noexcept |
| Gets associated native EGL surface handle. | |
| KZ_NO_DISCARD optional< QnxWindow::NativeHandleType > | getNativeWindowHandle () const noexcept |
| Gets the associated window handle. | |
| bool | makeCurrent (const EGLDisplay &eglDisplay, const EGLContext &eglContext) noexcept |
| Binds a window surface to a context and the current thread. | |
| QnxEGLWindow (const QnxContext &qnxContext, const EGLDisplay &eglDisplay, const EGLConfig &eglConfig, optional< windowing::Size > windowSize, int bufferCount, int usageFlags, optional< int > pipelineID, optional< int > selfLayout) | |
| Constructor. | |
| QnxEGLWindow (const QnxContext &qnxContext, optional< windowing::Size > windowSize, int bufferCount, int usageFlags, optional< int > pipelineID, optional< int > selfLayout) | |
| Constructor. | |
| bool | setPosition (windowing::Position windowPosition) noexcept |
| Sets position for this window. | |
| bool | setSize (windowing::Size windowSize) noexcept |
| Sets size for this window. | |
| bool | setTitle (string_view windowTitle) noexcept |
| Sets a window title. | |
| bool | setUsageFlags (int usageFlags) noexcept |
| Sets usage flags for this window. | |
| bool | setZOrder (int zorder) noexcept |
| Sets z-order for this window. | |
| bool | show () noexcept |
| Shows this window. | |
| bool | swapBuffers (const EGLDisplay &eglDisplay) const |
| Posts rendering results. | |
| KZ_NO_DISCARD optional< windowing::Size > | tryGetSize () const noexcept |
| Tries to get the size for this window. | |
| bool | trySetPropertyDisplay (const QnxDisplay &qnxDisplay) noexcept |
| Sets the display for this window. | |
Class representing a QNX EGL window.
|
explicit |
Constructor.
| qnxContext | QNX context. |
| windowSize | Window size. |
| bufferCount | Amount of buffers to create for a window. |
| usageFlags | Usage flag bit mask to use for a window. |
| pipelineID | QNX Screen pipeline ID. |
| selfLayout | QNX window self layout option. |
|
explicit |
Constructor.
| qnxContext | QNX context. |
| eglDisplay | EGL display. |
| eglConfig | EGL config. |
| windowSize | Window size. |
| bufferCount | Amount of buffers to create for a window. |
| usageFlags | Usage flag bit mask to use for a window. |
| pipelineID | QNX Screen pipeline ID. |
| selfLayout | QNX window self layout option. |
|
inlinenoexcept |
Binds a window surface to a context and the current thread.
| eglDisplay | EGL display connection of the EGL context. |
| eglContext | EGL context to bind to. |
|
inline |
Posts rendering results.
Implicitly flushes the rendering pipeline and executes all received rendering commands before posting.
| eglDisplay | EGL display connection. |
|
inlinenoexcept |
Shows this window.
|
inlinenoexcept |
Tries to get the size for this window.
| nullopt | Getting the size failed. |
|
inlinenoexcept |
Sets size for this window.
| windowSize | Window size to set in pixels. |
|
inlinenoexcept |
Sets position for this window.
Child window and embedded window positions are relative to their parent window positions.
| windowPosition | Window position to set in pixels. |
Sets usage flags for this window.
| usageFlags | Usage flag bit mask to use. |
Sets z-order for this window.
| zorder | Z order to set. |
|
inlinenoexcept |
Sets a window title.
| windowTitle | Window title to set. |
Creates buffers for this window.
| bufferCount | Amount of buffers to create. |
|
inlinenoexcept |
Sets the display for this window.
| qnxDisplay | Display to set. |
|
noexcept |
Gets the associated window handle.
| nullopt | Error has occured. |
|
noexcept |
Gets associated native EGL surface handle.
| nullopt | Error has occured. |