- May 03, 2019
-
-
Drew DeVault authored
-
- Apr 29, 2019
-
-
Simon Ser authored
This makes it so we don't miss build failures because the CI misses a dependency.
-
Simon Ser authored
Closes: https://github.com/swaywm/wlroots/issues/1662
-
- Apr 28, 2019
-
-
- Apr 27, 2019
-
-
-
Simon Ser authored
Xwayland expects an xdg_output.done event to always be sent with a wl_output.done event.
-
Simon Ser authored
This commit introduces wlr_output_schedule_done and refactors the mechanism used to send wl_output events to clients. wlr_output_schedule_done schedules a wl_output.done event. This allows clients to see wlr_output property changes as atomic. This function is also useful for add-on interfaces like xdg_output which need to trigger a wl_output.done event to apply their new state.
-
- Apr 26, 2019
-
-
Simon Ser authored
See https://github.com/swaywm/wlroots/issues/1665
-
Simon Ser authored
We only need to damage the parts of the screen that changed since last frame, we don't need to accumulate damage from previous buffers. We still need to re-render the accumulated damage. Fixes https://github.com/swaywm/wlroots/issues/1665
-
Simon Ser authored
According to the spec: > If <n_rects> is 0 then <rects> is ignored and the entire > surface is implicitly damaged and the behaviour is equivalent > to calling eglSwapBuffers. When we want to swap with an empty damage region, set the damage to a single empty rectangle.
-
-
Scott Anderson authored
This does not require any code changes, as we already copy the keymap data separately for each client. For details, see wayland/wayland@905c0a34
-
- Apr 25, 2019
-
- Apr 23, 2019
-
-
Simon Ser authored
-
Simon Ser authored
-
Simon Ser authored
This new name makes more sense, since it is a request from the backend to get a new frame. In the future a commit may not convey a new frame.
-
Simon Ser authored
wlr_output_damage_make_current has been renamed to wlr_output_damage_attach_render, since it's just a wrapper for wlr_output_attach_render. wlr_output_damage_swap_buffers has been removed completely. Instead, wlr_output_damage now listens to successful wlr_output commits and updates its internal state accordingly.
-
Simon Ser authored
Also remove damage from the event data since it's no longer tied to commits.
-
Simon Ser authored
This updates the backend part of the output API. This is mostly renaming: make_current becomes attach_render and swap_buffers becomes commit. This also fixes the RDP backend to support NULL damage.
-
Simon Ser authored
This is necessary for direct scan-out and other upcoming features. This patch changes the output API to look like the wl_surface API. Outputs now have some double-buffered state: the frame to be submitted (currently only wlr_renderer frames are supported) and the damaged region. To attach a pending frame, use wlr_output_attach_render. To set the pending damaged region, use wlr_output_set_damage. To submit the pending state, call wlr_output_commit. This will submit the pending frame to the backend. To migrate from the old API to the new one: - Replace wlr_output_make_current calls by wlr_output_attach_render - Replace wlr_output_swap_buffers calls by wlr_output_set_damage and wlr_output_commit
-
- Apr 22, 2019
- Apr 21, 2019
-
-
The deleted includes are redundant, because other headers will include the necessary files. Additionally, they cause build failures, because including EGL/egl.h or EGL/eglext.h directly, instead of through wlr/render/egl.h or wlr/render/interface.h, will mean that MESA_EGL_NO_X11_HEADERS will not have been defined, and so the EGL headers will attempt to pull in unnecessary X11 headers that may not exist on the system. For the headers produced by glgen.sh, the includes couldn't simply be deleted, because no other header would include the EGL headers. Neither wlr/render/egl.h or wlr/render/interface.h felt appropriate to include, so I opted instead to copy the MESA_EGL_NO_X11_HEADERS definition before the EGL includes.
-
- Apr 19, 2019
-
-
Simon Ser authored
It doesn't make sense for clients to send "accept" requests to offers that aren't drag-and-drop. I discussed with Daniel Stone to make it a protocol error [1] but too many clients send it (e.g. GTK+). Let's just log it for now. [1]: wayland/wayland!11 (comment 149710)
-
- Apr 17, 2019
-
-
* idle: enable the compositors to add custom idle timeouts * idle: add a private constructor which also creates the resource * idle: move resource creation to the idle implementation callback
-
- Apr 14, 2019
-
-
This is useful when using the noop backend for example.
-
- Apr 13, 2019
-
-
We should also be careful when using wlr_output_layout_get_box(), since it may return null.
-
Simon Ser authored
Fixes https://github.com/swaywm/wlroots/issues/1610
-
- Apr 11, 2019