Default X11 EGL graphics output. More...
#include <kanzi/core.ui/platform/graphics_output/x11_egl/default_x11_egl_graphics_output.hpp>
Public Member Functions | |
| bool | bringToFront () noexcept override |
| WindowedGraphicsOutput::bringToFront() implementation. More... | |
| KZ_NO_DISCARD optional< void * > | createImage (int target, void *data, int *attributes) noexcept override |
| GLGraphicsOutput::createImage() implementation. More... | |
| DefaultX11EGLGraphicsOutput (const DefaultX11EGLGraphicsOutputProperties &properties) | |
| Constructor. More... | |
| bool | destroyImage (void *image) noexcept override |
| GLGraphicsOutput::destroyImage() implementation. More... | |
| void | gatherEvents (EventQueue &queue) override |
| EventSource::gatherEvents() implementation. More... | |
| KZ_NO_DISCARD optional< SurfaceColorSpace > | getColorSpace () const noexcept override |
| GLGraphicsOutput::getColorSpace() implementation. More... | |
| KZ_NO_DISCARD optional< GraphicsContextAPI > | getGraphicsContextAPI () const noexcept override |
| GLGraphicsOutput::getGraphicsContextAPI() implementation. More... | |
| KZ_NO_DISCARD optional< void * > | getNativeContextHandle () const noexcept override |
| GLGraphicsOutput::getNativeContextHandle() implementation. More... | |
| KZ_NO_DISCARD optional< void * > | getNativeDisplayHandle () const noexcept override |
| GLGraphicsOutput::getNativeDisplayHandle() implementation. More... | |
| optional< NativeEventHandle > | getNativeEventHandle () const noexcept override |
| EventSource::getNativeEventHandle() implementation. More... | |
| KZ_NO_DISCARD optional< void * > | getNativeSurfaceHandle () const noexcept override |
| GLGraphicsOutput::getNativeSurfaceHandle() implementation. More... | |
| KZ_NO_DISCARD optional< NativeWindowHandle > | getNativeWindowHandle () const noexcept override |
| WindowedGraphicsOutput::getNativeWindowHandle() implementation. More... | |
| KZ_NO_DISCARD GLProcPointer | getProcAddress (string_view functionName) override |
| GLGraphicsOutput::getProcAddress() implementation. More... | |
| KZ_NO_DISCARD optional< SurfaceClientAPI > | getSurfaceClientAPI () const noexcept override |
| GLGraphicsOutput::getSurfaceClientAPI() implementation. More... | |
| KZ_NO_DISCARD Matrix4x4 | getTargetTransformation () const noexcept override |
| GLGraphicsOutput::getTargetTransformation() implementation. More... | |
| KZ_NO_DISCARD optional< unsigned int > | getWindowHeight () const noexcept override |
| WindowedGraphicsOutput::getWindowHeight() implementation. More... | |
| KZ_NO_DISCARD optional< int > | getWindowPositionX () const noexcept override |
| WindowedGraphicsOutput::getWindowPositionX() implementation. More... | |
| KZ_NO_DISCARD optional< int > | getWindowPositionY () const noexcept override |
| WindowedGraphicsOutput::getWindowPositionY() implementation. More... | |
| KZ_NO_DISCARD optional< string > | getWindowTitle () const noexcept override |
| WindowedGraphicsOutput::getWindowTitle() implementation. More... | |
| KZ_NO_DISCARD optional< unsigned int > | getWindowWidth () const noexcept override |
| WindowedGraphicsOutput::getWindowWidth() implementation. More... | |
| bool | hideWindow () noexcept override |
| WindowedGraphicsOutput::hideWindow() implementation. More... | |
| void | logWindowPosition () noexcept |
| Prints the active window position to the log. More... | |
| void | logWindowSize () noexcept |
| Prints the active window size to the log. More... | |
| bool | makeCurrent () override |
| GLGraphicsOutput::makeCurrent() implementation. More... | |
| bool | makeFullscreen () noexcept override |
| WindowedGraphicsOutput::makeFullscreen() implementation. More... | |
| bool | makeMaximized () noexcept override |
| WindowedGraphicsOutput::makeMaximized() implementation. More... | |
| bool | makeMinimized () noexcept override |
| WindowedGraphicsOutput::makeMinimized() implementation. More... | |
| bool | makeRegular () noexcept override |
| WindowedGraphicsOutput::makeRegular() implementation. More... | |
| bool | moveWindow (int positionX, int positionY) noexcept override |
| WindowedGraphicsOutput::moveWindow() implementation. More... | |
| bool | releaseCurrent () override |
| GLGraphicsOutput::releaseCurrent() implementation. More... | |
| bool | resize (unsigned int width, unsigned int height) noexcept override |
| WindowedGraphicsOutput::resize() implementation. More... | |
| bool | resizeWindow (unsigned int width, unsigned int height) noexcept override |
| WindowedGraphicsOutput::resizeWindow() implementation. More... | |
| bool | setWindowTitle (string_view title) noexcept override |
| WindowedGraphicsOutput::setWindowTitle() implementation. More... | |
| bool | showWindow () noexcept override |
| WindowedGraphicsOutput::showWindow() implementation. More... | |
| bool | swapBuffers () override |
| GLGraphicsOutput::swapBuffers() implementation. More... | |
| bool | swapInterval (int interval) override |
| GLGraphicsOutput::swapInterval() implementation. More... | |
| void | syncEvents () noexcept |
| Flushes and waits until the X server finishes processing all requests. More... | |
| bool | toggleFullScreen (bool doFullScreen) noexcept |
| Toggles the fullscreen window mode. More... | |
| bool | toggleMaximized (bool doMaximized) noexcept |
| Toggles the maximized window mode. More... | |
| ~DefaultX11EGLGraphicsOutput () | |
| Destructor. More... | |
Public Member Functions inherited from kanzi::GraphicsOutput | |
| KZ_NO_DISCARD Vector2 | getDpi () const noexcept |
| Returns the resolution of the target coordinate system in dots per inch. More... | |
| KZ_NO_DISCARD unsigned int | getHeight () const noexcept |
| Returns the height of layout area in the target coordinate system. More... | |
| KZ_NO_DISCARD unsigned int | getWidth () const noexcept |
| Returns the width of layout area in the target coordinate system. More... | |
| virtual | ~GraphicsOutput ()=default |
| Destructor. More... | |
Public Member Functions inherited from kanzi::EventSource | |
| virtual | ~EventSource ()=default |
| Destructor. More... | |
Public Member Functions inherited from kanzi::GLGraphicsOutput | |
| virtual | ~GLGraphicsOutput ()=default |
| Destructor. More... | |
Public Member Functions inherited from kanzi::WindowedGraphicsOutput | |
| virtual | ~WindowedGraphicsOutput ()=default |
| Destructor. More... | |
Protected Member Functions | |
| void | setTargetTransformation (Matrix4x4 targetTransformation) noexcept |
| Sets the target transformation. More... | |
| void | updateCachedValues (unsigned int width, unsigned int height) noexcept |
| Updates all cached values from a given layout size. More... | |
Protected Member Functions inherited from kanzi::GraphicsOutput | |
| void | updateDpi (Vector2 dpi) |
| Updates the target layout area resolution. More... | |
| void | updateSize (unsigned int width, unsigned int height) |
| Updates the target layout area size. More... | |
Additional Inherited Members | |
Public Types inherited from kanzi::GLGraphicsOutput | |
| using | GLProcPointer) = void(*)( |
| Pointer to GL function. More... | |
Default X11 EGL graphics output.
|
explicit |
Constructor.
| properties | Properties to request for the graphics output. |
| kanzi::x11::DefaultX11EGLGraphicsOutput::~DefaultX11EGLGraphicsOutput | ( | ) |
Destructor.
|
noexcept |
Prints the active window position to the log.
|
noexcept |
Prints the active window size to the log.
|
noexcept |
Toggles the fullscreen window mode.
| doFullScreen | To change to fullscreen window, true. To turn off the fullscreen mode, false. |
|
noexcept |
Toggles the maximized window mode.
| doMaximized | To maximize the window, true. To restore the window to its normal size, false. |
|
noexcept |
Flushes and waits until the X server finishes processing all requests.
|
overridevirtual |
EventSource::gatherEvents() implementation.
Implements kanzi::EventSource.
|
overridevirtualnoexcept |
EventSource::getNativeEventHandle() implementation.
Implements kanzi::EventSource.
|
overridevirtual |
GLGraphicsOutput::getProcAddress() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtual |
GLGraphicsOutput::makeCurrent() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtual |
GLGraphicsOutput::releaseCurrent() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtual |
GLGraphicsOutput::swapBuffers() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtual |
GLGraphicsOutput::swapInterval() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
GLGraphicsOutput::getNativeDisplayHandle() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
GLGraphicsOutput::getNativeContextHandle() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
GLGraphicsOutput::getNativeSurfaceHandle() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
GLGraphicsOutput::createImage() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
GLGraphicsOutput::destroyImage() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
GLGraphicsOutput::getGraphicsContextAPI() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
GLGraphicsOutput::getSurfaceClientAPI() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
GLGraphicsOutput::getColorSpace() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
GLGraphicsOutput::getTargetTransformation() implementation.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::resize() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::setWindowTitle() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowTitle() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::resizeWindow() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowWidth() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowHeight() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::moveWindow() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowPositionX() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowPositionY() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::makeFullscreen() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::makeRegular() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::makeMaximized() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::makeMinimized() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::showWindow() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::hideWindow() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::bringToFront() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getNativeWindowHandle() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
inlineprotectednoexcept |
Sets the target transformation.
| targetTransformation | The target transformation matrix. |
|
protectednoexcept |
Updates all cached values from a given layout size.
| width | The width of the layout area in pixels. |
| height | The height of the layout area in pixels. |