summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/wayland.pro
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul how platform plugins are builtAndy Nichols2013-02-061-93/+0
| | | | | | | | | | Instead of building only one platform plugin through the use of a complicated if/else structure, build a plugin for each available hardware integration type. Change-Id: If133576515a881274019c1ac5956605f27a9fc40 Reviewed-by: Andy Nichols <andy.nichols@digia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Fix the pointer cursor handling.Giulio Camuffo2013-01-181-2/+2
| | | | | Change-Id: I23527bf06b88c8f612f9bfe7d48f61e80aa6bec3 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Cleanup QtWayland moduleAndy Nichols2012-12-031-5/+5
| | | | | | | | | | | | | | | | | | | | | | | Now that both xkbcommon 0.2.0 and libWayland 1.0.0 have been released, we should no longer be building against sha1's and should be preparing for an eventual release so these build hints have been removed. A test has been added for libWayland 1.0.0 which is required to build QtWayland. README has been updated to reflect the current situation src/3rdparty has been removed as it has not been used in some time. patches folder and contents have been removed as they are no longer needed. extensions folder has been moved to the src folder Change-Id: Iab79b5c164758a4bd0253c90f60b2a2d044e2785 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Initial implementation of decorations for EGL windows.Giulio Camuffo2012-11-171-2/+4
| | | | | | Change-Id: I7521e583bf18f3690ecc6baacd05a5e92e9fd890 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com> Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* adjust to qt_plugin.prf changesOswald Buddenhagen2012-10-241-5/+2
| | | | | | | | DESTDIR and INSTALLS+=target are set up automatically now, but PLUGIN_TYPE needs to be defined. Change-Id: I82a97498be26a6e9021deb6fff02a21bd4787851 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* centralize load(qt_build_config)s in .qmake.confOswald Buddenhagen2012-09-111-1/+0
| | | | | Change-Id: I229c0704fc3a5d230c921b8f9a08ad1b8ee124f6 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Create platform plugin binary into the local plugins directory.Pier Luigi Fiorini2012-08-131-1/+1
| | | | | | | | | | | Set DESTDIR to $$QT.compositor.plugins/platforms in order to create the plugin binary into the local plugins directory. When building Linux packages you usually are in a chroot environment and can't write files outside your build directory, this change avoid permission errors. Change-Id: I3e518f20308b852f4de6a5355af60fc67681cace Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* build system cleanupsOswald Buddenhagen2012-06-271-1/+1
| | | | | | | | | | | | | | | - load(qt_module) => load(qt_build_config) - remove: - CONFIG+=module (obsolete) - code relating to module version headers (automated now) - %mastercontent assignment (automated now) - QT_BUILD_*_LIB defines (automated now) - pointless QPRO_PWD assignments - qmake -project boilerplate - dead code Change-Id: Ia515c3cc40170e3b99b0bfd04c10637d49f9b99f Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* switch to new-style configure testsOswald Buddenhagen2012-06-271-1/+1
| | | | | Change-Id: I70f4f4e81a042a977748dbb42b069b3706829828 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Introduce standard pkg-config usageDonald Carr2012-06-111-27/+7
| | | | | | | | Use our own qualified pkg-config mkspec feature rather than directly executing the system binary Change-Id: I4b162cd8d2d9a8bd5d0b3adb9ca935df9ff96a69 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Client side decorationJørgen Lind2012-04-111-2/+4
| | | | | | | | | Something is alot better than nothing :) This gives window decorations for QWidgets and other applications that use QBackingStore Change-Id: Ic748ee1df88236b20416029e20e26532f7fb4476 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Added qtkey extension to send raw QKeyEvents over the protocol.Samuel Rødal2012-03-271-1/+4
| | | | | | | | | For Qt based compositors we already have the full QKeyEvent, so we might as well send it over the wayland protocol. This pretty much mirrors the touch extension we already have. Change-Id: I922f0cab6fe137272744762d6c57a31056b45672 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* Make the module not depend on QtBase configureJørgen Lind2012-03-121-18/+41
| | | | | | | | This is convenient if we want to reconfigure without reconfiguring QtBase. Change-Id: I719ba0d89905287a557e962ed6d804514e44b7f5 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* conform to new plugin apiJørgen Lind2012-02-291-0/+2
| | | | | Change-Id: I42c05384767989aa95b49abfadd875d0f8b157d4 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Implement selection offers from compositor to clients.Laszlo Agocs2012-01-171-2/+7
| | | | | | | | | | It is a hack but works beautifully. It allows the compositor to participate in copy-paste which becomes mandatory when there is UI running in the compositor process. Change-Id: I1993d8705a26159eff0c9947244b66e954b9f460 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Introduce a touch protocol extension.Laszlo Agocs2012-01-131-3/+6
| | | | | | | | | | | | | | | | | | | Using this opt-in protocol extension all data from QTouchEvent will properly be delivered to the clients. By default compositors will still use the standard and limited protocol for touch events to remain compatible with non-Qt clients. However by calling enableTouchExtension() in the compositor, touch events will be sent through the new protocol and thus Qt clients will receive proper QTouchEvents. Non-Qt clients will get no touch data in this mode. The contents of the rawScreenPositions() list are not yet delivered as the size implications remain to be checked. Change-Id: I981b9c4d44ea808a95b770bf948320abd47fc036 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Implement subsurfaces extensionJørgen Lind2012-01-041-2/+5
| | | | | | | | | | | | This allows you to have subwindows in the compositor. We tried to experiment with composing subsurfaces client side, but the architecture did not feel very lean. This however, requires the compositor to compose each surface before drawing the surface. The example compositors render the subsurfaces into the wl_surfaces texture. This might not be a good idea. Change-Id: I6e186b62d7b490de7f4e6c6f22fcf6c1e0a70df3 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Dont have subdirectories in the extensions folderJørgen2012-01-041-2/+2
| | | | | | | This folder is just for the xml files Change-Id: I20820bac6ed46cb0267b20afddd129ddf64141c5 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Remove Qt4 stuff from qmake filesJørgen Lind2011-12-201-1/+1
| | | | | Change-Id: I008cddcdba58a7a9b77aac8729a643a1ea0ea445 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* Added surface_extension and output_extensionJørgen Lind2011-12-201-2/+10
| | | | | | | | | | This is an atempt on removing WindowManagerIntegration and create more specialised extensions. Hopefully it will reduce tha "map lookups" we have all because of the windowmanagerintegration is way to generic, and hopefully it will make it easier to ready and understand the code Change-Id: I126c430e87909e4520f6d241c0a6023214cb509a Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* Implement shell_surfaceJørgen Lind2011-12-121-2/+6
| | | | | | | | shell_surface is the compositors view of surfaces while wl_surface is the clients view of the surface Change-Id: Ic84eda94ac03960ab566cfc569a103c2b6ad1d44 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* Make wayland actually a moduleJørgen Lind2011-12-071-1/+2
| | | | | | | | | Also fix so that QtCompositor can be built as shared object. + fix so that the default QT_WAYLAND_GL_CONFIG is wayland_egl Change-Id: I02b72e99286584426bd37ab2d00bbc84af11efdc Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* Added data objectsJørgen Lind2011-11-301-7/+7
| | | | | | | ie. new clipboard and dnd protocol Change-Id: I0ebdc6dc2972b6cb1dc882cd6b6f4ddde2621186 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
* Fixed Wayland-Client QPA plugin to work correctly for wayland_eglMartin Zielinski2011-10-261-0/+5
| | | | | Change-Id: I2b65b13b43e14aa173a083309cf30fb28f692a28 Reviewed-by: Arvid Picciani <arvid.picciani@nokia.com>
* Disabled DESTDIR for the wayland platformAndy Nichols2011-09-131-1/+1
| | | | | This enables make install to work correctly. This should be fixed when this is moved into the QtWayland module.
* Merge branch 'master' into refactorGunnar Sletta2011-08-251-2/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/kernel/qapplication_qpa.cpp src/gui/kernel/qcursor_qpa.cpp src/gui/kernel/qwindowsysteminterface_qpa.cpp src/gui/kernel/qwindowsysteminterface_qpa.h src/gui/kernel/qwindowsysteminterface_qpa_p.h src/gui/text/qtextcontrol.cpp src/plugins/platforms/wayland/wayland.pro src/widgets/accessible/qaccessible2.h src/widgets/widgets/qwidgetlinecontrol_p.h Change-Id: I5e6f4eb184159dccc67e8f13673edb884d179c74
| * Support QImage and others in Wayland clipboard.Laszlo Agocs2011-08-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wayland plugin's clipboard implementation lacked support for data set via QMimeData::setImageData, QClipboard::setPixmap, etc. because everything was treated as a QByteArray. A variant having an image cannot however be converted to a byte array. Therefore, to make these convenience functions to work, the image is now encoded via QImageWriter before sending it. On the receiving side QMimeData is capable of decoding images from byte arrays, so no problem there. The patch also renames an internal QWaylandMimeData class to a more suitable clipboard-specific name as the functionality is clipboard specific. Change-Id: I77e7df903b8dbe9731613fdbb9693b2a37b05d18 Reviewed-on: http://codereview.qt.nokia.com/2616 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* | Drag and drop support in Wayland plug-in.Laszlo Agocs2011-07-251-2/+4
| | | | | | | | | | | | | | Change-Id: I5e4448a9b3d3df9e3a12733386079031be340a42 Reviewed-on: http://codereview.qt.nokia.com/2101 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* | Set mac wayland config.Morten Sorvig2011-06-281-0/+8
| |
* | Remove load(eventdispatchers).Morten Sorvig2011-06-281-1/+0
| |
* | Add lighthouse event dispatcher API.Morten Sorvig2011-06-221-0/+1
| | | | | | | | | | | | | | | | | | | | Platform plugin creation is now moved forward in order to have a platform plugin instance at event dispatcher creation time. Plugins are now responsible for implementing PlatformIntegration::createEventDispatcher and returning an QAbstractEventDispatcher subclass.
* | Rename QWindowSurface -> QBackingStore and split into platform / public.Samuel Rødal2011-06-211-2/+2
| | | | | | | | Also get rid of GL window surface and related classes.
* | Make glx wayland backends working.Laszlo Agocs2011-06-201-0/+2
| |
* | QtPlatformSupport: A helper library for platform pluginsJørgen Lind2011-06-101-16/+3
| | | | | | | | | | | | | | | | QtPlatformSupport is a static library. Platform plugins are meant to link against this library to pull in dependencies such as fontengines and convenience functions for finding the right GL configs. The linker will only pull in the symbols used, so the size of the library doesn't really matter
* | Make building of platform plugins indifferent if its out of sourceJørgen Lind2011-06-061-2/+3
| | | | | | | | | | This requires some source files to be shipped with the Qt install They are now copied into QT_INSTALL_DATA/platform
* | Merge remote-tracking branch 'base/master' into refactorJørgen Lind2011-06-011-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/embedded/qmousepc_qws.cpp src/gui/embedded/qwslock.cpp src/plugins/decorations/default/default.pro src/plugins/decorations/styled/styled.pro src/plugins/decorations/windows/windows.pro src/plugins/gfxdrivers/ahi/ahi.pro src/plugins/gfxdrivers/directfb/directfb.pro src/plugins/gfxdrivers/eglnullws/eglnullws.pro src/plugins/gfxdrivers/linuxfb/linuxfb.pro src/plugins/gfxdrivers/qvfb/qvfb.pro src/plugins/gfxdrivers/transformed/transformed.pro src/plugins/gfxdrivers/vnc/vnc.pro src/plugins/graphicssystems/meego/meego.pro src/plugins/graphicssystems/opengl/opengl.pro src/plugins/graphicssystems/openvg/openvg.pro src/plugins/graphicssystems/shivavg/shivavg.pro src/plugins/graphicssystems/trace/trace.pro src/plugins/kbddrivers/linuxinput/linuxinput.pro src/plugins/mousedrivers/linuxtp/linuxtp.pro src/plugins/mousedrivers/pc/pc.pro src/plugins/mousedrivers/tslib/tslib.pro src/plugins/platforms/minimal/minimal.pro tests/auto/qerrormessage/qerrormessage.pro
| * Made qpluginbase.pri into a feature profile.axis2011-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | This enables other modules to use it without having access to the QtBase sources. Change-Id: I0a588b2e14ca88fa068c7c2bcc69ff669444f6c6 Task: QTBUG-19585 Reviewed-on: http://codereview.qt.nokia.com/237 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* | Merge remote branch 'staging/master' into refactorSamuel Rødal2011-05-201-0/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/opengl/qgl_qpa.cpp src/plugins/platforms/glxconvenience/qglxconvenience.cpp src/plugins/platforms/platforms.pro src/plugins/platforms/wayland/qwaylandwindow.cpp src/plugins/platforms/xcb/qxcbwindow.cpp src/plugins/platforms/xcb/qxcbwindow.h src/plugins/platforms/xcb/qxcbwindowsurface.cpp src/widgets/kernel/qwidget_qpa.cpp tests/auto/qvariant/tst_qvariant.cpp
| * Wayland: send surface id + process id pairs to compositorLasse Holmstedt2011-05-191-0/+2
| | | | | | | | | | | | | | | | This enables doing window/process management since we can now actually map the process we've launched to a window. Reviewed-by: Samuel Rødal (cherry picked from commit 457c33d9fd308542c9290fd60bf86960f9251255)
* | Merge remote branch 'staging/master' into refactorSamuel Rødal2011-05-111-2/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/painting/qdrawhelper_p.h src/gui/painting/qgraphicssystemfactory.cpp src/gui/painting/qpainter.cpp src/gui/painting/qunifiedtoolbarsurface_mac.cpp src/gui/painting/qunifiedtoolbarsurface_mac_p.h src/openvg/openvg.pro src/openvg/qpaintengine_vg.cpp src/openvg/qwindowsurface_vg.cpp src/openvg/qwindowsurface_vgegl.cpp src/plugins/platforms/wayland/qwaylanddisplay.cpp src/widgets/graphicsview/qgraphicsscene.cpp
| * Turned on private headers for some plugins.Jonni Rainisto2011-05-091-0/+2
| | | | | | | | Reviewed-by: axis
| * Added Wayland selection support.Laszlo Agocs2011-05-091-2/+6
| |
* | Wayland plugin compile fixes.Samuel Rødal2011-05-091-0/+1
| |
* | Fixed compilation of Wayland plugin.Samuel Rødal2011-05-061-0/+4
|/
* wayland: Track wayland changesKristian Høgsberg2011-05-041-0/+2
| | | | | | Pass version number when creating proxies, use wl_ prefix when looking up interfaces and drop wl_egl_display. (cherry picked from commit c2adf9395214d711a3a40516c6c2afa64b3b4ca3)
* Introduced the QT.<module>.plugins variable to module profiles.axis2011-04-271-1/+1
|
* Make the xcomposite the default gl integration backendJørgen Lind2011-04-111-16/+1
| | | | | The others can be opted in with the environment variable: QT_WAYLAND_GL_CONFIG
* Wayland: Rename XPixmap GL integrations to ReadbackJørgen Lind2011-04-111-2/+2
|
* Wayland: Add a egl xcomposite backendJørgen Lind2011-04-071-1/+4
|
* Made wayland plugin single-threaded, yay :)Samuel Rødal2011-04-071-4/+2
| | | | | Not calling QApplication::processEvents() in qt_init any more, and not using a write socket notifier to send data over the wayland protocol.