KWin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
KWin::OffscreenData Struct Reference
Inheritance diagram for KWin::OffscreenData:
KWin::CrossFadeWindowData

Public Member Functions

virtual ~OffscreenData ()
 
void setDirty ()
 
void setShader (GLShader *newShader)
 
void setVertexSnappingMode (RenderGeometry::VertexSnappingMode mode)
 
void paint (const RenderTarget &renderTarget, const RenderViewport &viewport, EffectWindow *window, const QRegion &region, const WindowPaintData &data, const WindowQuadList &quads)
 
void maybeRender (EffectWindow *window)
 

Public Attributes

std::unique_ptr< GLTexturem_texture
 
std::unique_ptr< GLFramebufferm_fbo
 
bool m_isDirty = true
 
GLShaderm_shader = nullptr
 
RenderGeometry::VertexSnappingMode m_vertexSnappingMode = RenderGeometry::VertexSnappingMode::Round
 
QMetaObject::Connection m_windowDamagedConnection
 

Detailed Description

Definition at line 18 of file offscreeneffect.cpp.

Constructor & Destructor Documentation

◆ ~OffscreenData()

KWin::OffscreenData::~OffscreenData ( )
virtual

Definition at line 137 of file offscreeneffect.cpp.

Member Function Documentation

◆ maybeRender()

void KWin::OffscreenData::maybeRender ( EffectWindow * window)

Definition at line 96 of file offscreeneffect.cpp.

◆ paint()

void KWin::OffscreenData::paint ( const RenderTarget & renderTarget,
const RenderViewport & viewport,
EffectWindow * window,
const QRegion & region,
const WindowPaintData & data,
const WindowQuadList & quads )

Definition at line 157 of file offscreeneffect.cpp.

◆ setDirty()

void KWin::OffscreenData::setDirty ( )

Definition at line 142 of file offscreeneffect.cpp.

◆ setShader()

void KWin::OffscreenData::setShader ( GLShader * newShader)

Definition at line 147 of file offscreeneffect.cpp.

◆ setVertexSnappingMode()

void KWin::OffscreenData::setVertexSnappingMode ( RenderGeometry::VertexSnappingMode mode)

Definition at line 152 of file offscreeneffect.cpp.

Member Data Documentation

◆ m_fbo

std::unique_ptr<GLFramebuffer> KWin::OffscreenData::m_fbo

Definition at line 32 of file offscreeneffect.cpp.

◆ m_isDirty

bool KWin::OffscreenData::m_isDirty = true

Definition at line 33 of file offscreeneffect.cpp.

◆ m_shader

GLShader* KWin::OffscreenData::m_shader = nullptr

Definition at line 34 of file offscreeneffect.cpp.

◆ m_texture

std::unique_ptr<GLTexture> KWin::OffscreenData::m_texture

Definition at line 31 of file offscreeneffect.cpp.

◆ m_vertexSnappingMode

Definition at line 35 of file offscreeneffect.cpp.

◆ m_windowDamagedConnection

QMetaObject::Connection KWin::OffscreenData::m_windowDamagedConnection

Definition at line 36 of file offscreeneffect.cpp.


The documentation for this struct was generated from the following file: