Jump to content

KWin/GSoC/Modularization: Difference between revisions

From KDE Community Wiki
Line 21: Line 21:
** QTimer::singleShot(0, Workspace::self(), SLOT(finishCompositing()));
** QTimer::singleShot(0, Workspace::self(), SLOT(finishCompositing()));
** Workspace::self()->decorationHasAlpha()
** Workspace::self()->decorationHasAlpha()
== Use of Toplevel (in Scene::Window) ==
*scene.cpp
**toplevel->shape()
**toplevel->frameId()
**toplevel->clientPos()
**toplevel->clientSize()
**toplevel->isOnCurrentDesktop()
**toplevel->isOnCurrentActivity()
**toplevel->geometry()
**toplevel->opacity()
**toplevel->hasAlpha()
**toplevel->visibleRect().size()
*scene_opengl.cpp
**toplevel->damage()
**toplevel->windowPixmap()
**toplevel->size()
**toplevel->depth()
**toplevel->resetDamage
**toplevel->clientPos()
**toplevel->clientSize()
**toplevel->visibleRect()
**toplevel->hasAlpha()
*scene_xrender.cpp
**toplevel->damage()
**toplevel->windowPixmap()
**toplevel->resetDamage
**toplevel->rect()
**toplevel)->decorationRect()
**toplevel->visibleRect()
**toplevel->clientPos()
**toplevel->clientSize()

Revision as of 15: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();
    • QTimer::singleShot(0, Workspace::self(), SLOT(finishCompositing()));
    • Workspace::self()->decorationHasAlpha()


Use of Toplevel (in Scene::Window)

  • scene.cpp
    • toplevel->shape()
    • toplevel->frameId()
    • toplevel->clientPos()
    • toplevel->clientSize()
    • toplevel->isOnCurrentDesktop()
    • toplevel->isOnCurrentActivity()
    • toplevel->geometry()
    • toplevel->opacity()
    • toplevel->hasAlpha()
    • toplevel->visibleRect().size()
  • scene_opengl.cpp
    • toplevel->damage()
    • toplevel->windowPixmap()
    • toplevel->size()
    • toplevel->depth()
    • toplevel->resetDamage
    • toplevel->clientPos()
    • toplevel->clientSize()
    • toplevel->visibleRect()
    • toplevel->hasAlpha()
  • scene_xrender.cpp
    • toplevel->damage()
    • toplevel->windowPixmap()
    • toplevel->resetDamage
    • toplevel->rect()
    • toplevel)->decorationRect()
    • toplevel->visibleRect()
    • toplevel->clientPos()
    • toplevel->clientSize()