- Dec 15, 2021
-
-
Willow authored
This fixes configure loop in Sway when clients re-send same properties on every configure event. Original issue: https://todo.sr.ht/~mil/sxmo-tickets/413
- Dec 14, 2021
-
-
Isaac Freund authored
This helper automates sending presentation feedback to clients based on the primary output of scene surfaces.
-
Simon Ser authored
-
Simon Ser authored
This has been added in [1] and allows us to close buffer handles without manually calling drmIoctl. [1]: mesa/drm!192
-
This avoids open-coding our own logic. The resulting code is more readable. References: mesa/drm!146
-
Since [1], we can get the wl_display directly from the wl_global. [1]: wayland/wayland@2b22160f
-
Guido Günther authored
Allows the compositor to submit tokens to the pool of currently active tokens. This can be useful when the launcher doesn't use or support xdg-activation-v1 by itself - e.g. when it is X11 based or use gtk_shell1.
-
David Rosca authored
Otherwise it will send enter events to clients that already have keyboard/pointer focus. Notably Qt applications warns about this.
-
- Dec 13, 2021
-
-
Isaac Freund authored
This doesn't work if scene outputs are not used as the primary output of scene surfaces will always be NULL. Therefore, take a wlr_scene_output instead of separate wlr_scene and wlr_output arguments and rename the function to wlr_scene_output_send_frame_done(). The actual behavior of the function is unchanged.
-
-
-
This allows compositors to avoid sending multiple frame done events to a surface that is rendered on multiple outputs at once. This may also be used in the same way for presentation feedback.
-
Co-authored-by: Simon Ser <contact@emersion.fr>
-
This helper is responsible for listening for new DRM devices and create new child DRM backends as necessary.
-
The multi backend was returned instead of the primary DRM backend.
-
Simon Ser authored
Two new events are added: name and description. The name is immutable. The description can be updated on-the-fly.
-
- Dec 09, 2021
-
-
-
This commit fixes the way the damage that doesn't come directly from the client is handled.
-
Subsurface position is considered to be a part of the parent surface's state, therefore it should be modified when the parent is committed.
-
-
Simon Ser authored
%zd is for ssize_t. For size_t we should use %zu.
-
Simon Ser authored
wlroots picks names for all outputs, but it might be desirable for compositor to override it. For instance, Sway will use a headless output as a fallback in case no outputs are connected. Sway wants to clearly label the fallback output as such and label "real" headless outputs starting from HEADLESS-1.
-
- Dec 07, 2021
-
-
Simon Ser authored
The definition of the "drm" dep already calls it.
-
Simon Ser authored
These clients don't need wlroots.
-
Simon Ser authored
This is a client example, it shouldn't use a compositor library like wlroots.
-
Simon Ser authored
wayland-client isn't really used by wlroots core, so let's move the dep to where it's needed in the Wayland backend.
-
Simon Ser authored
-
Simon Ser authored
Implement a basic version of linux-dmabuf-unstable-v1 version 4. Only default hints are implemented. The new wlr_linux_dmabuf_feedback_v1 data structure will allow compositors to define their own custom hints in the future. This data structure makes it easy to describe feedback metadata. It's converted to a "compiled" form suitable for marshalling over the Wayland socket via feedback_compile.
-
Simon Ser authored
This allows compositors to initialize wl_shm without initializing other globals like linux-dmabuf.
-
- Dec 06, 2021
-
-
- Dec 04, 2021
-
-
tiosgz authored
Before this commit, it would keep the node at the top or make it second- topmost.
-
- Dec 03, 2021
-
-
This lets backends immediately release committed buffers if they want to.
-
-
-
This allows output commit listeners to access the newly committed buffer. Currently wlr_output.front_buffer is used but it'll get removed in the next commit.
-
This intersects two DRM format sets. This is useful for implementing DMA-BUF feedback in compositors, see e.g. the Sway PR [1]. [1]: https://github.com/swaywm/sway/pull/6313
-
- Dec 02, 2021
-
-
DRM formats with an empty modifier list are invalid. Instead of emptying the list, reduce it to { INVALID }. Add a check to make sure the renderer and backend support implicit modifiers, so that we don't fallback on e.g. Vulkan. Closes: https://github.com/swaywm/sway/issues/6692
-
Support for EXT_image_dma_buf_import_modifiers doesn't necessarily indicate support for modifiers. For instance, Mesa will advertise EXT_image_dma_buf_import_modifiers for all drivers. This is a trick to allow EGL clients to enumerate supported formats (something EXT_image_dma_buf_import is missing). For more information, see [1]. Add a new wlr_egl.has_modifiers flag which indicates whether modifiers are supported. It's set to true if any eglQueryDmaBufModifiersEXT query returned a non-empty list. Use that flag to figure out whether the buffer modifier should be passed to the EGL implementation on import. [1]: https://github.com/KhronosGroup/EGL-Registry/issues/142
-