Kanzi 3.9.10
kanzi::qnx::DefaultQnxEGLGraphicsOutput Class Reference

Class representing a default QNX EGL graphics output. More...

#include <kanzi/core.ui/platform/graphics_output/qnx_egl/default_qnx_egl_graphics_output.hpp>

Inheritance diagram for kanzi::qnx::DefaultQnxEGLGraphicsOutput:
[legend]

Public Member Functions

bool bringToFront () noexcept override
 WindowedGraphicsOutput::bringToFront() implementation.
 
KZ_NO_DISCARD optional< void * > createImage (int target, void *data, int *attributes) noexcept override
 GLGraphicsOutput::createImage() implementation.
 
 DefaultQnxEGLGraphicsOutput (const DefaultQnxEGLGraphicsOutput &)=delete
 Copy constructor.
 
 DefaultQnxEGLGraphicsOutput (const DefaultQnxEGLGraphicsOutputProperties &properties)
 Constructor.
 
 DefaultQnxEGLGraphicsOutput (DefaultQnxEGLGraphicsOutput &&) noexcept=delete
 Move constructor.
 
bool destroyImage (void *image) noexcept override
 GLGraphicsOutput::destroyImage() implementation.
 
bool flushContext () noexcept
 Flushes any pending QNX Screen requests to the compositor.
 
void gatherEvents (EventQueue &queue) override
 EventSource::gatherEvents() implementation.
 
optional< SurfaceColorSpacegetColorSpace () const noexcept override
 GLGraphicsOutput::getColorSpace() implementation.
 
optional< GraphicsContextAPIgetGraphicsContextAPI () const noexcept override
 GLGraphicsOutput::getGraphicsContextAPI() implementation.
 
KZ_NO_DISCARD optional< void * > getNativeContextHandle () const noexcept override
 GLGraphicsOutput::getNativeContextHandle() implementation.
 
KZ_NO_DISCARD optional< void * > getNativeDisplayHandle () const noexcept override
 GLGraphicsOutput::getNativeDisplayHandle() implementation.
 
optional< NativeEventHandlegetNativeEventHandle () const noexcept override
 EventSource::getNativeEventHandle() implementation.
 
KZ_NO_DISCARD optional< void * > getNativeSurfaceHandle () const noexcept override
 GLGraphicsOutput::getNativeSurfaceHandle() implementation.
 
optional< NativeWindowHandlegetNativeWindowHandle () const noexcept override
 WindowedGraphicsOutput::getNativeWindowHandle() implementation.
 
KZ_NO_DISCARD GLProcPointer getProcAddress (string_view functionName) override
 GLGraphicsOutput::getProcAddress() implementation.
 
optional< SurfaceClientAPIgetSurfaceClientAPI () const noexcept override
 GLGraphicsOutput::getSurfaceClientAPI() implementation.
 
Matrix4x4 getTargetTransformation () const noexcept override
 GLGraphicsOutput::getTargetTransformation() implementation.
 
optional< unsigned intgetWindowHeight () const noexcept override
 WindowedGraphicsOutput::getWindowHeight() implementation.
 
optional< intgetWindowPositionX () const noexcept override
 WindowedGraphicsOutput::getWindowPositionX() implementation.
 
optional< intgetWindowPositionY () const noexcept override
 WindowedGraphicsOutput::getWindowPositionY() implementation.
 
optional< string > getWindowTitle () const noexcept override
 WindowedGraphicsOutput::getWindowTitle() implementation.
 
optional< unsigned intgetWindowWidth () const noexcept override
 WindowedGraphicsOutput::getWindowWidth() implementation.
 
bool hideWindow () noexcept override
 WindowedGraphicsOutput::hideWindow() implementation.
 
void logWindowPosition () const noexcept
 Prints the active window position to log.
 
void logWindowSize () const noexcept
 Prints the active window size to log.
 
bool makeCurrent () noexcept override
 GLGraphicsOutput::makeCurrent() implementation.
 
bool makeFullscreen () noexcept override
 WindowedGraphicsOutput::makeFullscreen() implementation.
 
bool makeMaximized () noexcept override
 WindowedGraphicsOutput::makeMaximized() implementation.
 
bool makeMinimized () noexcept override
 WindowedGraphicsOutput::makeMinimized() implementation.
 
bool makeRegular () noexcept override
 WindowedGraphicsOutput::makeRegular() implementation.
 
bool makeWindowOpaque () noexcept
 Makes the active window fully opaque.
 
bool moveWindow (int positionX, int positionY) noexcept override
 WindowedGraphicsOutput::moveWindow() implementation.
 
DefaultQnxEGLGraphicsOutputoperator= (const DefaultQnxEGLGraphicsOutput &)=delete
 Copy assignment operator.
 
DefaultQnxEGLGraphicsOutputoperator= (DefaultQnxEGLGraphicsOutput &&) noexcept=delete
 Move assignment operator.
 
bool releaseCurrent () noexcept override
 GLGraphicsOutput::releaseCurrent() implementation.
 
bool resize (unsigned int width, unsigned int height) noexcept override
 WindowedGraphicsOutput::resize() implementation.
 
bool resizeWindow (unsigned int width, unsigned int height) noexcept override
 WindowedGraphicsOutput::resizeWindow() implementation.
 
bool setWindowTitle (string_view title) noexcept override
 WindowedGraphicsOutput::setWindowTitle() implementation.
 
bool setWindowZOrder (int zorder) noexcept
 Sets the z ordering for the active window related to all other windows currently visible.
 
bool showWindow () noexcept override
 WindowedGraphicsOutput::showWindow() implementation.
 
bool swapBuffers () override
 GLGraphicsOutput::swapBuffers() implementation.
 
bool swapInterval (int interval) override
 GLGraphicsOutput::swapInterval() implementation.
 
 ~DefaultQnxEGLGraphicsOutput ()
 Destructor.
 
- 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.
 
KZ_NO_DISCARD unsigned int getHeight () const noexcept
 Returns the height of layout area in the target coordinate system.
 
KZ_NO_DISCARD unsigned int getWidth () const noexcept
 Returns the width of layout area in the target coordinate system.
 
virtual ~GraphicsOutput ()=default
 Destructor.
 
- Public Member Functions inherited from kanzi::EventSource
virtual ~EventSource ()=default
 Destructor.
 
- Public Member Functions inherited from kanzi::GLGraphicsOutput
virtual ~GLGraphicsOutput ()=default
 Destructor.
 
- Public Member Functions inherited from kanzi::WindowedGraphicsOutput
virtual ~WindowedGraphicsOutput ()=default
 Destructor.
 

Protected Member Functions

void setTargetTransformation (Matrix4x4 targetTransformation) noexcept
 Sets the target transformation.
 
void updateCachedValues (unsigned int width, unsigned int height) noexcept
 Updates all cached values from given layout size.
 
- Protected Member Functions inherited from kanzi::GraphicsOutput
void updateDpi (Vector2 dpi)
 Updates the target layout area resolution.
 
void updateSize (unsigned int width, unsigned int height)
 Updates the target layout area size.
 

Additional Inherited Members

- Public Types inherited from kanzi::GLGraphicsOutput
using GLProcPointer
 Pointer to GL function.
 

Detailed Description

Class representing a default QNX EGL graphics output.

Constructor & Destructor Documentation

◆ DefaultQnxEGLGraphicsOutput() [1/3]

kanzi::qnx::DefaultQnxEGLGraphicsOutput::DefaultQnxEGLGraphicsOutput ( const DefaultQnxEGLGraphicsOutputProperties & properties)
explicit

Constructor.

Parameters
propertiesSpecifies properties to request for the graphics output.

◆ ~DefaultQnxEGLGraphicsOutput()

kanzi::qnx::DefaultQnxEGLGraphicsOutput::~DefaultQnxEGLGraphicsOutput ( )

Destructor.

◆ DefaultQnxEGLGraphicsOutput() [2/3]

kanzi::qnx::DefaultQnxEGLGraphicsOutput::DefaultQnxEGLGraphicsOutput ( const DefaultQnxEGLGraphicsOutput & )
delete

Copy constructor.

◆ DefaultQnxEGLGraphicsOutput() [3/3]

kanzi::qnx::DefaultQnxEGLGraphicsOutput::DefaultQnxEGLGraphicsOutput ( DefaultQnxEGLGraphicsOutput && )
deletenoexcept

Move constructor.

Member Function Documentation

◆ operator=() [1/2]

DefaultQnxEGLGraphicsOutput & kanzi::qnx::DefaultQnxEGLGraphicsOutput::operator= ( const DefaultQnxEGLGraphicsOutput & )
delete

Copy assignment operator.

◆ operator=() [2/2]

DefaultQnxEGLGraphicsOutput & kanzi::qnx::DefaultQnxEGLGraphicsOutput::operator= ( DefaultQnxEGLGraphicsOutput && )
deletenoexcept

Move assignment operator.

◆ logWindowPosition()

void kanzi::qnx::DefaultQnxEGLGraphicsOutput::logWindowPosition ( ) const
noexcept

Prints the active window position to log.

◆ logWindowSize()

void kanzi::qnx::DefaultQnxEGLGraphicsOutput::logWindowSize ( ) const
noexcept

Prints the active window size to log.

◆ setWindowZOrder()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::setWindowZOrder ( int zorder)
noexcept

Sets the z ordering for the active window related to all other windows currently visible.

Parameters
zorderZ ordering.
Returns
True on success, false on failure.

◆ makeWindowOpaque()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::makeWindowOpaque ( )
noexcept

Makes the active window fully opaque.

Returns
True on success, false on failure.

◆ flushContext()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::flushContext ( )
noexcept

Flushes any pending QNX Screen requests to the compositor.

Returns
True on success, false on failure.

◆ gatherEvents()

void kanzi::qnx::DefaultQnxEGLGraphicsOutput::gatherEvents ( EventQueue & queue)
overridevirtual

EventSource::gatherEvents() implementation.

Implements kanzi::EventSource.

◆ getNativeEventHandle()

optional< NativeEventHandle > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getNativeEventHandle ( ) const
overridevirtualnoexcept

◆ getProcAddress()

KZ_NO_DISCARD GLProcPointer kanzi::qnx::DefaultQnxEGLGraphicsOutput::getProcAddress ( string_view functionName)
overridevirtual

◆ makeCurrent()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::makeCurrent ( )
overridevirtualnoexcept

◆ releaseCurrent()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::releaseCurrent ( )
overridevirtualnoexcept

◆ swapBuffers()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::swapBuffers ( )
overridevirtual

◆ swapInterval()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::swapInterval ( int interval)
overridevirtual

◆ getTargetTransformation()

Matrix4x4 kanzi::qnx::DefaultQnxEGLGraphicsOutput::getTargetTransformation ( ) const
overridevirtualnoexcept

◆ getGraphicsContextAPI()

optional< GraphicsContextAPI > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getGraphicsContextAPI ( ) const
overridevirtualnoexcept

◆ getSurfaceClientAPI()

optional< SurfaceClientAPI > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getSurfaceClientAPI ( ) const
overridevirtualnoexcept

◆ getColorSpace()

optional< SurfaceColorSpace > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getColorSpace ( ) const
overridevirtualnoexcept

◆ getNativeDisplayHandle()

KZ_NO_DISCARD optional< void * > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getNativeDisplayHandle ( ) const
overridevirtualnoexcept

◆ getNativeContextHandle()

KZ_NO_DISCARD optional< void * > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getNativeContextHandle ( ) const
overridevirtualnoexcept

◆ getNativeSurfaceHandle()

KZ_NO_DISCARD optional< void * > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getNativeSurfaceHandle ( ) const
overridevirtualnoexcept

◆ createImage()

KZ_NO_DISCARD optional< void * > kanzi::qnx::DefaultQnxEGLGraphicsOutput::createImage ( int target,
void * data,
int * attributes )
overridevirtualnoexcept

◆ destroyImage()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::destroyImage ( void * image)
overridevirtualnoexcept

◆ resize()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::resize ( unsigned int width,
unsigned int height )
overridevirtualnoexcept

◆ setWindowTitle()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::setWindowTitle ( string_view title)
overridevirtualnoexcept

◆ getWindowTitle()

optional< string > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getWindowTitle ( ) const
overridevirtualnoexcept

◆ resizeWindow()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::resizeWindow ( unsigned int width,
unsigned int height )
overridevirtualnoexcept

◆ getWindowWidth()

optional< unsigned int > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getWindowWidth ( ) const
overridevirtualnoexcept

◆ getWindowHeight()

optional< unsigned int > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getWindowHeight ( ) const
overridevirtualnoexcept

◆ moveWindow()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::moveWindow ( int positionX,
int positionY )
overridevirtualnoexcept

◆ getWindowPositionX()

optional< int > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getWindowPositionX ( ) const
overridevirtualnoexcept

◆ getWindowPositionY()

optional< int > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getWindowPositionY ( ) const
overridevirtualnoexcept

◆ makeFullscreen()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::makeFullscreen ( )
overridevirtualnoexcept

◆ makeRegular()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::makeRegular ( )
overridevirtualnoexcept

◆ makeMaximized()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::makeMaximized ( )
overridevirtualnoexcept

◆ makeMinimized()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::makeMinimized ( )
overridevirtualnoexcept

◆ showWindow()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::showWindow ( )
overridevirtualnoexcept

◆ hideWindow()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::hideWindow ( )
overridevirtualnoexcept

◆ bringToFront()

bool kanzi::qnx::DefaultQnxEGLGraphicsOutput::bringToFront ( )
overridevirtualnoexcept

◆ getNativeWindowHandle()

optional< NativeWindowHandle > kanzi::qnx::DefaultQnxEGLGraphicsOutput::getNativeWindowHandle ( ) const
overridevirtualnoexcept

◆ setTargetTransformation()

void kanzi::qnx::DefaultQnxEGLGraphicsOutput::setTargetTransformation ( Matrix4x4 targetTransformation)
inlineprotectednoexcept

Sets the target transformation.

Parameters
targetTransformationThe target transformation matrix.

◆ updateCachedValues()

void kanzi::qnx::DefaultQnxEGLGraphicsOutput::updateCachedValues ( unsigned int width,
unsigned int height )
protectednoexcept

Updates all cached values from given layout size.

Parameters
widthLayout area width in pixels.
heightLayout area height in pixels.

The documentation for this class was generated from the following file: