Colour outside the lines
KDE The Composited Desktop Lubo Luk Akademy 2007 Colour outside - - PowerPoint PPT Presentation
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
SLIDE 1
SLIDE 2
Colour outside the lines
- boring part
- the other part
Contents
SLIDE 3
Colour outside the lines
- window contents are painted
directly to the screen
- not-visible parts are thrown away
- no way to affect/transform painting
Non-composited X
SLIDE 4
Colour outside the lines
Non-composited X
SLIDE 5
Colour outside the lines
- window contents are painted to an
- ffscreen 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
Composited X
SLIDE 6
Colour outside the lines
Composited X
SLIDE 7
Colour outside the lines
Composited X
SLIDE 8
Colour outside the lines
- 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 :)
AIGLX, XGL, nVidia
SLIDE 9
Colour outside the lines
- 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
Compositing manager in KDE
SLIDE 10
Colour outside the lines
- 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
KWin compositing
SLIDE 11
Colour outside the lines
Painting pass
paint
E5 E4 E3 E2 E1
screen
E5 E4 E3
windows
E9 E8 E7 E6 E9 E8 E7 E6 E9 E8 E7 E6
SLIDE 12
Colour outside the lines
- 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
Effects
SLIDE 13
Colour outside the lines
Example
SLIDE 14
Colour outside the lines
- Under development
- Unstable
- Kind of works
- Needs more (useful) effects
Status
SLIDE 15
Colour outside the lines
?
(up to people to fill up)
Future
SLIDE 16
Colour outside the lines
- 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