Kanzi 3.9.10
kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput Class Reference

Class that represents the default Wayland IVI EGL graphics output. More...

#include <kanzi/core.ui/platform/graphics_output/wayland_ivi_egl/default_wayland_ivi_egl_graphics_output.hpp>

Inheritance diagram for kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput:
[legend]

Public Member Functions

void bringLayerToFront () noexcept
 Brings the layer on top of all the other layers on a screen.
 
void bringSurfaceToFront () noexcept
 Brings the surface on top of all the other surfaces in a layer.
 
bool bringToFront () noexcept override
 WindowedGraphicsOutput::bringToFront() implementation.
 
KZ_NO_DISCARD optional< void * > createImage (int target, void *data, int *attributes) noexcept override
 GLGraphicsOutput::createImage() implementation.
 
 DefaultWaylandIVIEGLGraphicsOutput (const DefaultWaylandIVIEGLGraphicsOutput &)=delete
 Copy constructor.
 
 DefaultWaylandIVIEGLGraphicsOutput (const DefaultWaylandIVIEGLGraphicsOutputProperties &properties)
 Constructor.
 
 DefaultWaylandIVIEGLGraphicsOutput (DefaultWaylandIVIEGLGraphicsOutput &&) noexcept=delete
 Move constructor.
 
bool destroyImage (void *image) noexcept override
 GLGraphicsOutput::destroyImage() implementation.
 
bool dispatch () const noexcept
 Dispatches queued Wayland events.
 
bool dispatchPending () const noexcept
 Dispatches queued Wayland events.
 
void eventNotification (const WaylandEvent &event) noexcept override
 AbstractDefaultWaylandContext::eventNotification() implementation.
 
void gatherEvents (EventQueue &queue) override
 EventSource::gatherEvents() implementation.
 
KZ_NO_DISCARD optional< SurfaceColorSpacegetColorSpace () const noexcept override
 GLGraphicsOutput::getColorSpace() implementation.
 
KZ_NO_DISCARD optional< GraphicsContextAPIgetGraphicsContextAPI () const noexcept override
 GLGraphicsOutput::getGraphicsContextAPI() implementation.
 
KZ_NO_DISCARD int getLayerPositionX () const noexcept
 Gets the X coordinate of a layer.
 
KZ_NO_DISCARD int getLayerPositionY () const noexcept
 Gets the Y coordinate of a layer.
 
KZ_NO_DISCARD optional< void * > getNativeContextHandle () const noexcept override
 GLGraphicsOutput::getNativeContextHandle() implementation.
 
KZ_NO_DISCARD optional< void * > getNativeDisplayHandle () const noexcept override
 GLGraphicsOutput::getNativeDisplayHandle() implementation.
 
KZ_NO_DISCARD optional< NativeEventHandlegetNativeEventHandle () const noexcept override
 EventSource::getNativeEventHandle() implementation.
 
KZ_NO_DISCARD optional< void * > getNativeSurfaceHandle () const noexcept override
 GLGraphicsOutput::getNativeSurfaceHandle() implementation.
 
KZ_NO_DISCARD optional< NativeWindowHandlegetNativeWindowHandle () const noexcept override
 WindowedGraphicsOutput::getNativeWindowHandle() implementation.
 
KZ_NO_DISCARD GLProcPointer getProcAddress (string_view functionName) override
 GLGraphicsOutput::getProcAddress() implementation.
 
KZ_NO_DISCARD windowing::Size getResolution () const noexcept
 Gets the resolution of a screen.
 
KZ_NO_DISCARD optional< SurfaceClientAPIgetSurfaceClientAPI () const noexcept override
 GLGraphicsOutput::getSurfaceClientAPI() implementation.
 
KZ_NO_DISCARD int getSurfacePositionX () const noexcept
 Gets the X coordinate of a surface.
 
KZ_NO_DISCARD int getSurfacePositionY () const noexcept
 Gets the Y coordinate of a surface.
 
KZ_NO_DISCARD Matrix4x4 getTargetTransformation () const noexcept override
 GLGraphicsOutput::getTargetTransformation() implementation.
 
KZ_NO_DISCARD const WaylandDisplaygetWaylandDisplay () const noexcept
 Gets the WaylandDisplay.
 
KZ_NO_DISCARD optional< unsigned intgetWindowHeight () const noexcept override
 WindowedGraphicsOutput::getWindowHeight() implementation.
 
KZ_NO_DISCARD optional< intgetWindowPositionX () const noexcept override
 WindowedGraphicsOutput::getWindowPositionX() implementation.
 
KZ_NO_DISCARD optional< intgetWindowPositionY () const noexcept override
 WindowedGraphicsOutput::getWindowPositionY() implementation.
 
KZ_NO_DISCARD optional< string > getWindowTitle () const noexcept override
 WindowedGraphicsOutput::getWindowTitle() implementation.
 
KZ_NO_DISCARD optional< unsigned intgetWindowWidth () const noexcept override
 WindowedGraphicsOutput::getWindowWidth() implementation.
 
void hideLayer () noexcept
 Hides a layer.
 
void hideSurface () noexcept
 Hides a surface.
 
bool hideWindow () noexcept override
 WindowedGraphicsOutput::hideWindow() implementation.
 
bool makeCurrent () override
 GLGraphicsOutput::makeCurrent() implementation.
 
bool makeFullscreen () noexcept override
 WindowedGraphicsOutput::makeFullscreen() implementation.
 
void makeLayerMaximized () noexcept
 Sets a layer to take up an entire screen.
 
bool makeMaximized () noexcept override
 WindowedGraphicsOutput::makeMaximized() implementation.
 
bool makeMinimized () noexcept override
 WindowedGraphicsOutput::makeMinimized() implementation.
 
bool makeRegular () noexcept override
 WindowedGraphicsOutput::makeRegular() implementation.
 
void makeSurfaceMaximized () noexcept
 Sets a surface to take up an entire layer.
 
void modeChangeNotification (int width, int height, int refresh) noexcept override
 AbstractDefaultWaylandContext::modeChangeNotification() implementation.
 
void moveLayer (int positionX, int positionY) noexcept
 Moves a layer to the specified coordinates.
 
void moveSurface (int positionX, int positionY) noexcept
 Moves a surface to the specified coordinates.
 
bool moveWindow (int positionX, int positionY) noexcept override
 WindowedGraphicsOutput::moveWindow() implementation.
 
DefaultWaylandIVIEGLGraphicsOutputoperator= (const DefaultWaylandIVIEGLGraphicsOutput &)=delete
 Copy assignment operator.
 
DefaultWaylandIVIEGLGraphicsOutputoperator= (DefaultWaylandIVIEGLGraphicsOutput &&) noexcept=delete
 Move assignment operator.
 
bool registerFrameCallback (function< void()> &callback) noexcept
 Registers a frame callback in Wayland.
 
void registryAddedNotification (uint32_t name, const char *interfaceName, uint32_t version) noexcept override
 AbstractDefaultWaylandContext::registryAddedNotification() implementation.
 
bool releaseCurrent () override
 GLGraphicsOutput::releaseCurrent() implementation.
 
bool resize (unsigned int width, unsigned int height) noexcept override
 WindowedGraphicsOutput::resize() implementation.
 
bool resizeEGLWindow (int width, int height) noexcept
 Changes EGLWindow dimensions.
 
void resizeIVILayer (int width, int height) noexcept
 Changes layer dimensions.
 
void resizeIVIWMSurface (int width, int height) noexcept
 Changes surface dimensions.
 
void resizeNotification (int windowWidth, int windowHeight) noexcept override
 AbstractDefaultWaylandContext::resizeNotification() implementation.
 
bool resizeWindow (unsigned int width, unsigned int height) noexcept override
 WindowedGraphicsOutput::resizeWindow() implementation.
 
void seatCapabilitiesNotification (uint32_t capabilities) noexcept override
 AbstractDefaultWaylandContext::seatCapabilitiesNotification() implementation.
 
void setLayerOpacity (double opacity) noexcept
 Sets the opacity of a layer.
 
void setSurfaceOpacity (double opacity) noexcept
 Sets the opacity of a surface.
 
bool setWindowTitle (string_view title) noexcept override
 WindowedGraphicsOutput::setWindowTitle() implementation.
 
void showLayer () noexcept
 Shows a layer.
 
void showSurface () noexcept
 Shows a surface.
 
bool showWindow () noexcept override
 WindowedGraphicsOutput::showWindow() implementation.
 
bool swapBuffers () override
 GLGraphicsOutput::swapBuffers() implementation.
 
bool swapInterval (int interval) override
 GLGraphicsOutput::swapInterval() implementation.
 
void updateCache (int width, int height) noexcept
 Updates the target layout area size.
 
 ~DefaultWaylandIVIEGLGraphicsOutput () override
 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.
 
- Public Member Functions inherited from kanzi::wayland::AbstractDefaultWaylandContext
 AbstractDefaultWaylandContext ()=default
 Constructor.
 
 AbstractDefaultWaylandContext (AbstractDefaultWaylandContext &&) noexcept=delete
 Move constructor.
 
 AbstractDefaultWaylandContext (const AbstractDefaultWaylandContext &)=delete
 Copy constructor.
 
AbstractDefaultWaylandContextoperator= (AbstractDefaultWaylandContext &&) noexcept=delete
 Move assignment operator.
 
AbstractDefaultWaylandContextoperator= (const AbstractDefaultWaylandContext &)=delete
 Copy assignment operator.
 
virtual ~AbstractDefaultWaylandContext ()=default
 Destructor.
 

Additional Inherited Members

- Public Types inherited from kanzi::GLGraphicsOutput
using GLProcPointer
 Pointer to GL function.
 
- 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.
 

Detailed Description

Class that represents the default Wayland IVI EGL graphics output.

Since
Kanzi 3.9.8
See also
AbstractDefaultWaylandContext for Wayland-specific callbacks.

Constructor & Destructor Documentation

◆ DefaultWaylandIVIEGLGraphicsOutput() [1/3]

kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::DefaultWaylandIVIEGLGraphicsOutput ( const DefaultWaylandIVIEGLGraphicsOutputProperties & properties)
explicit

Constructor.

Parameters
propertiesProperties to request for the graphics output.

◆ ~DefaultWaylandIVIEGLGraphicsOutput()

kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::~DefaultWaylandIVIEGLGraphicsOutput ( )
override

Destructor.

◆ DefaultWaylandIVIEGLGraphicsOutput() [2/3]

kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::DefaultWaylandIVIEGLGraphicsOutput ( const DefaultWaylandIVIEGLGraphicsOutput & )
delete

Copy constructor.

◆ DefaultWaylandIVIEGLGraphicsOutput() [3/3]

kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::DefaultWaylandIVIEGLGraphicsOutput ( DefaultWaylandIVIEGLGraphicsOutput && )
deletenoexcept

Move constructor.

Member Function Documentation

◆ updateCache()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::updateCache ( int width,
int height )
noexcept

Updates the target layout area size.

Parameters
widthThe layout width in pixels.
heightThe layout height in pixels.

◆ resizeNotification()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::resizeNotification ( int windowWidth,
int windowHeight )
overridevirtualnoexcept

◆ modeChangeNotification()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::modeChangeNotification ( int width,
int height,
int refresh )
overridevirtualnoexcept

◆ eventNotification()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::eventNotification ( const WaylandEvent & event)
overridevirtualnoexcept

◆ seatCapabilitiesNotification()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::seatCapabilitiesNotification ( uint32_t capabilities)
overridevirtualnoexcept

◆ registryAddedNotification()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::registryAddedNotification ( uint32_t name,
const char * interfaceName,
uint32_t version )
overridevirtualnoexcept

◆ gatherEvents()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::gatherEvents ( EventQueue & queue)
overridevirtual

EventSource::gatherEvents() implementation.

Implements kanzi::EventSource.

◆ getNativeEventHandle()

KZ_NO_DISCARD optional< NativeEventHandle > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getNativeEventHandle ( ) const
overridevirtualnoexcept

◆ getProcAddress()

KZ_NO_DISCARD GLProcPointer kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getProcAddress ( string_view functionName)
overridevirtual

◆ makeCurrent()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::makeCurrent ( )
overridevirtual

◆ releaseCurrent()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::releaseCurrent ( )
overridevirtual

◆ swapBuffers()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::swapBuffers ( )
overridevirtual

◆ swapInterval()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::swapInterval ( int interval)
overridevirtual

◆ getNativeDisplayHandle()

KZ_NO_DISCARD optional< void * > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getNativeDisplayHandle ( ) const
overridevirtualnoexcept

◆ getNativeContextHandle()

KZ_NO_DISCARD optional< void * > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getNativeContextHandle ( ) const
overridevirtualnoexcept

◆ getNativeSurfaceHandle()

KZ_NO_DISCARD optional< void * > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getNativeSurfaceHandle ( ) const
overridevirtualnoexcept

◆ createImage()

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

◆ destroyImage()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::destroyImage ( void * image)
overridevirtualnoexcept

◆ getGraphicsContextAPI()

KZ_NO_DISCARD optional< GraphicsContextAPI > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getGraphicsContextAPI ( ) const
overridevirtualnoexcept

◆ getSurfaceClientAPI()

KZ_NO_DISCARD optional< SurfaceClientAPI > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getSurfaceClientAPI ( ) const
overridevirtualnoexcept

◆ getColorSpace()

KZ_NO_DISCARD optional< SurfaceColorSpace > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getColorSpace ( ) const
overridevirtualnoexcept

◆ getTargetTransformation()

KZ_NO_DISCARD Matrix4x4 kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getTargetTransformation ( ) const
overridevirtualnoexcept

◆ setWindowTitle()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::setWindowTitle ( string_view title)
overridevirtualnoexcept

◆ getWindowTitle()

KZ_NO_DISCARD optional< string > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getWindowTitle ( ) const
overridevirtualnoexcept

◆ resize()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::resize ( unsigned int width,
unsigned int height )
overridevirtualnoexcept

◆ resizeWindow()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::resizeWindow ( unsigned int width,
unsigned int height )
overridevirtualnoexcept

◆ resizeIVILayer()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::resizeIVILayer ( int width,
int height )
noexcept

Changes layer dimensions.

When resizing, keep in mind that:

Parameters
widthNew layer width.
heightNew layer height.

◆ resizeIVIWMSurface()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::resizeIVIWMSurface ( int width,
int height )
noexcept

Changes surface dimensions.

When resizing, keep in mind that:

Parameters
widthNew surface width.
heightNew surface height.

◆ resizeEGLWindow()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::resizeEGLWindow ( int width,
int height )
noexcept

Changes EGLWindow dimensions.

When resizing, keep in mind that:

Parameters
widthNew EGLWindow width.
heightNew EGLWindow height.

◆ getWindowWidth()

KZ_NO_DISCARD optional< unsigned int > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getWindowWidth ( ) const
overridevirtualnoexcept

◆ getWindowHeight()

KZ_NO_DISCARD optional< unsigned int > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getWindowHeight ( ) const
overridevirtualnoexcept

◆ moveWindow()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::moveWindow ( int positionX,
int positionY )
overridevirtualnoexcept

◆ moveLayer()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::moveLayer ( int positionX,
int positionY )
noexcept

Moves a layer to the specified coordinates.

Parameters
positionXX coordinate.
positionYY coordintate.

◆ moveSurface()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::moveSurface ( int positionX,
int positionY )
noexcept

Moves a surface to the specified coordinates.

Parameters
positionXX coordinate.
positionYY coordintate.

◆ getWindowPositionX()

KZ_NO_DISCARD optional< int > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getWindowPositionX ( ) const
overridevirtualnoexcept

◆ getWindowPositionY()

KZ_NO_DISCARD optional< int > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getWindowPositionY ( ) const
overridevirtualnoexcept

◆ getLayerPositionX()

KZ_NO_DISCARD int kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getLayerPositionX ( ) const
noexcept

Gets the X coordinate of a layer.

Returns
X coordinate of a layer.

◆ getLayerPositionY()

KZ_NO_DISCARD int kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getLayerPositionY ( ) const
noexcept

Gets the Y coordinate of a layer.

Returns
Y coordinate of a layer.

◆ getSurfacePositionX()

KZ_NO_DISCARD int kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getSurfacePositionX ( ) const
noexcept

Gets the X coordinate of a surface.

Returns
X coordinate of a surface.

◆ getSurfacePositionY()

KZ_NO_DISCARD int kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getSurfacePositionY ( ) const
noexcept

Gets the Y coordinate of a surface.

Returns
Y coordinate of a surface.

◆ makeFullscreen()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::makeFullscreen ( )
overridevirtualnoexcept

◆ makeRegular()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::makeRegular ( )
overridevirtualnoexcept

◆ makeMaximized()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::makeMaximized ( )
overridevirtualnoexcept

◆ makeLayerMaximized()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::makeLayerMaximized ( )
noexcept

Sets a layer to take up an entire screen.

◆ makeSurfaceMaximized()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::makeSurfaceMaximized ( )
noexcept

Sets a surface to take up an entire layer.

◆ makeMinimized()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::makeMinimized ( )
overridevirtualnoexcept

◆ showWindow()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::showWindow ( )
overridevirtualnoexcept

◆ showLayer()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::showLayer ( )
noexcept

Shows a layer.

See also
showWindow()

◆ showSurface()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::showSurface ( )
noexcept

Shows a surface.

See also
showSurface()

◆ hideWindow()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::hideWindow ( )
overridevirtualnoexcept

◆ hideLayer()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::hideLayer ( )
noexcept

Hides a layer.

See also
hideWindow()

◆ hideSurface()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::hideSurface ( )
noexcept

Hides a surface.

See also
hideWindow()

◆ bringToFront()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::bringToFront ( )
overridevirtualnoexcept

◆ bringLayerToFront()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::bringLayerToFront ( )
noexcept

Brings the layer on top of all the other layers on a screen.

◆ bringSurfaceToFront()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::bringSurfaceToFront ( )
noexcept

Brings the surface on top of all the other surfaces in a layer.

◆ setLayerOpacity()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::setLayerOpacity ( double opacity)
noexcept

Sets the opacity of a layer.

Parameters
opacityLayer opacity.

◆ setSurfaceOpacity()

void kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::setSurfaceOpacity ( double opacity)
noexcept

Sets the opacity of a surface.

Parameters
opacitySurface opacity.

◆ registerFrameCallback()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::registerFrameCallback ( function< void()> & callback)
noexcept

Registers a frame callback in Wayland.

The best way to organize a rendering loop in Wayland is to let the compositor control when it is time to render a frame. To do this, use this function to register a frame callback that compositor calls for each frame.

Using Wayland rendering loop allows to save computer resources if compositor determines that your application must be rendered at lower refresh rate or not rendered. For example, when the application is off-screen or minimized.

Keep in mind that Wayland controls when the rendering occurs. Do not make any assumptions about the time between frames.

Parameters
callbackCallback function to call each frame.
Returns
On success, true, otherwise false.

◆ dispatch()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::dispatch ( ) const
noexcept

Dispatches queued Wayland events.

If no events are queued, this operation blocks until the next event occurs.

Returns
On success, true, otherwise false.
See also
WaylandDisplay::dispatch()

◆ dispatchPending()

bool kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::dispatchPending ( ) const
noexcept

Dispatches queued Wayland events.

If no events are queued, this operation returns without blocking.

Returns
On success, true, otherwise false.
See also
WaylandDisplay::dispatchPending()

◆ getResolution()

KZ_NO_DISCARD windowing::Size kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getResolution ( ) const
noexcept

Gets the resolution of a screen.

Returns
Screen resolution.

◆ getWaylandDisplay()

KZ_NO_DISCARD const WaylandDisplay & kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getWaylandDisplay ( ) const
noexcept

Gets the WaylandDisplay.

Returns
Wayland display used by this GraphicsOutput.

◆ getNativeWindowHandle()

KZ_NO_DISCARD optional< NativeWindowHandle > kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::getNativeWindowHandle ( ) const
overridevirtualnoexcept

◆ operator=() [1/2]

DefaultWaylandIVIEGLGraphicsOutput & kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::operator= ( const DefaultWaylandIVIEGLGraphicsOutput & )
delete

Copy assignment operator.

◆ operator=() [2/2]

DefaultWaylandIVIEGLGraphicsOutput & kanzi::wayland::DefaultWaylandIVIEGLGraphicsOutput::operator= ( DefaultWaylandIVIEGLGraphicsOutput && )
deletenoexcept

Move assignment operator.


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