Revision d2452e2...

Go back to digest for 9th March 2014

Features in User Interface

Martin Gräßlin committed changes in [plasma-framework] /:

EGL/X11 backend for WindowThumbnail QQuickItem

Introduces a new optional dependency to EGL. If EGL is found the
WindowThumbnail gets compiled with EGL support. The EGL support is
unlike Qt's XCB plugin not mutual exclusive to the GLX backend, thus
it's possible to compile with EGL and GLX at the same time.
By that this implementation is prepared for the case that Qt supports
EGL or GLX through runtime selection.

In practice EGL support is only useful if Qt is compiled with GLESv2.
In that case the corebindingsplugin gets linked against Qt5::Gui_GLESv2
to get the dependency to GLES.

The implementation makes use of the EGL_KHR_image extension
(or EGL_KHR_image_base and EGL_KHR_Image_pixmap) and
the GL_OES_EGL_image extension to bind the X pixmap to an EGLImageKHR.

REVIEW: 116627

File Changes

Modified 5 files
  •   CMakeLists.txt
  •   src/plasma/config-plasma.h.cmake
  •   src/declarativeimports/core/CMakeLists.txt
  •   src/declarativeimports/core/windowthumbnail.cpp
  •   src/declarativeimports/core/windowthumbnail.h
5 files changed in total