KWin
|
#include <eglcontext.h>
Public Member Functions | |
EglContext (EglDisplay *display, EGLConfig config, ::EGLContext context) | |
~EglContext () override | |
bool | makeCurrent (EGLSurface surface=EGL_NO_SURFACE) const |
void | doneCurrent () const |
std::shared_ptr< GLTexture > | importDmaBufAsTexture (const DmaBufAttributes &attributes) const |
EglDisplay * | displayObject () const |
::EGLContext | handle () const |
EGLConfig | config () const |
bool | isValid () const |
ShaderManager * | shaderManager () const |
![]() | |
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< EglContext > | create (EglDisplay *display, EGLConfig config, ::EGLContext sharedContext) |
Additional Inherited Members | |
![]() | |
bool | checkTimerQuerySupport () const |
![]() | |
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 25 of file eglcontext.h.
KWin::EglContext::EglContext | ( | EglDisplay * | display, |
EGLConfig | config, | ||
::EGLContext | context ) |
Definition at line 42 of file eglcontext.cpp.
|
override |
Definition at line 56 of file eglcontext.cpp.
EGLConfig KWin::EglContext::config | ( | ) | const |
Definition at line 87 of file eglcontext.cpp.
|
static |
Definition at line 25 of file eglcontext.cpp.
EglDisplay * KWin::EglContext::displayObject | ( | ) | const |
Definition at line 77 of file eglcontext.cpp.
void KWin::EglContext::doneCurrent | ( | ) | const |
Definition at line 72 of file eglcontext.cpp.
EGLContext KWin::EglContext::handle | ( | ) | const |
Definition at line 82 of file eglcontext.cpp.
std::shared_ptr< GLTexture > KWin::EglContext::importDmaBufAsTexture | ( | const DmaBufAttributes & | attributes | ) | const |
Definition at line 196 of file eglcontext.cpp.
bool KWin::EglContext::isValid | ( | ) | const |
Definition at line 92 of file eglcontext.cpp.
bool KWin::EglContext::makeCurrent | ( | EGLSurface | surface = EGL_NO_SURFACE | ) | const |
Definition at line 67 of file eglcontext.cpp.
ShaderManager * KWin::EglContext::shaderManager | ( | ) | const |
Definition at line 208 of file eglcontext.cpp.