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

#include <openglsurfacetexture.h>

Inheritance diagram for KWin::OpenGLSurfaceTexture:
KWin::SurfaceTexture KWin::OpenGLSurfaceTextureWayland KWin::OpenGLSurfaceTextureX11 KWin::BasicEGLSurfaceTextureWayland KWin::EglSurfaceTextureX11 KWin::GlxSurfaceTextureX11

Public Member Functions

 OpenGLSurfaceTexture (OpenGLBackend *backend)
 
 ~OpenGLSurfaceTexture () override
 
bool isValid () const override
 
OpenGLBackendbackend () const
 
OpenGLSurfaceContents texture () const
 
virtual bool create ()=0
 
virtual void update (const QRegion &region)=0
 
- Public Member Functions inherited from KWin::SurfaceTexture
virtual ~SurfaceTexture ()
 

Protected Attributes

OpenGLBackendm_backend
 
OpenGLSurfaceContents m_texture
 

Detailed Description

Definition at line 46 of file openglsurfacetexture.h.

Constructor & Destructor Documentation

◆ OpenGLSurfaceTexture()

KWin::OpenGLSurfaceTexture::OpenGLSurfaceTexture ( OpenGLBackend * backend)
explicit

Definition at line 13 of file openglsurfacetexture.cpp.

◆ ~OpenGLSurfaceTexture()

KWin::OpenGLSurfaceTexture::~OpenGLSurfaceTexture ( )
override

Definition at line 18 of file openglsurfacetexture.cpp.

Member Function Documentation

◆ backend()

OpenGLBackend * KWin::OpenGLSurfaceTexture::backend ( ) const

Definition at line 27 of file openglsurfacetexture.cpp.

◆ create()

virtual bool KWin::OpenGLSurfaceTexture::create ( )
pure virtual

◆ isValid()

bool KWin::OpenGLSurfaceTexture::isValid ( ) const
overridevirtual

Implements KWin::SurfaceTexture.

Definition at line 22 of file openglsurfacetexture.cpp.

◆ texture()

OpenGLSurfaceContents KWin::OpenGLSurfaceTexture::texture ( ) const

Definition at line 32 of file openglsurfacetexture.cpp.

◆ update()

virtual void KWin::OpenGLSurfaceTexture::update ( const QRegion & region)
pure virtual

Member Data Documentation

◆ m_backend

OpenGLBackend* KWin::OpenGLSurfaceTexture::m_backend
protected

Definition at line 61 of file openglsurfacetexture.h.

◆ m_texture

OpenGLSurfaceContents KWin::OpenGLSurfaceTexture::m_texture
protected

Definition at line 62 of file openglsurfacetexture.h.


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