KWin
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
KWin::GlxContext Class Reference

#include <glxcontext.h>

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

Public Member Functions

 GlxContext (::Display *display, GLXWindow window, GLXContext handle)
 
 ~GlxContext () override
 
bool makeCurrent () const
 
bool doneCurrent () const
 
- Public Member Functions inherited from KWin::OpenGlContext
 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
 

Static Public Member Functions

static std::unique_ptr< GlxContextcreate (GlxBackend *backend, GLXFBConfig fbconfig, GLXWindow glxWindow)
 

Additional Inherited Members

- Protected Member Functions inherited from KWin::OpenGlContext
bool checkTimerQuerySupport () const
 
- Protected Attributes inherited from KWin::OpenGlContext
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 18 of file glxcontext.h.

Constructor & Destructor Documentation

◆ GlxContext()

KWin::GlxContext::GlxContext ( ::Display * display,
GLXWindow window,
GLXContext handle )

Definition at line 19 of file glxcontext.cpp.

◆ ~GlxContext()

KWin::GlxContext::~GlxContext ( )
override

Definition at line 32 of file glxcontext.cpp.

Member Function Documentation

◆ create()

std::unique_ptr< GlxContext > KWin::GlxContext::create ( GlxBackend * backend,
GLXFBConfig fbconfig,
GLXWindow glxWindow )
static

Definition at line 55 of file glxcontext.cpp.

◆ doneCurrent()

bool KWin::GlxContext::doneCurrent ( ) const

Definition at line 50 of file glxcontext.cpp.

◆ makeCurrent()

bool KWin::GlxContext::makeCurrent ( ) const

Definition at line 41 of file glxcontext.cpp.


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