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. | |
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, int bufferCount, int usageFlags) | |
Constructor. | |
QnxEGLWindow (const QnxContext &qnxContext, int bufferCount, int usageFlags) | |
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. |
bufferCount | Amount of buffers to create for a window. |
usageFlags | Usage flag bit mask to use for a window. |
|
explicit |
Constructor.
qnxContext | QNX context. |
eglDisplay | EGL display. |
eglConfig | EGL config. |
bufferCount | Amount of buffers to create for a window. |
usageFlags | Usage flag bit mask to use for a window. |
|
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. |