Review Request 112142: QQuick item for live updating window thumbnails
Martin Gräßlin
mgraesslin at kde.org
Mon Sep 2 13:05:03 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112142/
-----------------------------------------------------------
(Updated Sept. 2, 2013, 3:05 p.m.)
Review request for Plasma and Aaron J. Seigo.
Changes
-------
* dropped the Q_SLOT
* rebased to current master
Description
-------
New qquick item in PlasmaCore to render a live updating window
thumbnail. The implementation uses XCB to redirect the specified
window using the composite extension. This means a running compositor
is not required. Through the damage extension the item tracks changes
to the window and triggers updates of the texture. Furthermore the
item tracks geometry changes of the window to recreate the window
pixmap.
If the pixmap of the window is valid, a texture is generated from it
using the glx texture from pixmap extension. For this a new optional
dependency for glx is added. On platform where glx is not available
(e.g. Windows, Linux with OpenGL ES) this will not get compiled and
the window's icon is used instead as a fallback.
====
For more info see also the documentation of the item in the header file.
I plan to also add an egl variant (which is magnitudes easier) once I figure out how to compile Qt to use egl instead of glx for the xcb platform plugin.
Diffs (updated)
-----
CMakeLists.txt 84a7911
src/declarativeimports/core/CMakeLists.txt 12c0690
src/declarativeimports/core/corebindingsplugin.cpp 7bbdfe6
src/declarativeimports/core/windowthumbnail.h PRE-CREATION
src/declarativeimports/core/windowthumbnail.cpp PRE-CREATION
src/plasma/config-plasma.h.cmake f2da235
Diff: http://git.reviewboard.kde.org/r/112142/diff/
Testing
-------
File Attachments
----------------
Window and it's thumbnail
http://git.reviewboard.kde.org/media/uploaded/files/2013/08/18/windowthumbnail.png
Thanks,
Martin Gräßlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130902/4de5189e/attachment.html>
More information about the Plasma-devel
mailing list