KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::RenderBackend Class Referenceabstract

#include <renderbackend.h>

Inheritance diagram for KWin::RenderBackend:
KWin::OpenGLBackend KWin::QPainterBackend KWin::AbstractEglBackend KWin::GlxBackend KWin::DrmQPainterBackend KWin::VirtualQPainterBackend KWin::Wayland::WaylandQPainterBackend KWin::X11WindowedQPainterBackend KWin::EglBackend KWin::EglGbmBackend KWin::VirtualEglBackend KWin::Wayland::WaylandEglBackend KWin::X11WindowedEglBackend

Public Member Functions

 RenderBackend (QObject *parent=nullptr)
 
virtual CompositingType compositingType () const =0
 
virtual OverlayWindowoverlayWindow () const
 
virtual bool checkGraphicsReset ()
 
virtual OutputLayerprimaryLayer (Output *output)=0
 
virtual OutputLayercursorLayer (Output *output)
 
virtual void present (Output *output, const std::shared_ptr< OutputFrame > &frame)=0
 
virtual GraphicsBufferAllocatorgraphicsBufferAllocator () const
 
virtual bool testImportBuffer (GraphicsBuffer *buffer)
 
virtual QHash< uint32_t, QList< uint64_t > > supportedFormats () const
 
virtual std::unique_ptr< SurfaceTexturecreateSurfaceTextureX11 (SurfacePixmapX11 *pixmap)
 
virtual std::unique_ptr< SurfaceTexturecreateSurfaceTextureWayland (SurfacePixmap *pixmap)
 

Detailed Description

The RenderBackend class is the base class for all rendering backends.

Definition at line 68 of file renderbackend.h.

Constructor & Destructor Documentation

◆ RenderBackend()

KWin::RenderBackend::RenderBackend ( QObject * parent = nullptr)
explicit

Definition at line 61 of file renderbackend.cpp.

Member Function Documentation

◆ checkGraphicsReset()

bool KWin::RenderBackend::checkGraphicsReset ( )
virtual

Reimplemented in KWin::OpenGLBackend.

Definition at line 76 of file renderbackend.cpp.

◆ compositingType()

virtual CompositingType KWin::RenderBackend::compositingType ( ) const
pure virtual

◆ createSurfaceTextureWayland()

std::unique_ptr< SurfaceTexture > KWin::RenderBackend::createSurfaceTextureWayland ( SurfacePixmap * pixmap)
virtual

◆ createSurfaceTextureX11()

std::unique_ptr< SurfaceTexture > KWin::RenderBackend::createSurfaceTextureX11 ( SurfacePixmapX11 * pixmap)
virtual

Reimplemented in KWin::GlxBackend, and KWin::EglBackend.

Definition at line 96 of file renderbackend.cpp.

◆ cursorLayer()

OutputLayer * KWin::RenderBackend::cursorLayer ( Output * output)
virtual

◆ graphicsBufferAllocator()

GraphicsBufferAllocator * KWin::RenderBackend::graphicsBufferAllocator ( ) const
virtual

◆ overlayWindow()

OverlayWindow * KWin::RenderBackend::overlayWindow ( ) const
virtual

Reimplemented in KWin::EglBackend, and KWin::GlxBackend.

Definition at line 71 of file renderbackend.cpp.

◆ present()

virtual void KWin::RenderBackend::present ( Output * output,
const std::shared_ptr< OutputFrame > & frame )
pure virtual

◆ primaryLayer()

virtual OutputLayer * KWin::RenderBackend::primaryLayer ( Output * output)
pure virtual

◆ supportedFormats()

QHash< uint32_t, QList< uint64_t > > KWin::RenderBackend::supportedFormats ( ) const
virtual

Reimplemented in KWin::AbstractEglBackend.

Definition at line 91 of file renderbackend.cpp.

◆ testImportBuffer()

bool KWin::RenderBackend::testImportBuffer ( GraphicsBuffer * buffer)
virtual

Reimplemented in KWin::AbstractEglBackend.

Definition at line 86 of file renderbackend.cpp.


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