KWin
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KWin::OpenGlContext Class Reference

#include <openglcontext.h>

Inheritance diagram for KWin::OpenGlContext:
KWin::EglContext KWin::GlxContext

Public Member Functions

 OpenGlContext ()
 
virtual ~OpenGlContext ()=default
 
bool hasVersion (const Version &version) const
 
QByteArrayView openglVersionString () const
 
Version openglVersion () const
 
QByteArrayView vendor () const
 
QByteArrayView renderer () const
 
bool isOpenglES () const
 
bool hasOpenglExtension (QByteArrayView name) const
 
bool isSoftwareRenderer () const
 
bool supportsTimerQueries () const
 
bool checkSupported () const
 

Protected Member Functions

bool checkTimerQuerySupport () const
 

Protected Attributes

const QByteArrayView m_versionString
 
const Version m_version
 
const QByteArrayView m_vendor
 
const QByteArrayView m_renderer
 
const bool m_isOpenglES
 
const QSet< QByteArray > m_extensions
 
const bool m_supportsTimerQueries
 

Detailed Description

Definition at line 22 of file openglcontext.h.

Constructor & Destructor Documentation

◆ OpenGlContext()

KWin::OpenGlContext::OpenGlContext ( )
explicit

Definition at line 38 of file openglcontext.cpp.

◆ ~OpenGlContext()

virtual KWin::OpenGlContext::~OpenGlContext ( )
virtualdefault

Member Function Documentation

◆ checkSupported()

bool KWin::OpenGlContext::checkSupported ( ) const

checks whether or not this context supports all the features that KWin requires

Definition at line 110 of file openglcontext.cpp.

◆ checkTimerQuerySupport()

bool KWin::OpenGlContext::checkTimerQuerySupport ( ) const
protected

Definition at line 49 of file openglcontext.cpp.

◆ hasOpenglExtension()

bool KWin::OpenGlContext::hasOpenglExtension ( QByteArrayView name) const

Definition at line 93 of file openglcontext.cpp.

◆ hasVersion()

bool KWin::OpenGlContext::hasVersion ( const Version & version) const

Definition at line 63 of file openglcontext.cpp.

◆ isOpenglES()

bool KWin::OpenGlContext::isOpenglES ( ) const

Definition at line 88 of file openglcontext.cpp.

◆ isSoftwareRenderer()

bool KWin::OpenGlContext::isSoftwareRenderer ( ) const

Definition at line 100 of file openglcontext.cpp.

◆ openglVersion()

Version KWin::OpenGlContext::openglVersion ( ) const

Definition at line 73 of file openglcontext.cpp.

◆ openglVersionString()

QByteArrayView KWin::OpenGlContext::openglVersionString ( ) const

Definition at line 68 of file openglcontext.cpp.

◆ renderer()

QByteArrayView KWin::OpenGlContext::renderer ( ) const

Definition at line 83 of file openglcontext.cpp.

◆ supportsTimerQueries()

bool KWin::OpenGlContext::supportsTimerQueries ( ) const

Definition at line 105 of file openglcontext.cpp.

◆ vendor()

QByteArrayView KWin::OpenGlContext::vendor ( ) const

Definition at line 78 of file openglcontext.cpp.

Member Data Documentation

◆ m_extensions

const QSet<QByteArray> KWin::OpenGlContext::m_extensions
protected

Definition at line 52 of file openglcontext.h.

◆ m_isOpenglES

const bool KWin::OpenGlContext::m_isOpenglES
protected

Definition at line 51 of file openglcontext.h.

◆ m_renderer

const QByteArrayView KWin::OpenGlContext::m_renderer
protected

Definition at line 50 of file openglcontext.h.

◆ m_supportsTimerQueries

const bool KWin::OpenGlContext::m_supportsTimerQueries
protected

Definition at line 53 of file openglcontext.h.

◆ m_vendor

const QByteArrayView KWin::OpenGlContext::m_vendor
protected

Definition at line 49 of file openglcontext.h.

◆ m_version

const Version KWin::OpenGlContext::m_version
protected

Definition at line 48 of file openglcontext.h.

◆ m_versionString

const QByteArrayView KWin::OpenGlContext::m_versionString
protected

Definition at line 47 of file openglcontext.h.


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