Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-23 | backend/drm: report !presented if session is inactive | Rose Hudson | |
2023-08-23 | backend/drm: don't set frame_pending on modeset | Rose Hudson | |
https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3664#note_2020392 we're gonna have to trust Simon on this one 🤞 | |||
2023-08-23 | render: only open DRM render node if necessary | Simon Ser | |
Only open a render node if we actually need one (ie, if we're about to attempt GLES2 or Vulkan). | |||
2023-08-22 | scene_output_layout: make output adding explicit | Rose Hudson | |
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3709 | |||
2023-08-22 | output_layout: return wlr_output_layout_output when adding output | Rose Hudson | |
This will be used for the scene-graph integration. | |||
2023-08-22 | wlr_output: Set current_mode during new custom mode | Alexander Orzechowski | |
When setting a custom mode current_mode will not be reset. That means that next time the compositor tries to reset back from the custom mode, it will compare against the stale current_mode and unset WLR_OUTPUT_STATE_MODE erroneously. | |||
2023-08-21 | compositor: drop wlr_surface_destroy_role_object() | Simon Ser | |
This function is now unnecessary. | |||
2023-08-21 | xdg-shell: rework roles | Kirill Primak | |
2023-08-21 | xdg-popup: avoid using wlr_surface_destroy_role_object() | Kirill Primak | |
2023-08-21 | Don't assume xdg_surface.{toplevel,popup} is non-NULL | Kirill Primak | |
This assumption will become incorrect with future commits. | |||
2023-08-21 | xdg-shell: don't return anything from create_xdg_surface() | Kirill Primak | |
2023-08-21 | egl: Don't assume display is owned when KHR_display_reference is unsupported | Alexander Orzechowski | |
We could potentially leak a display here, but not really because the display acts as a singleton that will be returned next time a renderer of the same device is created. | |||
2023-08-21 | egl: Remove dead code | Alexander Orzechowski | |
Display is always NULL here since egl_init is always last to be called. | |||
2023-08-21 | buffer: make wlr_client_buffer functions private | Simon Ser | |
We want to eventually remove this. Let's make sure compositors don't start using either of these functions. | |||
2023-08-21 | backend/headless: fix broken output frame events | Simon Ser | |
frame_delay was set to 0. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3712 | |||
2023-08-20 | renderer/vulkan: Defer device lost signal until end of pass | Alexander Orzechowski | |
If the compositor were to try to handle a GPU reset within the lost signal (by recreating the renderer) we should avoid referencing renderer resources after the lost signal. This prevents use after free for such compositors. | |||
2023-08-19 | xdg-decoration: store an xdg_toplevel instead of xdg_surface | Leonardo Hernández Hernández | |
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3685 | |||
2023-08-16 | backend/wayland: wait for xdg_surface.configure explicitly | Simon Ser | |
We were assuming a roundtrip was enough to get an xdg_surface.configure event. That's not the case, the protocol spec doesn't make such a guarantee. | |||
2023-08-16 | render: split render pass API into separate header | Simon Ser | |
Keeps the main wlr_renderer.h a tad more tidy. | |||
2023-08-16 | wlr_output: Nuke wlr_output_update_enabled | Alexander Orzechowski | |
2023-08-16 | output: Schedule mode updates to happen with rest of output events | Alexander Orzechowski | |
2023-08-16 | output: Inline wlr_output_update_{custom,}_mode | Alexander Orzechowski | |
2023-08-16 | wlr_output: Make wlr_output_update_{custom,}_mode private | Alexander Orzechowski | |
Backends should be using wlr_output_send_request_state to request modesets to the compositor. This will be inlined and removed next commit. | |||
2023-08-16 | backend/drm: Use output state to set init mode | Alexander Orzechowski | |
2023-08-16 | backend/drm: Move output variable up in connect_drm_connector | Alexander Orzechowski | |
2023-08-16 | backend/headless: Use output state to set init custom mode | Alexander Orzechowski | |
2023-08-16 | backend/wayland: Use output state to set init custom mode | Alexander Orzechowski | |
2023-08-16 | backend/x11: Use output state to set init custom mode | Alexander Orzechowski | |
2023-08-16 | output: Add initialization state to wlr_output_init | Alexander Orzechowski | |
2023-08-16 | output: Extract common commit logic | Alexander Orzechowski | |
2023-08-16 | examples/embedded: new example | Simon Ser | |
2023-08-16 | backend/wayland: add wlr_wl_output_create_from_surface() | Simon Ser | |
By using this function, a compositor can display a wlroots compositor in a sub-surface, for instance. | |||
2023-08-16 | backend/wayland: tag wl_surface | Simon Ser | |
When integrating wlroots with another toolkit, wlroots may receive wl_pointer.enter events for surfaces not backed by a wlr_output. Ignore such surfaces by tagging the ones we're aware of with wl_proxy_set_tag(). | |||
2023-08-16 | backend/wayland: take existing wl_display in wlr_wl_backend_create() | Simon Ser | |
This allows compositors to use an existing wl_display, to integrate wlroots with an existing toolkit. | |||
2023-08-14 | renderer: Sanity check texture source bounds | Alexander Orzechowski | |
2023-08-12 | screencopy_v1: Implement copy regions with gpu blit path | Alexander Orzechowski | |
2023-08-12 | screencopy_v1: Use new renderer API for gpu blit path | Alexander Orzechowski | |
2023-08-03 | Avoid using memcpy() to copy structs | Simon Ser | |
We can just use a regular assignment instead. This is more type-safe since there is no need to provide the struct size. The remaining memcpy() calls perform array copies or copies from void pointers (which may be unaligned). | |||
2023-08-03 | xwayland: drop wlr_xwayland_surface.events.set_pid | Simon Ser | |
The PID of an X11 window cannot change. This is a remnant from the days when we queried the PID with a window property, instead of using XRes. | |||
2023-08-03 | wlr_output: update cursor when scale changed | JiDe Zhang | |
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3699 | |||
2023-08-03 | wlr_output_cursor: assert renderer isn't NULL | JiDe Zhang | |
When a wlr_output add to wlr_output_layout, wlr_cursor will create wlr_buffer of xcursor for the wlr_output, this behavior depends wlr_renderer of wlr_output, using assert to ensure renderer is initialized before wlr_output_layout_add and wlr_cursor_set_buffer/ wlr_cursor_set_xcursor. | |||
2023-07-28 | xwayland: avoid calling xwm_get_atom_name() when debug logs are off | Simon Ser | |
xwm_get_atom_name() performs a roundtrip to the X11 server. Avoid calling this blocking function if debug logs are turned off. | |||
2023-07-27 | types/wlr_drm_lease_v1: downgrade DRM backend error message to debug | Simon Zeni | |
Downgrades the error message printed out when no DRM backend is given from `WLR_ERROR` to `WLR_DEBUG` | |||
2023-07-27 | render/vulkan: use renamed glslang binary by default | q234rty | |
glslang 12.3.0 renamed glslangValidator to glslang, use that by default and use the old name as a fallback. References: https://github.com/KhronosGroup/glslang/blob/main/CHANGES.md?plain=1#L14 | |||
2023-07-26 | compositor: add "mapped" flag doc | Kirill Primak | |
2023-07-26 | Unmap wlr_surface before making its role object inert | Kirill Primak | |
2023-07-26 | xwayland/shell: don't listen to wlr_surface.events.destroy | Kirill Primak | |
The wlr_xwayland_surface_v1 will be destroyed automatically from xwl_surface_role_destroy(). | |||
2023-07-26 | backend/drm: restore custom modes | Simon Ser | |
We were only restoring fixed modes here. The DRM backend no longer creates fixed modes when the compositor sets a custom mode, so we need to handle this situation when restoring. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3698 | |||
2023-07-26 | wlr_output: add comments for signal parameters | rewine | |
2023-07-23 | xdg-shell: add support for v6 | Leonardo Hernández Hernández | |
This adds the suspended toplevel state |