KWin
|
#include <egldisplay.h>
Classes | |
struct | DrmFormatInfo |
Public Member Functions | |
EglDisplay (::EGLDisplay display, const QList< QByteArray > &extensions, bool owning=true) | |
~EglDisplay () | |
QList< QByteArray > | extensions () const |
::EGLDisplay | handle () const |
bool | hasExtension (const QByteArray &name) const |
QString | renderNode () const |
bool | supportsBufferAge () const |
bool | supportsNativeFence () const |
QHash< uint32_t, QList< uint64_t > > | nonExternalOnlySupportedDrmFormats () const |
QHash< uint32_t, DrmFormatInfo > | allSupportedDrmFormats () const |
bool | isExternalOnly (uint32_t format, uint64_t modifier) const |
EGLImageKHR | importDmaBufAsImage (const DmaBufAttributes &dmabuf) const |
EGLImageKHR | importDmaBufAsImage (const DmaBufAttributes &dmabuf, int plane, int format, const QSize &size) const |
Static Public Member Functions | |
static std::unique_ptr< EglDisplay > | create (::EGLDisplay display, bool owning=true) |
Definition at line 25 of file egldisplay.h.
KWin::EglDisplay::EglDisplay | ( | ::EGLDisplay | display, |
const QList< QByteArray > & | extensions, | ||
bool | owning = true ) |
Definition at line 76 of file egldisplay.cpp.
KWin::EglDisplay::~EglDisplay | ( | ) |
Definition at line 86 of file egldisplay.cpp.
QHash< uint32_t, EglDisplay::DrmFormatInfo > KWin::EglDisplay::allSupportedDrmFormats | ( | ) | const |
Definition at line 239 of file egldisplay.cpp.
|
static |
Definition at line 34 of file egldisplay.cpp.
QList< QByteArray > KWin::EglDisplay::extensions | ( | ) | const |
Definition at line 93 of file egldisplay.cpp.
EGLDisplay KWin::EglDisplay::handle | ( | ) | const |
Definition at line 98 of file egldisplay.cpp.
bool KWin::EglDisplay::hasExtension | ( | const QByteArray & | name | ) | const |
Definition at line 103 of file egldisplay.cpp.
EGLImageKHR KWin::EglDisplay::importDmaBufAsImage | ( | const DmaBufAttributes & | dmabuf | ) | const |
Definition at line 166 of file egldisplay.cpp.
EGLImageKHR KWin::EglDisplay::importDmaBufAsImage | ( | const DmaBufAttributes & | dmabuf, |
int | plane, | ||
int | format, | ||
const QSize & | size ) const |
Definition at line 218 of file egldisplay.cpp.
bool KWin::EglDisplay::isExternalOnly | ( | uint32_t | format, |
uint64_t | modifier ) const |
Definition at line 254 of file egldisplay.cpp.
QHash< uint32_t, QList< uint64_t > > KWin::EglDisplay::nonExternalOnlySupportedDrmFormats | ( | ) | const |
Definition at line 244 of file egldisplay.cpp.
QString KWin::EglDisplay::renderNode | ( | ) | const |
Definition at line 131 of file egldisplay.cpp.
bool KWin::EglDisplay::supportsBufferAge | ( | ) | const |
Definition at line 156 of file egldisplay.cpp.
bool KWin::EglDisplay::supportsNativeFence | ( | ) | const |
Definition at line 161 of file egldisplay.cpp.