- 05 Mar, 2019 1 commit
-
-
Alexandros Frantzis authored
Since we are managing and rendering to buffers on our own with GBM, create the EGL display using the GBM platform with the DRM render node, instead of using the Wayland EGL platform. Signed-off-by:
Alexandros Frantzis <alexandros.frantzis@collabora.com>
-
- 25 Feb, 2019 1 commit
-
-
Philipp Zabel authored
gbm_bo_get_handle_for_plane returns -1 on error, not 0. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
- 22 Feb, 2019 1 commit
-
-
Daniel Stone authored
The 'created new mode blob' print was missing a newline, unlike all the others. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
- 20 Feb, 2019 1 commit
-
-
Emmanuel Gil Peyrot authored
-
- 19 Feb, 2019 1 commit
-
-
Derek Foreman authored
-
- 18 Feb, 2019 4 commits
-
-
Marius Vlad authored
Signed-off-by:
Marius Vlad <marius.vlad@collabora.com>
-
Marius Vlad authored
compositor-drm: Print pixel format in human-friendly form when failing to assign view to a overlay plane Signed-off-by:
Marius Vlad <marius.vlad@collabora.com>
-
Marius Vlad authored
../libweston/compositor-rdp.c: In function ‘rdp_peer_refresh_rfx’: ../libweston/compositor-rdp.c:213:25: error: invalid type argument of unary ‘*’ (have ‘SURFACE_BITS_COMMAND’ {aka ‘struct _SURFACE_BITS_COMMAND’}) memset(&cmd, 0, sizeof(*cmd)); Signed-off-by:
Marius Vlad <marius.vlad@collabora.com>
-
Simon Ser authored
-
- 16 Feb, 2019 7 commits
-
-
Daniel Stone authored
If we cannot create a gbm_surface using a list of modifiers, fall back to using the old pre-modifier version. This fixes initialisation on systems where KMS supports modifiers but the GBM driver does not, such as old i915 systems like Pine View using the unified KMS driver but the old i915 Mesa driver. Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
Simon Ser authored
-
Sergey Bugaev authored
A surface can get destroyed while a shell grab is active, which can for example happen if the command running in weston-terminal exits. When a surface gets destroyed, grab->shsurf is reset to NULL by destroy_shell_grab_shsurf(), but otherwise the grab remains active and its callbacks continue to be called. Thus, dereferencing grab->shsurf in a callback without checking it for NULL first can lead to undefined behavior, including crashes. Several functions were already properly checking grab->shsurf for NULL, move_grab_motion() being one example. Others, however, were not, which is what this commit fixes. Related to wayland/weston#192Signed-off-by:
Sergey Bugaev <bugaevc@gmail.com>
-
myfreeweb authored
Changing the focused surface did remove the surface_destroy_listener from the wl_signal list, but destroying the focus state did not. As a result, sometimes the same listener would be added to two surfaces, which would join their wl_signal lists together, which would cause infinite loops and use-after-frees when closing desktop surfaces.
-
myfreeweb authored
This crash was happening *during resizing* of an xwayland window that was destroyed. Discovered by: John Good @archiesix [@daniels: Moved tests below declarations.]
-
myfreeweb authored
-
- 15 Feb, 2019 8 commits
-
-
Philipp Zabel authored
If xwayland is disabled, compositor/weston is built without compositor/xwayland.c, which defines wet_load_xwayland. compositor/fb12c4d@@weston@exe/main.c.o: In function `main': ../weston-5.0.0-169-g2d4cc4f4/compositor/main.c:3103: undefined reference to `wet_load_xwayland' Provide an empty stub for wet_load_xwayland if xwayland is disabled. With that we also have to remove xwayland.c from the autotools build if xwayland is disabled, to avoid a multiple definition error. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Philipp Zabel authored
If the 'renderer-gl' option is enabled, ENABLE_EGL is defined, and libweston/pixel-formats.c includes EGL/egl.h. This requires an egl dependency, as X11-less platforms need the MESA_EGL_NO_X11_HEADERS define from egl.pc cflags: In file included from /usr/include/EGL/egl.h:39:0, from ../libweston/pixel-formats.c:42: /usr/include/EGL/eglplatform.h:124:10: fatal error: X11/Xlib.h: No such file or directory compilation terminated. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Pekka Paalanen authored
If Weston is not installed, running ivi-layout test would fail on lots of image files not found which presumably causes the creation of some ivi surfaces to fail, leading to an assert failure. Looking at the test setup in weston-tests-env, these IVI plugin tests are supposed to run with --no-config instead. Fixes: wayland/weston#195Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
It seems WESTON_DATA_DIR was missed. If you have already installed Weston, then the files will be found in the install location, but if not, they were not found at all. This caused the xwayland test to SEGV the compositor in weston_wm_window_create_frame() when frame_crate() returned NULL. This patch fixes the test suite only. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
At least the following commits break the libweston ABI, strictly speaking: - a5630eaf - ce62cb3d - 195dadeb - c18ffd39 - ea54c2fd - 27d7c395 - acff29b3 - 67629674 - c9c24773 - 65e1be12 Furhtermore, 64fbd0f4 break the weston executable exported ABI. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Anthony Enrione authored
Better to excercise the current rather than outdated protocol. Pekka: - split the patch, rewrote commit message - rename xdg_shell_ping to xdg_wm_base_ping - rename xdg_shell_listener to wm_base_listener - fix continued line alignment Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Anthony Enrione authored
Now that Weston supports the stable revision, use it. Better to excercise the current rather than outdated protocol. Pekka: - split the patch, rewrote commit message - rename xdg_shell_ping to xdg_wm_base_ping - rename xdg_shell_listener to wm_base_listener - rename shell to wm_base - fix continued line alignment - drop unrelated change of adding parentheses around bit-wise and Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Anthony Enrione authored
Some clients like the mpv video player now request the xdg_shell protocol so these will fail if the compositor only provides the xdg_shell_unstable_v6 protocol. Compositors like mir and gnome provide both protocols. The two protocols are very similar therefore the code in xdg-shell-v6.c has been refactored to work with the new xdg_shell protocol and now resides in xdg-shell.c. Pekka: - split the patch - fix continued line alignment Daniel - allow anchor_rect to initially have zero dimensions - account for get_popup allowing NULL parent surface Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com> Signed-off-by:
Daniel Stone <daniels@collabora.com>
-
- 11 Feb, 2019 2 commits
-
-
Pekka Paalanen authored
Autotools is going away. Break the autotools build so that people are guaranteed to notice before it is gone. If they have problems with Meson, they can still use --enable-autotools to build with autotools, but we really want to hear about any problems. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
Pekka Paalanen authored
Explain how to use with Meson, as autotools is going away. The instructions have been copied from https://wayland.freedesktop.org/building.html . Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
- 07 Feb, 2019 1 commit
-
-
Michael Olbrich authored
The in-tree clients can access the functions via libshared, but they are currently not available for external clients, such as custom shell helper applications similar to weston-desktop-shell or weston-ivi-shell-user-interface. The functions to read the content of the config are already exported. Signed-off-by:
Michael Olbrich <m.olbrich@pengutronix.de>
-
- 06 Feb, 2019 13 commits
-
-
Michael Teyfel authored
Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Since ivi-shell now supports xdg-protocol, the surface_created listener can be removed and the desktop_surface_configured listener is needed. ivi-layout: libweston-desktop api is used to send configure event to application. Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Since the surface_destroy_listener is only registered for ivi-shell applications, it should only be removed for ivi-shell applications. Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
The libweston-desktop api is used to send configure event to application. Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Introduced surface create and configure function for xdg-apps. Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
Introduced signal configure_desktop_changed with interface. This signal should be sent, when a desktop-surface is configured. Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-
Michael Teyfel authored
This interface enables an id-agent to change the surface ids of an ivi-layout-surface once. Signed-off-by:
Michael Teyfel <mteyfel@de.adit-jv.com>
-