This is a temporary solution! A proper solution needs changes in libkdecoration and paint redirector. The hack redirects the rendering into an FBO. After each rendering we get a QImage from the FBO and store that in a buffer. As we unfortunately do not know what changed, we schedule a complete update on the deco's widget. Once we get the paint event we just render the buffer on the widget. And thus we have copied the content to a place where it integrates with the paint redirector. As already written, this is a horrible hack and I'm not proud about it. There are just too many copies involved. So how to improve? * deco should be able to just provide a QImage to the PaintRedirector without the paint to the QWidget. * only do the FBO -> QImage step if it is needed by the compositor, that is compress the events * for OpenGL compositing it would be totally awesome if we could just make the contexts sharing so that we can just reuse the texture from the FBO directly. |
||
---|---|---|
.. | ||
src | ||
themes | ||
AUTHORS | ||
CMakeLists.txt | ||
README | ||
theme-description | ||
TODO |
Aurorae is a themeable window decoration for KWin. It supports theme files consisting of several SVG files for decoration and buttons. Themes can be installed and selected directly in the configuration module of KWin decorations. Please have a look at theme-description on how to write a theme file.