Jump to content

KWin/GSoC/Modularization: Difference between revisions

From KDE Community Wiki
Line 19: Line 19:
** wspace->showOverlay();
** wspace->showOverlay();
** wspace->hideOverlay();
** wspace->hideOverlay();
** QTimer::singleShot(0, Workspace::self(), SLOT(finishCompositing()));
** Workspace::self()->decorationHasAlpha()

Revision as of 14:12, 21 June 2011

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()