#include <abstract_egl_backend.h>
|
| ~AbstractEglBackend () override |
|
bool | makeCurrent () override |
|
void | doneCurrent () override |
|
EGLSurface | surface () const |
|
EGLConfig | config () const |
|
EglDisplay * | eglDisplayObject () const |
|
EglContext * | contextObject () |
|
bool | testImportBuffer (GraphicsBuffer *buffer) override |
|
QHash< uint32_t, QList< uint64_t > > | supportedFormats () const override |
|
QList< LinuxDmaBufV1Feedback::Tranche > | tranches () const |
|
dev_t | deviceId () const |
|
virtual bool | prefer10bpc () const |
|
std::shared_ptr< GLTexture > | importDmaBufAsTexture (const DmaBufAttributes &attributes) const |
|
EGLImageKHR | importDmaBufAsImage (const DmaBufAttributes &attributes) const |
|
EGLImageKHR | importDmaBufAsImage (const DmaBufAttributes &attributes, int plane, int format, const QSize &size) const |
|
EGLImageKHR | importBufferAsImage (GraphicsBuffer *buffer) |
|
EGLImageKHR | importBufferAsImage (GraphicsBuffer *buffer, int plane, int format, const QSize &size) |
|
| OpenGLBackend () |
|
virtual | ~OpenGLBackend () |
|
virtual void | init ()=0 |
|
CompositingType | compositingType () const override final |
|
bool | checkGraphicsReset () override final |
|
bool | isFailed () const |
| Whether the creation of the Backend failed.
|
|
bool | supportsBufferAge () const |
|
bool | supportsNativeFence () const |
|
QList< QByteArray > | extensions () const |
|
bool | hasExtension (const QByteArray &extension) const |
|
void | copyPixels (const QRegion ®ion, const QSize &screenSize) |
|
virtual std::pair< std::shared_ptr< GLTexture >, ColorDescription > | textureForOutput (Output *output) const |
|
| RenderBackend (QObject *parent=nullptr) |
|
virtual OverlayWindow * | overlayWindow () const |
|
virtual OutputLayer * | primaryLayer (Output *output)=0 |
|
virtual OutputLayer * | cursorLayer (Output *output) |
|
virtual void | present (Output *output, const std::shared_ptr< OutputFrame > &frame)=0 |
|
virtual GraphicsBufferAllocator * | graphicsBufferAllocator () const |
|
virtual std::unique_ptr< SurfaceTexture > | createSurfaceTextureX11 (SurfacePixmapX11 *pixmap) |
|
virtual std::unique_ptr< SurfaceTexture > | createSurfaceTextureWayland (SurfacePixmap *pixmap) |
|
Definition at line 27 of file abstract_egl_backend.h.
◆ ~AbstractEglBackend()
KWin::AbstractEglBackend::~AbstractEglBackend |
( |
| ) |
|
|
override |
◆ AbstractEglBackend()
KWin::AbstractEglBackend::AbstractEglBackend |
( |
dev_t | deviceId = 0 | ) |
|
|
protected |
◆ cleanup()
void KWin::AbstractEglBackend::cleanup |
( |
| ) |
|
|
protected |
◆ cleanupSurfaces()
void KWin::AbstractEglBackend::cleanupSurfaces |
( |
| ) |
|
|
protectedvirtual |
◆ config()
EGLConfig KWin::AbstractEglBackend::config |
( |
| ) |
const |
◆ contextObject()
EglContext * KWin::AbstractEglBackend::contextObject |
( |
| ) |
|
◆ createContext()
bool KWin::AbstractEglBackend::createContext |
( |
EGLConfig | config | ) |
|
|
protected |
◆ createContextInternal()
::EGLContext KWin::AbstractEglBackend::createContextInternal |
( |
::EGLContext | sharedContext | ) |
|
|
protected |
◆ destroyGlobalShareContext()
void KWin::AbstractEglBackend::destroyGlobalShareContext |
( |
| ) |
|
|
protected |
◆ deviceId()
dev_t KWin::AbstractEglBackend::deviceId |
( |
| ) |
const |
◆ doneCurrent()
void KWin::AbstractEglBackend::doneCurrent |
( |
| ) |
|
|
overridevirtual |
◆ eglDisplayObject()
EglDisplay * KWin::AbstractEglBackend::eglDisplayObject |
( |
| ) |
const |
◆ ensureGlobalShareContext()
bool KWin::AbstractEglBackend::ensureGlobalShareContext |
( |
EGLConfig | config | ) |
|
|
protected |
◆ hasClientExtension()
bool KWin::AbstractEglBackend::hasClientExtension |
( |
const QByteArray & | ext | ) |
const |
|
protected |
◆ importBufferAsImage() [1/2]
◆ importBufferAsImage() [2/2]
EGLImageKHR KWin::AbstractEglBackend::importBufferAsImage |
( |
GraphicsBuffer * | buffer, |
|
|
int | plane, |
|
|
int | format, |
|
|
const QSize & | size ) |
◆ importDmaBufAsImage() [1/2]
◆ importDmaBufAsImage() [2/2]
EGLImageKHR KWin::AbstractEglBackend::importDmaBufAsImage |
( |
const DmaBufAttributes & | attributes, |
|
|
int | plane, |
|
|
int | format, |
|
|
const QSize & | size ) const |
◆ importDmaBufAsTexture()
◆ initClientExtensions()
void KWin::AbstractEglBackend::initClientExtensions |
( |
| ) |
|
|
protected |
◆ initKWinGL()
void KWin::AbstractEglBackend::initKWinGL |
( |
| ) |
|
|
protected |
◆ initWayland()
void KWin::AbstractEglBackend::initWayland |
( |
| ) |
|
|
protected |
◆ isOpenGLES()
bool KWin::AbstractEglBackend::isOpenGLES |
( |
| ) |
const |
|
protected |
◆ makeCurrent()
bool KWin::AbstractEglBackend::makeCurrent |
( |
| ) |
|
|
overridevirtual |
◆ prefer10bpc()
bool KWin::AbstractEglBackend::prefer10bpc |
( |
| ) |
const |
|
virtual |
◆ setEglDisplay()
void KWin::AbstractEglBackend::setEglDisplay |
( |
EglDisplay * | display | ) |
|
|
protected |
◆ setSurface()
void KWin::AbstractEglBackend::setSurface |
( |
const EGLSurface & | surface | ) |
|
|
protected |
◆ supportedFormats()
QHash< uint32_t, QList< uint64_t > > KWin::AbstractEglBackend::supportedFormats |
( |
| ) |
const |
|
overridevirtual |
◆ surface()
EGLSurface KWin::AbstractEglBackend::surface |
( |
| ) |
const |
◆ teardown()
void KWin::AbstractEglBackend::teardown |
( |
| ) |
|
|
protected |
◆ testImportBuffer()
bool KWin::AbstractEglBackend::testImportBuffer |
( |
GraphicsBuffer * | buffer | ) |
|
|
overridevirtual |
◆ tranches()
◆ m_clientExtensions
QList<QByteArray> KWin::AbstractEglBackend::m_clientExtensions |
|
protected |
◆ m_context
std::shared_ptr<EglContext> KWin::AbstractEglBackend::m_context |
|
protected |
◆ m_deviceId
const dev_t KWin::AbstractEglBackend::m_deviceId |
|
protected |
◆ m_display
EglDisplay* KWin::AbstractEglBackend::m_display = nullptr |
|
protected |
◆ m_importedBuffers
◆ m_surface
EGLSurface KWin::AbstractEglBackend::m_surface = EGL_NO_SURFACE |
|
protected |
◆ m_tranches
The documentation for this class was generated from the following files: