Jump to content

KWin/GSoC/Modularization: Difference between revisions

From KDE Community Wiki
Created page with '= Modularization of KWin = == Removing Scene dependency from Core == === Uses of Workspace === * scene_open_glx.cpp ** wspace->destroyOverlay(); ** wspace->overlayWindow();'
 
Line 1: Line 1:
= Modularization of KWin =
= Modularization of KWin =
== Removing Scene dependency from Core ==
== Removing Scene dependency from Core ==
=== Uses of Workspace ===
=== Use of Workspace ===
* scene_open_glx.cpp
* scene_open_glx.cpp and scene_opengl_egl.cpp
** wspace->destroyOverlay();
** wspace->destroyOverlay();
** wspace->overlayWindow();
** 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();

Revision as of 14:10, 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();