KWin
|
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 ®ion, const WindowPaintData &data, const WindowQuadList &quads) |
void | maybeRender (EffectWindow *window) |
Public Attributes | |
std::unique_ptr< GLTexture > | m_texture |
std::unique_ptr< GLFramebuffer > | m_fbo |
bool | m_isDirty = true |
GLShader * | m_shader = nullptr |
RenderGeometry::VertexSnappingMode | m_vertexSnappingMode = RenderGeometry::VertexSnappingMode::Round |
QMetaObject::Connection | m_windowDamagedConnection |
Definition at line 18 of file offscreeneffect.cpp.
|
virtual |
Definition at line 137 of file offscreeneffect.cpp.
void KWin::OffscreenData::maybeRender | ( | EffectWindow * | window | ) |
Definition at line 96 of file offscreeneffect.cpp.
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.
void KWin::OffscreenData::setDirty | ( | ) |
Definition at line 142 of file offscreeneffect.cpp.
void KWin::OffscreenData::setShader | ( | GLShader * | newShader | ) |
Definition at line 147 of file offscreeneffect.cpp.
void KWin::OffscreenData::setVertexSnappingMode | ( | RenderGeometry::VertexSnappingMode | mode | ) |
Definition at line 152 of file offscreeneffect.cpp.
std::unique_ptr<GLFramebuffer> KWin::OffscreenData::m_fbo |
Definition at line 32 of file offscreeneffect.cpp.
bool KWin::OffscreenData::m_isDirty = true |
Definition at line 33 of file offscreeneffect.cpp.
GLShader* KWin::OffscreenData::m_shader = nullptr |
Definition at line 34 of file offscreeneffect.cpp.
std::unique_ptr<GLTexture> KWin::OffscreenData::m_texture |
Definition at line 31 of file offscreeneffect.cpp.
RenderGeometry::VertexSnappingMode KWin::OffscreenData::m_vertexSnappingMode = RenderGeometry::VertexSnappingMode::Round |
Definition at line 35 of file offscreeneffect.cpp.
QMetaObject::Connection KWin::OffscreenData::m_windowDamagedConnection |
Definition at line 36 of file offscreeneffect.cpp.