KWin/GSoC/Modularization

From KDE Community Wiki

Modularization of KWin

Removing Scene dependency from Core

Use of Workspace

  • scene_open_glx.cpp and scene_opengl_egl.cpp
    • wspace->destroyOverlay();
    • wspace->overlayWindow();
    • wspace->createOverlay();
    • wspace->setupOverlay(buffer);
  • only scene_open_glx.cpp
    • QTimer::singleShot(0, Workspace::self(), SLOT(fallbackToXRenderCompositing()));
  • scene_xrender.cpp
    • wspace->createOverlay();
    • wspace->setupOverlay(None);
    • wspace->overlayWindow()
    • wspace->destroyOverlay();
    • wspace->setOverlayShape(reg);
    • wspace->showOverlay();
    • wspace->hideOverlay();
    • QTimer::singleShot(0, Workspace::self(), SLOT(finishCompositing()));
    • Workspace::self()->decorationHasAlpha()