Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QEglConfigChooser Class Reference

#include <qeglconvenience_p.h>

+ Collaboration diagram for QEglConfigChooser:

Public Member Functions

 QEglConfigChooser (EGLDisplay display)
 
virtual ~QEglConfigChooser ()
 
EGLDisplay display () const
 
void setSurfaceType (EGLint surfaceType)
 
EGLint surfaceType () const
 
void setSurfaceFormat (const QSurfaceFormat &format)
 
QSurfaceFormat surfaceFormat () const
 
void setIgnoreColorChannels (bool ignore)
 
bool ignoreColorChannels () const
 
EGLConfig chooseConfig ()
 

Protected Member Functions

virtual bool filterConfig (EGLConfig config) const
 

Protected Attributes

QSurfaceFormat m_format
 
EGLDisplay m_display
 
EGLint m_surfaceType
 
bool m_ignore
 
int m_confAttrRed
 
int m_confAttrGreen
 
int m_confAttrBlue
 
int m_confAttrAlpha
 

Detailed Description

Definition at line 55 of file qeglconvenience_p.h.

Constructor & Destructor Documentation

◆ QEglConfigChooser()

QEglConfigChooser::QEglConfigChooser ( EGLDisplay display)

Definition at line 190 of file qeglconvenience.cpp.

◆ ~QEglConfigChooser()

QEglConfigChooser::~QEglConfigChooser ( )
virtual

Definition at line 201 of file qeglconvenience.cpp.

Member Function Documentation

◆ chooseConfig()

◆ display()

EGLDisplay QEglConfigChooser::display ( ) const
inline

Definition at line 61 of file qeglconvenience_p.h.

Referenced by chooseConfig(), and filterConfig().

+ Here is the caller graph for this function:

◆ filterConfig()

bool QEglConfigChooser::filterConfig ( EGLConfig config) const
protectedvirtual

Definition at line 293 of file qeglconvenience.cpp.

References display(), m_confAttrAlpha, m_confAttrBlue, m_confAttrGreen, m_confAttrRed, m_ignore, and red.

Referenced by chooseConfig(), and QEglFSDeviceIntegration::chooseConfig().

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

◆ ignoreColorChannels()

bool QEglConfigChooser::ignoreColorChannels ( ) const
inline

Definition at line 70 of file qeglconvenience_p.h.

◆ setIgnoreColorChannels()

void QEglConfigChooser::setIgnoreColorChannels ( bool ignore)
inline

Definition at line 69 of file qeglconvenience_p.h.

◆ setSurfaceFormat()

void QEglConfigChooser::setSurfaceFormat ( const QSurfaceFormat & format)
inline

Definition at line 66 of file qeglconvenience_p.h.

◆ setSurfaceType()

void QEglConfigChooser::setSurfaceType ( EGLint surfaceType)
inline

Definition at line 63 of file qeglconvenience_p.h.

◆ surfaceFormat()

QSurfaceFormat QEglConfigChooser::surfaceFormat ( ) const
inline

Definition at line 67 of file qeglconvenience_p.h.

◆ surfaceType()

EGLint QEglConfigChooser::surfaceType ( ) const
inline

Definition at line 64 of file qeglconvenience_p.h.

Referenced by chooseConfig().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_confAttrAlpha

int QEglConfigChooser::m_confAttrAlpha
protected

Definition at line 85 of file qeglconvenience_p.h.

Referenced by chooseConfig(), and filterConfig().

◆ m_confAttrBlue

int QEglConfigChooser::m_confAttrBlue
protected

Definition at line 84 of file qeglconvenience_p.h.

Referenced by chooseConfig(), and filterConfig().

◆ m_confAttrGreen

int QEglConfigChooser::m_confAttrGreen
protected

Definition at line 83 of file qeglconvenience_p.h.

Referenced by chooseConfig(), and filterConfig().

◆ m_confAttrRed

int QEglConfigChooser::m_confAttrRed
protected

Definition at line 82 of file qeglconvenience_p.h.

Referenced by chooseConfig(), and filterConfig().

◆ m_display

EGLDisplay QEglConfigChooser::m_display
protected

Definition at line 78 of file qeglconvenience_p.h.

◆ m_format

QSurfaceFormat QEglConfigChooser::m_format
protected

Definition at line 77 of file qeglconvenience_p.h.

Referenced by chooseConfig().

◆ m_ignore

bool QEglConfigChooser::m_ignore
protected

Definition at line 80 of file qeglconvenience_p.h.

Referenced by filterConfig().

◆ m_surfaceType

EGLint QEglConfigChooser::m_surfaceType
protected

Definition at line 79 of file qeglconvenience_p.h.


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