This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/102387/

Review request for kwin and Arthur Arlt.
By Martin Gräßlin.

Description

It annoys me from time to time that I do not know whether kwin uses OpenGL or falls back to XRender (e.g. on tablet). So this ends the problem by just asking on DBus.

I will wait with committing till Arthur finished the last bit of splitting out the Workspace methods in composite into a Compositor class and will then export a new Object /Compositor on the DBus interface.

Testing

* kwin_gles returns OpenGL ES 2.0
* kwin returns OpenGL 2.x
* No Compositing returns No Compositing
* XRender I assume returns XRender.

Diffs

  • kwin/composite.cpp (2b8ea6f)
  • kwin/org.kde.KWin.xml (bd993ed)
  • kwin/scene.h (6ce39c0)
  • kwin/scene_opengl.h (600ae2e)
  • kwin/scene_opengl_egl.cpp (4e232c2)
  • kwin/scene_opengl_glx.cpp (06a7b0a)
  • kwin/scene_xrender.h (6c916c8)
  • kwin/scene_xrender.cpp (73dd22f)
  • kwin/workspace.h (2cba848)

View Diff