| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
in the compositor apis
Change-Id: I0b90843647cbea3e3db22386bfba769db5602d86
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Idb0a3c37668be8eacac1a6e19b4a649bedec107a
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ia6c5d96186c8877a51df8541c95b5ccad04a3eb0
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This because both the touch interface and pointer interface depends on
it
Change-Id: I64718e0db87085c656250a22107715ddb68bc9ae
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I60ec2fd9f4afe54198d9c476b28f9f15a661e9ca
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: If2cbf096e7419bc1bda007d5167ce39d1a5d50ae
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QWindowCompositor isn't to causious about mouse grabbing, and segfaults
if resizing stops when mouse cursor is outside of the window
Change-Id: I227df4d63e41f18024776c7d6e2e5de19ee48fbc
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ifeaafadb7d90256e282891047364b6fa9a95d66a
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Its purpose is to make it possible to have multiscreen environments, and
also multiple multioutput environments
It is also an abstraction to make it clear that outputs are arranged in
a 2d space
Change-Id: I418509996a03b2ca1a12aec9c9e25e143a15a10f
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and add a property called primaryOutput on the QWaylandSurface.
Also add some bookkeeping in QtWayland::Output so it knows what surfaces
and views it currently holds, sending the enter and leave events
automatically.
Change-Id: Ib6efbc6f8157657fb4451b751bba1cb5345b7906
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
to the respective QWaylandSurfaceView. For all GL applications this will have no
significant impact, but will cause a memory regression for shm surfaces
with multiple views.
This is done to simplify the creation and destruction of textures,
especially in multi-threaded environments.
Also the same patch removes the y_inverted property and replaces it with
a origin property. Its done in the same patch as a lot of the code was
overlapping.
Change-Id: I4bce50c614c9ac3ba0580e0560339476eac03433
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ibc50d08b4aace996d9f0eec5c6083b1255ae1723
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ib79ac0e6c539f997549225594b8756fbb95170c3
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I3e5ed3233f74c98bffd7064d70d076ecaa129d7e
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I3be8394ad25958f29d4fccc09472355f1560b4ea
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ic6edf6d6e723b8f62e61855958a455096f094c5e
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I118cac0aef15db9f2cac51918d29329918810711
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I713c9ab2f0edaa4346ff021764de6a23201bbf68
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This also, if the current mouse coordinate ends on the boundary of the
surface, then subtract 0.01 from the mouse coordinate. This is to work
around Qt's mouse event propogation which is QRectF::contains which is
including the boundary, and Wayland which uses a strict contains. We
cant just discard events since Qt handles also enter/leave and clicking
state etc.
Change-Id: I919651232a5027b9fe0cb15b6838d3b1fee682df
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I233a5a9de1455714109ae6000cdd7df9fcffb977
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will allow us to use QWaylandSurfaceItem from within QML
Change-Id: I6ecfbf3a5de5f5a748a6a85295b9741316fef976
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I4c90149e0b56df3f6718620e80443d50ac10439b
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Icafab695071259e2112e9742ba46a19c1dc74586
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I0d1d9f51f8b283b8089a36805dc7b20f121cb010
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I37c55cf96ddc6ddd173f850dd4acc1856a752601
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The main problem is that the position of the QWaylandSurfaceItem is
changed through the position of the views setPos function. However, it
might be that we don't want the surface position to map it directly.
Rename QWaylandSurfaceView::setPos to setRequestedPos
Then let the compositors choose what to do with this position
Change-Id: I43c74baad688d2f3e49ca091bbf436c718e81318
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This can then be picked up by ie. the shell_surface which can adjusts
its view accordingly
Change-Id: Iee3efa243c59b259834e599312d687401528e9c4
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and add a convenience getter on the QWaylandQuickSurface to retrieve the
window. This is because the window typically in qml will have
additional properties which we want to retrieve. Instead of doing
surface.output.window we can now do surface.outputWindow which looks
cleaner
Change-Id: Ia3007583a8a0e8e01444cb3f8819fbc651be14ab
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Id8f1843116ecd3770260b2737527b4c278a849d6
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I05bac886146be66a82dcb5f7a3e57bb5eba1d65c
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I2c82466b0e3842da901449d7978683922331d05e
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I76229c38489d6c72dfad9eace38cd8b6fd03dcae
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I68d05698b3caed11ccec39ef06ac5f912d782cf2
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Idb84b75da2374ecd8c72e14857018d4965f0a927
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ic668b1fe88a536af553cfaf8b515219d2dae0f7d
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I00f01a42b98dbe76851800b87a725fcca16f824e
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ic50e3516e435a354ad478349d9af86a5a112f5c7
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I704ee2f1b305aa2d3cd040140c8f0c228718b924
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I2a5c9556549fa3dbc4ad8b399a32266acbcc712b
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
And remove the constructor arguments, and just having parent as a
constructor argument. This requires QWaylandCompositor to have a create
semantic familiar from QWindow and QOpenGLContext. On create the native
wayland socket is created and initialized.
Also the virtual functions surfaceCreated and surfaceAboutToBeDestroyed
have been converted to signals, removing the need to subclass
QWaylandCompositor
Examples have been changed to avoid having two super classes inheriting
QObject. This is done by either making the QWindow subclass a member or
making the QWaylandCompositor a member.
Change-Id: I317d37e2adca15bfe4e1904e20ab0d83943b2d45
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This simplifies subclassing the compositor getting
Change-Id: I392b84febae62df042b23fa806360bc068bf984f
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I880cb15e056de4f6f5dcf97ea570d7bfb625c294
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I427e576a4e0834d6266af2670f7ff47e078153d4
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Iabe2146772e2abfab108fad22e6884ee63afe40f
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I8d5e88e9b296276c6d9d570b3e5e704f32298d83
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I84ed248b471464214d935352768f300d4b90dec3
|
|\ \ \ \ \
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
src/client/qwaylanddisplay_p.h
Change-Id: I602b90a055d1322af369fb7b77a68583154b660f
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
contains(QT_CONFIG, egl) and CONFIG += egl is the only sane way to test
for and pull in EGL headers and libs. This is particularly important when
trying to be robust and guard against half-broken sysroots on embedded
where a naive PKGCONFIG += egl breaks.
Also add an EGL_WAYLAND_BUFFER_WL define to keep wayland-egl compiling.
We are not testing for that in any config tests may cause a failure in sysroots
that have parts of Mesa thrown in but pick ip an older EGL header from the
vendor's driver.
Change-Id: I7b7e6a7a91e78dbda5b6954ad08761298c538efc
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Directly calling eglCreateGlobalImageBRCM and friends is not ideal due to the
messy RPi distro setups: shipping Mesa (sw rasterizer only) in standard locations
may cause picking up those EGL/GLES libs instead of the Broadcom ones from /opt/vc
when building Qt. While this is something that should be fixed in the sysroot (since
it is a problem at runtime anyway), let's make life easier by resolving via
eglGetProcAddress, which is the right approach in any case.
Change-Id: I73f7698b638691d97743a6f819bc7c8ee6ebd245
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
qwaylandinputcontext.cpp:57:16: warning: unused parameter 'sym' [-Wunused-parameter]
qwaylanddatadevice.cpp:173:135: warning: 'dragData' may be used uninitialized in this function [-Wmaybe-uninitialized]
Change-Id: Id654360fd9b7fdb572565ad39b664af3355b5e79
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
|