|
KWin
|
#include <glxcontext.h>
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< GlxContext > | create (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 |
Definition at line 18 of file glxcontext.h.
| KWin::GlxContext::GlxContext | ( | ::Display * | display, |
| GLXWindow | window, | ||
| GLXContext | handle ) |
Definition at line 19 of file glxcontext.cpp.
|
override |
Definition at line 32 of file glxcontext.cpp.
|
static |
Definition at line 55 of file glxcontext.cpp.
| bool KWin::GlxContext::doneCurrent | ( | ) | const |
Definition at line 50 of file glxcontext.cpp.
| bool KWin::GlxContext::makeCurrent | ( | ) | const |
Definition at line 41 of file glxcontext.cpp.