summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Move the curser surface signal to QWaylandInputDeviceJørgen Lind2015-09-045-15/+12
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib2b1ee81a5216e348e6014927c1cc818f848384b
| * | | | Add way for classes to get polish events on compositor initiazliationJørgen Lind2015-09-042-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the compositor has been created the wl_display and registry has been initialized. When this is done other globals can be created. Change-Id: Ifb8a0757877963a35bfa2a896ddb8f28a0b69d64
| * | | | Make Manufacturer & Model modifiable properties of QWaylandOutputJørgen Lind2015-09-0213-47/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This to make construction look nicer and make them modifyable from QML Change-Id: I5f5ffffb34f664914cdb531736c42a6873bfe18c
| * | | | Enable the HW integration extension by default againJørgen Lind2015-08-317-4/+32
| | | | | | | | | | | | | | | | | | | | Change-Id: I8b0f5bd6e8ec179ab3de87228fa7569870778a8f
| * | | | compilefix for removed qwlcompositor_p.h header in HW integrationsJørgen Lind2015-08-314-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and other api adjustments Change-Id: Idda1bfa314d401f59029f2adafbb245a47c267ac
| * | | | Make sure to update the content fbo for QWaylandGLContextJørgen Lind2015-08-282-1/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I09f34fe3ea6bb3b57e49c63284f48d8af908ec1a
| * | | | Use QWaylandBufferRef in QWaylandSurfacePrivate::setBackBufferJørgen Lind2015-08-281-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplifies the logic Change-Id: I918e014c56ceeea8e6c5f93c49d84f9ffe8e27b2
| * | | | Make it possible to create the shell surface from qmlJørgen Lind2015-08-284-12/+40
| | | | | | | | | | | | | | | | | | | | Change-Id: I83dceff36d1027b24c1dafb3bc44e07f7502bc54
| * | | | Macro for QML extension boilerplateJørgen Lind2015-08-283-61/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defines which gives type sub-classes which adds desired functionality for extensions in QML Change-Id: I3973e07e0daf0c27813b3405b9188281092f4375
| * | | | Compilefix from Pauls high DPI changesJørgen Lind2015-08-282-6/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: I871cf93c690be2709d4fb6a1377f102c8d32e243
| * | | | Remove followRequestedPosition from QWaylandQuickItemJørgen Lind2015-08-282-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since it is not needed anymore, and it is trivial to modify QWaylandQuickItem in qml to have this behavior as pure-qml's Chrome.qml shows Change-Id: I795881fde4ecf3e2ec877222e7283b1052b7c27a
| * | | | Make the default wl_shell available from QMLJørgen Lind2015-08-2829-655/+630
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This finaly ties together how to use QWaylandQuickItems with different shells It was required to decouple QWaylandView from the QWaylandQuickItem since QML doesn't play to well with muliple inheritance. The QWaylandQuickItem can be retrieved from the QWaylandView which is now conveniently a QObject. Also the QWaylandQuickItem owns the QWaylandView. This architecture also leaves room for creating a QWaylandWidget :) Change-Id: Ib8a00e6f17f0f1bfc3ff244753f021c76db22cb1
| * | | | Remove automatic initialisation of extensionsJørgen Lind2015-08-2818-97/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is the specific compositor application responsibillity to create the specific extensions. Some of the extensions are picked up with the QWaylandExtension::findIn(QWaylandExtensionContainer *) function to work around missing events/apis. It should be a goal not to have these calles in the base implementation of QWayland[Compositor|Surface|Input..]. Change-Id: Iacd576f2e8a79ca0165b858b1e8f44cddad48d93
| * | | | Move qwltouch_p.h into qwaylandtouch_p.hJørgen Lind2015-08-285-200/+94
| | | | | | | | | | | | | | | | | | | | Change-Id: Id93b3d70fa97307d905300dc4fc842bcf5ce5f1d
| * | | | Remove the qt_sub_surface extensionJørgen Lind2015-08-289-538/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I380590722f2c95ff68972f5b3c94a7cc4cfe016f
| * | | | Move QWaylandKeyboardPrivate away from wayland_wrapperJørgen Lind2015-08-2810-455/+351
| | | | | | | | | | | | | | | | | | | | Change-Id: I77dce1eecdda21f4a9907d1cd7fafe23de326136
| * | | | Move ref and unref from QWaylandSurface to privateJørgen Lind2015-08-285-62/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There shouldn't be a need to call these functions manually, and if there is then their available in the private implementation. Also removed some relay functions in QWaylandSurface Change-Id: I18944c5f1fe87a070baf0c19f1b48aec796774d7
| * | | | Removed the m_ prefix for variables in QWaylandSurfacePrivateJørgen Lind2015-08-283-125/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and remove unnecessary functions Change-Id: I412e5c6e0187e55a0766eee509c02924d3e1a7c9
| * | | | Move QWaylandPointerPrivate into a _p file and remove the apiJørgen Lind2015-08-289-316/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and make sure all other classes uses the public QWaylandPointer type Change-Id: Ie7ff24160c253ff700eb27eb46788fe021386dd7
| * | | | Remove QtWayland::InputDeviceJørgen Lind2015-08-2817-435/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and add QWaylandInputDevicePrivate. Also make sure noone holds a reference to the private instance. Change-Id: Ic2327595d58d6308e1e2699370f53aef47061b04
| * | | | Remove the QtWayland::Output classJørgen Lind2015-08-2811-707/+483
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and add QWaylandOutputPrivate. Also make sure no other class holds a pointer to the QWaylandOutputPrivate but only to QWaylandOutput Change-Id: I6c5914d5bf9b394c6fbd7e181e603076fbdc79d7
| * | | | Fix up that QWindowCompositor didn't send onScreenVisibillityJørgen Lind2015-08-282-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This actually works as an excellent example for how to integrate with extension and signals and slots. Change-Id: Ib4ab8f2ebefcc48940c83f38c5f2219a19902c15
| * | | | Use QWaylandClient in constructor of QWaylandSurfaceJørgen Lind2015-08-287-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of struct ::wl_client * Change-Id: I606a813e84eeec8134e6ece428f42a53e1ba0189
| * | | | Remove QtWayland::Compositor and add QWaylandCompositorPrivateJørgen Lind2015-08-2859-1089/+708
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Embrace PIMPL Change-Id: I8c8b5971e15c208317ff33231bda1513e7b8d489
| * | | | Move some virtual functions into protected scoping.Jørgen Lind2015-08-283-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users should not call these functions, but they should be able to sub-class QWaylandCompositor to reimplement them Change-Id: I35888fec67bec085820733135f201bab1df268a3
| * | | | Remove QtWayland::SurfaceJørgen Lind2015-08-2843-868/+535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Its enough to have QWaylandSurface and QWaylandSurfacePrivate. Also don't pass QWaylandSurfacePrivate around, but pass QWaylandSurface and then use the QWaylandSurfacePrivate::get function. Change-Id: I915cc9d7b4497ad1c6f1f2dee61d9d0db069ba6b
| * | | | Remove the Surface role functionalityJørgen Lind2015-08-282-75/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaced by the QWaylandExtension and QWaylandExtensionContainers Change-Id: Iba0299725542ede618b636fb2d40715acfcb3b51
| * | | | Remove some deprecated apisJørgen Lind2015-08-282-84/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I6a0f68fa6c8fb79cd81daf1315c2b3b041a25de2
| * | | | Remove output from QWaylandSurfaceJørgen Lind2015-08-2816-104/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is the views that belong to outputs. This leads to a couple of interesting cases with enter and leave events, but the implementation says you will get enter events for the first view of a surface entering an output, and for the last view being removed from an output. Also to throttle a surface, there has to be 1 surface which takes care of this. This is because if multiple views throttle, then the client might render to quick. Change-Id: If4bba380fd4d7f506fd769606cbdea4ce58b908d
| * | | | Fixups after rebasingJørgen Lind2015-08-2817-193/+62
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie5d8899157d77f83f2cf65f236d534b972aa4770
| * | | | Remove excess definition of QWaylandKeymapJørgen Lind2015-08-2814-105/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove QWaylandUnmapLock Change-Id: I0b481224fd03032603084142f36be279351f6611
| * | | | WIP: public QWaylandShellJørgen Lind2015-08-282-0/+182
| | | | | | | | | | | | | | | | | | | | Change-Id: I016caf76ad041f0c5322e5e89b5dc2116b4ac886
| * | | | Enable shell surface on qwindow compositorJørgen Lind2015-08-282-2/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: I210ddf347c077c3ea8b4e7b6ab00fb20ba5cbffb
| * | | | Fix missing file rename from QWayalandQuickView -> ....ItemJørgen Lind2015-08-285-6/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: I12a12c3f476d223dc278c34ab1a9a39cc5b5f9e5
| * | | | Remove the default shell functionalityJørgen Lind2015-08-289-122/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be readded in a different way. Also, remove the WaylandSurfaceChrome since it is no longer needed, and just use WaylandView directly Change-Id: I8d4a7b2135d9fdaea7dd3fcd729e55cceebf48fb
| * | | | Fixup from using QScopedPointer and Q_DECLARE_PRIVATE in QWaylandViewJørgen Lind2015-08-281-1/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I253d8079c780607e3ccd025ebf9e08a4760d83de
| * | | | make sure that views don't have a surfaceJørgen Lind2015-08-283-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the surface is deleted. Also, don't access the surface in the destructor of the view Change-Id: I4dac3d8e8f77cd0d83b9bc5c3fb948f3172b95a3
| * | | | Check if we have a shellSurface in the decorationJørgen Lind2015-08-281-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I984163753791a640a99e182b55746f486c0a01cb
| * | | | Remove unused includeJørgen Lind2015-08-281-1/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Icdcc1915ab5ddac8e49ae46476e897c8f5c449e0
| * | | | Remove the QWaylandCompositor::createView virtual functionJørgen Lind2015-08-2810-37/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Views are just a representation of the QWaylandSurface, and many different types of view "sub-classes" will exist depending on its perticular use. Dont enforce just one view implementation for one compositor. Change-Id: Ie237a73e63638e70713f89b479fb1b248426c9ac
| * | | | Make QWaylandOutput a QWaylandExtensionContainerJørgen Lind2015-08-281-2/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic345ef89317f4ee14e2ae41e5b18c3fc3df849d5
| * | | | Fix Compile errors and warningsPaul Olav Tvete2015-08-286-10/+10
| | | | | | | | | | | | | | | | | | | | Change-Id: I2caba2c9de7823214f20529437453c3df02b7b37
| * | | | Rename QWaylandQuickView to QWaylandQuickItemJørgen Lind2015-08-285-66/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QuickView is already used for something semantically different, lets stick with Item which is a subclass of QWaylandView A QWaylandView is a view of a surface.... Change-Id: I75975485e7b5fb66444fe9fe400effb124882d32
| * | | | rename QWaylandExtensionTemplate::get to findInJørgen Lind2015-08-2810-21/+15
| | | | | | | | | | | | | | | | | | | | Change-Id: I7fcfd2e4974cf1b5b32592a6d5c03ed335a9f446
| * | | | Rename QWaylandSurfaceView to QWaylandViewJørgen Lind2015-08-2845-239/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and rename QWaylandSurfaceItem to QWaylandQuickView Change-Id: I989b482eb79df06e9f265bc2b0ef6b3dce7509d6
| * | | | Improve QWaylandExtensionJørgen Lind2015-08-2828-151/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By using curiously recurring template pattern we can generate a getter which is very convenient, and all QWaylandExtensions should have this casting operation Change-Id: Idb5a786655f2e106cf5388b11ed71e8b6ddddec0
| * | | | Remove transient(inactive|parent|offset) from QWaylandSurfaceJørgen Lind2015-08-2811-69/+41
| | | | | | | | | | | | | | | | | | | | Change-Id: I0fad382c0baa13ec72ff5e45cc1eba0bd4d5c70a
| * | | | Remove the static instance of a compositor.Jørgen Lind2015-08-289-27/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All classes that needs to access the compositor instance needs to keep a reference to it Change-Id: Ia0d4b04b460200ad3c7907b94c032afe90c18771
| * | | | Make it possible to subclass QWayland(Pointer|Keyboard|Touch)Jørgen Lind2015-08-283-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by having factory functions on QWaylandCompositor and use them from QWaylandInputDevicePrivate Change-Id: Id5e0413ca1fb40e2f7eba571dda361b2809fe313
| * | | | Make addClient virutal api for Keyboard Pointer and touchJørgen Lind2015-08-285-3/+12
| | | | | | | | | | | | | | | | | | | | Change-Id: I8787d109ffcd3017d8ee3d13715016c3ce8e9287