| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ib2b1ee81a5216e348e6014927c1cc818f848384b
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This to make construction look nicer and make them modifyable from QML
Change-Id: I5f5ffffb34f664914cdb531736c42a6873bfe18c
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I8b0f5bd6e8ec179ab3de87228fa7569870778a8f
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and other api adjustments
Change-Id: Idda1bfa314d401f59029f2adafbb245a47c267ac
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I09f34fe3ea6bb3b57e49c63284f48d8af908ec1a
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
simplifies the logic
Change-Id: I918e014c56ceeea8e6c5f93c49d84f9ffe8e27b2
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I83dceff36d1027b24c1dafb3bc44e07f7502bc54
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
defines which gives type sub-classes which adds desired functionality
for extensions in QML
Change-Id: I3973e07e0daf0c27813b3405b9188281092f4375
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I871cf93c690be2709d4fb6a1377f102c8d32e243
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Id93b3d70fa97307d905300dc4fc842bcf5ce5f1d
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I380590722f2c95ff68972f5b3c94a7cc4cfe016f
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I77dce1eecdda21f4a9907d1cd7fafe23de326136
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and remove unnecessary functions
Change-Id: I412e5c6e0187e55a0766eee509c02924d3e1a7c9
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and make sure all other classes uses the public QWaylandPointer type
Change-Id: Ie7ff24160c253ff700eb27eb46788fe021386dd7
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and add QWaylandInputDevicePrivate. Also make sure noone holds a
reference to the private instance.
Change-Id: Ic2327595d58d6308e1e2699370f53aef47061b04
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and add QWaylandOutputPrivate. Also make sure no other class holds a
pointer to the QWaylandOutputPrivate but only to QWaylandOutput
Change-Id: I6c5914d5bf9b394c6fbd7e181e603076fbdc79d7
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This actually works as an excellent example for how to integrate with
extension and signals and slots.
Change-Id: Ib4ab8f2ebefcc48940c83f38c5f2219a19902c15
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
instead of struct ::wl_client *
Change-Id: I606a813e84eeec8134e6ece428f42a53e1ba0189
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Embrace PIMPL
Change-Id: I8c8b5971e15c208317ff33231bda1513e7b8d489
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Users should not call these functions, but they should be able to
sub-class QWaylandCompositor to reimplement them
Change-Id: I35888fec67bec085820733135f201bab1df268a3
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This replaced by the QWaylandExtension and QWaylandExtensionContainers
Change-Id: Iba0299725542ede618b636fb2d40715acfcb3b51
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I6a0f68fa6c8fb79cd81daf1315c2b3b041a25de2
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ie5d8899157d77f83f2cf65f236d534b972aa4770
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also remove QWaylandUnmapLock
Change-Id: I0b481224fd03032603084142f36be279351f6611
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I016caf76ad041f0c5322e5e89b5dc2116b4ac886
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I210ddf347c077c3ea8b4e7b6ab00fb20ba5cbffb
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I12a12c3f476d223dc278c34ab1a9a39cc5b5f9e5
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I253d8079c780607e3ccd025ebf9e08a4760d83de
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
when the surface is deleted. Also, don't access the surface in the
destructor of the view
Change-Id: I4dac3d8e8f77cd0d83b9bc5c3fb948f3172b95a3
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I984163753791a640a99e182b55746f486c0a01cb
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Icdcc1915ab5ddac8e49ae46476e897c8f5c449e0
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ic345ef89317f4ee14e2ae41e5b18c3fc3df849d5
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I2caba2c9de7823214f20529437453c3df02b7b37
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I7fcfd2e4974cf1b5b32592a6d5c03ed335a9f446
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and rename QWaylandSurfaceItem to QWaylandQuickView
Change-Id: I989b482eb79df06e9f265bc2b0ef6b3dce7509d6
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I0fad382c0baa13ec72ff5e45cc1eba0bd4d5c70a
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
All classes that needs to access the compositor instance needs to keep
a reference to it
Change-Id: Ia0d4b04b460200ad3c7907b94c032afe90c18771
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
by having factory functions on QWaylandCompositor and use them from
QWaylandInputDevicePrivate
Change-Id: Id5e0413ca1fb40e2f7eba571dda361b2809fe313
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I8787d109ffcd3017d8ee3d13715016c3ce8e9287
|