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

kde the composited desktop
SMART_READER_LITE
LIVE PREVIEW

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 1

Colour outside the lines

KDE The Composited Desktop

Luboš Luňák Akademy 2007

slide-2
SLIDE 2

Colour outside the lines

  • boring part
  • the other part

Contents

slide-3
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
SLIDE 4

Colour outside the lines

Non-composited X

slide-5
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
SLIDE 6

Colour outside the lines

Composited X

slide-7
SLIDE 7

Colour outside the lines

Composited X

slide-8
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
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
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
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
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
SLIDE 13

Colour outside the lines

Example

slide-14
SLIDE 14

Colour outside the lines

  • Under development
  • Unstable
  • Kind of works
  • Needs more (useful) effects

Status

slide-15
SLIDE 15

Colour outside the lines

?

(up to people to fill up)

Future

slide-16
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

...

Questions