KWin
|
#include <x11_standalone_backend.h>
Public Member Functions | |
X11StandaloneBackend (QObject *parent=nullptr) | |
~X11StandaloneBackend () override | |
bool | initialize () override |
::Display * | display () const |
xcb_connection_t * | connection () const |
xcb_window_t | rootWindow () const |
std::unique_ptr< OpenGLBackend > | createOpenGLBackend () override |
QList< CompositingType > | supportedCompositors () const override |
void | initOutputs () |
void | scheduleUpdateOutputs () |
void | updateOutputs () |
std::unique_ptr< Edge > | createScreenEdge (ScreenEdges *parent) |
std::unique_ptr< Cursor > | createPlatformCursor () |
void | startInteractiveWindowSelection (std::function< void(KWin::Window *)> callback, const QByteArray &cursorName=QByteArray()) |
void | startInteractivePositionSelection (std::function< void(const QPointF &)> callback) |
PlatformCursorImage | cursorImage () const |
std::unique_ptr< OutlineVisual > | createOutline (Outline *outline) |
void | createEffectsHandler (Compositor *compositor, WorkspaceScene *scene) |
X11Keyboard * | keyboard () const |
RenderLoop * | renderLoop () const |
Outputs | outputs () const override |
void | setEglDisplay (std::unique_ptr< EglDisplay > &&display) |
EglDisplay * | sceneEglDisplayObject () const override |
![]() | |
~OutputBackend () override | |
virtual std::unique_ptr< InputBackend > | createInputBackend () |
virtual std::unique_ptr< QPainterBackend > | createQPainterBackend () |
::EGLContext | sceneEglGlobalShareContext () const |
void | setSceneEglGlobalShareContext (::EGLContext context) |
Output * | findOutput (const QString &name) const |
virtual QString | supportInformation () const |
virtual Output * | createVirtualOutput (const QString &name, const QSize &size, qreal scale) |
virtual void | removeVirtualOutput (Output *output) |
virtual bool | applyOutputChanges (const OutputConfiguration &config) |
virtual Session * | session () const |
Additional Inherited Members | |
![]() | |
virtual void | sceneInitialized () |
![]() | |
void | outputsQueried () |
void | outputAdded (Output *output) |
void | outputRemoved (Output *output) |
![]() | |
OutputBackend (QObject *parent=nullptr) | |
![]() | |
::EGLContext | m_globalShareContext = EGL_NO_CONTEXT |
Definition at line 41 of file x11_standalone_backend.h.
KWin::X11StandaloneBackend::X11StandaloneBackend | ( | QObject * | parent = nullptr | ) |
Definition at line 97 of file x11_standalone_backend.cpp.
|
override |
Definition at line 121 of file x11_standalone_backend.cpp.
xcb_connection_t * KWin::X11StandaloneBackend::connection | ( | ) | const |
Definition at line 132 of file x11_standalone_backend.cpp.
void KWin::X11StandaloneBackend::createEffectsHandler | ( | Compositor * | compositor, |
WorkspaceScene * | scene ) |
Definition at line 255 of file x11_standalone_backend.cpp.
|
overridevirtual |
Reimplemented from KWin::OutputBackend.
Definition at line 157 of file x11_standalone_backend.cpp.
std::unique_ptr< OutlineVisual > KWin::X11StandaloneBackend::createOutline | ( | Outline * | outline | ) |
Definition at line 250 of file x11_standalone_backend.cpp.
std::unique_ptr< Cursor > KWin::X11StandaloneBackend::createPlatformCursor | ( | ) |
Definition at line 186 of file x11_standalone_backend.cpp.
std::unique_ptr< Edge > KWin::X11StandaloneBackend::createScreenEdge | ( | ScreenEdges * | parent | ) |
Definition at line 178 of file x11_standalone_backend.cpp.
PlatformCursorImage KWin::X11StandaloneBackend::cursorImage | ( | ) | const |
Definition at line 208 of file x11_standalone_backend.cpp.
Display * KWin::X11StandaloneBackend::display | ( | ) | const |
Definition at line 127 of file x11_standalone_backend.cpp.
|
overridevirtual |
Implements KWin::OutputBackend.
Definition at line 142 of file x11_standalone_backend.cpp.
void KWin::X11StandaloneBackend::initOutputs | ( | ) |
Definition at line 270 of file x11_standalone_backend.cpp.
X11Keyboard * KWin::X11StandaloneBackend::keyboard | ( | ) | const |
Definition at line 463 of file x11_standalone_backend.cpp.
|
overridevirtual |
Implements KWin::OutputBackend.
Definition at line 458 of file x11_standalone_backend.cpp.
RenderLoop * KWin::X11StandaloneBackend::renderLoop | ( | ) | const |
Definition at line 468 of file x11_standalone_backend.cpp.
xcb_window_t KWin::X11StandaloneBackend::rootWindow | ( | ) | const |
Definition at line 137 of file x11_standalone_backend.cpp.
|
overridevirtual |
Implements KWin::OutputBackend.
Definition at line 519 of file x11_standalone_backend.cpp.
void KWin::X11StandaloneBackend::scheduleUpdateOutputs | ( | ) |
Definition at line 276 of file x11_standalone_backend.cpp.
void KWin::X11StandaloneBackend::setEglDisplay | ( | std::unique_ptr< EglDisplay > && | display | ) |
Definition at line 514 of file x11_standalone_backend.cpp.
void KWin::X11StandaloneBackend::startInteractivePositionSelection | ( | std::function< void(const QPointF &)> | callback | ) |
Definition at line 242 of file x11_standalone_backend.cpp.
void KWin::X11StandaloneBackend::startInteractiveWindowSelection | ( | std::function< void(KWin::Window *)> | callback, |
const QByteArray & | cursorName = QByteArray() ) |
Definition at line 234 of file x11_standalone_backend.cpp.
|
overridevirtual |
The CompositingTypes supported by the Platform. The first item should be the most preferred one.
Implements KWin::OutputBackend.
Definition at line 260 of file x11_standalone_backend.cpp.
void KWin::X11StandaloneBackend::updateOutputs | ( | ) |
Definition at line 281 of file x11_standalone_backend.cpp.