kde the composited desktop
play

KDE The Composited Desktop Lubo Luk Akademy 2007 Colour outside - PowerPoint PPT Presentation

KDE The Composited Desktop Lubo Luk Akademy 2007 Colour outside the lines Contents boring part the other part Colour outside the lines Non-composited X window contents are painted directly to the screen not-visible


  1. KDE The Composited Desktop Luboš Luňák Akademy 2007 Colour outside the lines

  2. Contents ● boring part ● the other part Colour outside the lines

  3. Non-composited X ● window contents are painted directly to the screen ● not-visible parts are thrown away ● no way to affect/transform painting Colour outside the lines

  4. Non-composited X Colour outside the lines

  5. Composited X ● window contents are painted to an offscreen pixmap ● regardless of their visibility on the screen ● by default they are also painted to the screen ● a compositing manager can perform the painting to the screen instead Colour outside the lines

  6. Composited X Colour outside the lines

  7. Composited X Colour outside the lines

  8. AIGLX, XGL, nVidia ● from the compositing manager's point of view, they seem about the same, except for different bugs ● different implementations of accelerated indirect rendering (video, OpenGL) ● having one that works should be generally enough :) Colour outside the lines

  9. Compositing manager in KDE ● can be a separate application (Kompmgr) ● separate is not powerful enough, needs to be integrated with window manager ● Compiz - also replaces KWin as the window manager ● KWin - with compositing support Colour outside the lines

  10. KWin compositing ● added one more pass for composited painting ● whenever changes are detected (XDamage extension for window contents), repaint is triggered ● added support for tracking unmanaged (override redirect) windows ● various small changes Colour outside the lines

  11. Painting pass paint E3 E4 E5 screen E1 E2 E3 E4 E5 E6 E7 E8 E9 windows E6 E7 E8 E9 E6 E7 E8 E9 Colour outside the lines

  12. Effects ● can affect painting of windows or the whole screen ● get notified about various events in the window system ● X/OpenGL code not necessary for many features ● API still under development ● no, can't use Compiz plugins Colour outside the lines

  13. Example Colour outside the lines

  14. Status ● Under development ● Unstable ● Kind of works ● Needs more (useful) effects Colour outside the lines

  15. Future ? (up to people to fill up) Colour outside the lines

  16. Questions ● docs? - kwin/COMPOSITE_HOWTO ● where to help? - kwin@kde.org ● will it be absolutely cool? - don't ask me ● will it be useful? - that's the plan ... Colour outside the lines

Recommend


More recommend