Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QWaylandSurfaceViewMapper Struct Reference

#include <qwaylandoutput_p.h>

+ Collaboration diagram for QWaylandSurfaceViewMapper:

Public Member Functions

 QWaylandSurfaceViewMapper ()
 
 QWaylandSurfaceViewMapper (QWaylandSurface *s, QWaylandView *v)
 
QWaylandViewmaybePrimaryView () const
 

Public Attributes

QWaylandSurfacesurface = nullptr
 
QList< QWaylandView * > views
 
bool has_entered = false
 

Detailed Description

Definition at line 35 of file qwaylandoutput_p.h.

Constructor & Destructor Documentation

◆ QWaylandSurfaceViewMapper() [1/2]

QWaylandSurfaceViewMapper::QWaylandSurfaceViewMapper ( )
inline

Definition at line 37 of file qwaylandoutput_p.h.

◆ QWaylandSurfaceViewMapper() [2/2]

QWaylandSurfaceViewMapper::QWaylandSurfaceViewMapper ( QWaylandSurface s,
QWaylandView v 
)
inline

Definition at line 40 of file qwaylandoutput_p.h.

Member Function Documentation

◆ maybePrimaryView()

QWaylandView * QWaylandSurfaceViewMapper::maybePrimaryView ( ) const
inline

Definition at line 45 of file qwaylandoutput_p.h.

References QList< T >::at(), i, QWaylandSurface::primaryView(), QList< T >::size(), surface, and views.

Referenced by QWaylandOutput::frameStarted(), and QWaylandOutput::sendFrameCallbacks().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ has_entered

bool QWaylandSurfaceViewMapper::has_entered = false

◆ surface

◆ views

QList<QWaylandView *> QWaylandSurfaceViewMapper::views

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