#include <compositor.h>
Definition at line 34 of file compositor.h.
◆ State
Enumerator |
---|
On | |
Off | |
Starting | |
Stopping | |
Definition at line 38 of file compositor.h.
◆ ~Compositor()
KWin::Compositor::~Compositor |
( |
| ) |
|
|
override |
◆ Compositor()
KWin::Compositor::Compositor |
( |
QObject * | parent = nullptr | ) |
|
|
explicitprotected |
◆ aboutToDestroy
void KWin::Compositor::aboutToDestroy |
( |
| ) |
|
|
signal |
◆ aboutToToggleCompositing
void KWin::Compositor::aboutToToggleCompositing |
( |
| ) |
|
|
signal |
◆ addSuperLayer()
void KWin::Compositor::addSuperLayer |
( |
RenderLayer * | layer | ) |
|
|
protected |
◆ backend()
◆ composite
void KWin::Compositor::composite |
( |
RenderLoop * | renderLoop | ) |
|
|
protectedvirtualslot |
◆ compositing()
static bool KWin::Compositor::compositing |
( |
| ) |
|
|
inlinestatic |
Static check to test whether the Compositor is available and active.
- Returns
- bool
true
if there is a Compositor and it is active, false
otherwise
Definition at line 78 of file compositor.h.
◆ compositingNotPossibleReason()
QString KWin::Compositor::compositingNotPossibleReason |
( |
| ) |
const |
|
virtual |
Returns a user facing text explaining why compositing is not possible in case compositingPossible returns false
.
The default implementation returns an empty string.
- See also
- compositingPossible
Reimplemented in KWin::X11Compositor.
Definition at line 282 of file compositor.cpp.
◆ compositingPossible()
bool KWin::Compositor::compositingPossible |
( |
| ) |
const |
|
virtual |
Whether Compositing is possible in the Platform. Returning false
in this method makes only sense if requiresCompositing returns false
.
The default implementation returns true
.
- See also
- requiresCompositing
Reimplemented in KWin::X11Compositor.
Definition at line 277 of file compositor.cpp.
◆ compositingToggled
void KWin::Compositor::compositingToggled |
( |
bool | active | ) |
|
|
signal |
◆ cursorScene()
◆ deleteUnusedSupportProperties()
void KWin::Compositor::deleteUnusedSupportProperties |
( |
| ) |
|
|
protected |
◆ findOutput()
◆ framePass()
◆ inhibit()
void KWin::Compositor::inhibit |
( |
Window * | window | ) |
|
|
virtual |
◆ isActive()
bool KWin::Compositor::isActive |
( |
| ) |
|
◆ keepSupportProperty()
void KWin::Compositor::keepSupportProperty |
( |
xcb_atom_t | atom | ) |
|
◆ openGLCompositingIsBroken()
bool KWin::Compositor::openGLCompositingIsBroken |
( |
| ) |
const |
|
virtual |
Whether OpenGL compositing is broken. The Platform can implement this method if it is able to detect whether OpenGL compositing broke (e.g. triggered a crash in a previous run).
Default implementation returns false
.
- See also
- createOpenGLSafePoint
Reimplemented in KWin::X11Compositor.
Definition at line 287 of file compositor.cpp.
◆ paintPass()
void KWin::Compositor::paintPass |
( |
RenderLayer * | layer, |
|
|
const RenderTarget & | renderTarget, |
|
|
const QRegion & | region ) |
|
protected |
◆ postPaintPass()
void KWin::Compositor::postPaintPass |
( |
RenderLayer * | layer | ) |
|
|
protected |
◆ prePaintPass()
void KWin::Compositor::prePaintPass |
( |
RenderLayer * | layer, |
|
|
QRegion * | damage ) |
|
protected |
◆ reinitialize()
void KWin::Compositor::reinitialize |
( |
| ) |
|
|
virtual |
◆ removeSuperLayer()
void KWin::Compositor::removeSuperLayer |
( |
RenderLayer * | layer | ) |
|
|
protected |
◆ removeSupportProperty()
void KWin::Compositor::removeSupportProperty |
( |
xcb_atom_t | atom | ) |
|
◆ scene()
◆ sceneCreated
void KWin::Compositor::sceneCreated |
( |
| ) |
|
|
signal |
◆ self()
◆ start()
virtual void KWin::Compositor::start |
( |
| ) |
|
|
protectedpure virtual |
◆ stop()
virtual void KWin::Compositor::stop |
( |
| ) |
|
|
protectedpure virtual |
◆ uninhibit()
void KWin::Compositor::uninhibit |
( |
Window * | window | ) |
|
|
virtual |
◆ m_backend
◆ m_cursorScene
std::unique_ptr<CursorScene> KWin::Compositor::m_cursorScene |
|
protected |
◆ m_scene
◆ m_state
◆ m_superlayers
◆ m_unusedSupportProperties
QList<xcb_atom_t> KWin::Compositor::m_unusedSupportProperties |
|
protected |
◆ m_unusedSupportPropertyTimer
QTimer KWin::Compositor::m_unusedSupportPropertyTimer |
|
protected |
◆ s_compositor
Compositor * KWin::Compositor::s_compositor = nullptr |
|
staticprotected |
The documentation for this class was generated from the following files: