dd6598c1ff
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. |
||
---|---|---|
.. | ||
aurorae | ||
b2 | ||
laptop | ||
oxygen | ||
CMakeLists.txt | ||
Messages.sh |