Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-12 | backend/drm: clip FB damage | Simon Ser | |
The kernel complains when the damage exceeds the FB bounds: [73850.448326] i915 0000:00:02.0: [drm:drm_atomic_check_only] [PLANE:31:plane 1A] invalid damage clip 0 0 2147483647 2147483647 Make the DRM backend behave like the Wayland one and allow compositors to damage (0, 0, INT32_MAX, INT32_MAX) to repaint everything without needing to know the exact buffer size. Closes: https://github.com/swaywm/sway/issues/7632 | |||
2023-06-12 | seat: remove a TODO comment about simulating keyboard events | Kirill Primak | |
2023-06-12 | scene: introduce wlr_scene_output_build_state() | Alexander Orzechowski | |
2023-06-12 | output: introduce wlr_output_state_set_damage() | Alexander Orzechowski | |
2023-06-08 | gamma-control-v1: stop applying gamma LUTs implicitly | Simon Ser | |
Make the compositor responsible for doing that, so that they can properly integrate with their output commit sequence. | |||
2023-06-08 | gamma-control-v1: add wlr_gamma_control_v1_send_failed_and_destroy() | Simon Ser | |
2023-06-08 | gamma-control-v1: add wlr_gamma_control_v1_apply() | Simon Ser | |
2023-06-08 | output: add wlr_output_state_set_gamma_lut() | Simon Ser | |
2023-06-08 | gamma-control-v1: add wlr_gamma_control_manager_v1_get_control() | Simon Ser | |
2023-06-08 | gamma-control-v1: introduce set_gamma event | Simon Ser | |
2023-06-08 | compositor: improve role-specific documentation | Kirill Primak | |
2023-06-08 | drag: don't set icon's role_data | Kirill Primak | |
Currently, an icon surface's role_data is set manually to a struct wlr_drag_icon, which is hacky, incorrect (as role_data is supposed to be the surface's role object, and drag icons don't have them), and will be disallowed by future changes. | |||
2023-06-06 | presentation-time: constify wlr_presentation_feedback_send_presented() | Simon Ser | |
We don't need to mutate the event in this function. | |||
2023-06-06 | compositor: add a note about ignored input regions | Kirill Primak | |
2023-06-05 | Add some missing includes/declarations | Kirill Primak | |
2023-06-05 | render/gles2: implement timer API | Rose Hudson | |
2023-06-05 | add render timer API | Rose Hudson | |
Based on five calls: wlr_render_timer_create - creates a timer which can be reused across frames on the same renderer wlr_renderer_begin_buffer_pass - now takes a timer so that backends can record when the rendering starts and finishes wlr_render_timer_get_time - should be called as late as possible so that queries can make their way back from the GPU wlr_render_timer_destroy - self-explanatory The timer is exposed as an opaque `struct wlr_render_timer` so that backends can store whatever they want in there. | |||
2023-06-05 | util: add timespec_to_nsec | Rose Hudson | |
2023-06-05 | backend/wayland: add scaling support for output layers | Simon Ser | |
Use the viewporter protocol to scale output layers. | |||
2023-06-03 | subcompositor: consider mapping on parent map | Kirill Primak | |
Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3654 | |||
2023-06-02 | output/cursor: fix scale and transform | Simon Ser | |
Many issues here: - wlr_output_cursor_set_buffer() takes a buffer already scaled for the output, not a buffer with scale=1. - wlr_output_cursor.{width,height,hotspot_x,hotspot_y} are in output buffer coordinates. - render_cursor_buffer() had hardcoded no-ops for scale and transform, instead of using the cursor surface's. Fixes: b64e7e88bfb8 ("output: add output_cursor_set_texture()") | |||
2023-06-02 | session-lock: remove unused wlr_session_lock_surface_v1.events.map | Kirill Primak | |
2023-06-02 | compositor: remove wlr_surface_role.precommit | Kirill Primak | |
It was previously used to handle unmapping properly but is obsolete now. | |||
2023-06-02 | xwm: use unified map logic | Kirill Primak | |
2023-06-02 | drag: use unified map logic | Kirill Primak | |
2023-06-02 | input-method: use unified map logic | Kirill Primak | |
2023-06-02 | session-lock: use unified map logic | Kirill Primak | |
2023-06-02 | layer-shell: use unified map logic | Kirill Primak | |
2023-06-02 | xdg-shell: use unified map logic | Kirill Primak | |
2023-06-02 | subcompositor: use unified map logic | Kirill Primak | |
2023-06-02 | compositor: introduce unified map logic | Kirill Primak | |
2023-06-02 | xwm: introduce associate/dissociate events | Kirill Primak | |
We'll soon introduce a unified wlr_surface map event. Up until now, compositors have been using wlr_xwayland_surface's map event to setup various wlr_surface related listeners (e.g. commit). This will no longer be possible when that event is moved over to wlr_surface. Introduce new events where the compositor can add/remove wlr_surface event listeners. | |||
2023-06-01 | render/vulkan: improve error handling in render_pass_submit() | Simon Ser | |
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3644 | |||
2023-05-31 | backend/drm: introduce wlr_drm_mode_get_info() | Simon Ser | |
This allows compositors to get back the raw drmModeModeInfo and look at DRM-specific fields and flags. | |||
2023-05-31 | backend/drm: move forward decl up for drmModeModeInfo | Simon Ser | |
This allows doc generators to properly associate the doc comment with the function instead of the typedef. | |||
2023-05-30 | output: add wlr_output_begin_render_pass() | Simon Ser | |
2023-05-30 | wlr_scene: Introduce wlr_scene_buffer_set_opacity | Alexander Orzechowski | |
2023-05-30 | wlr_scene: Make scene_rect_from_node public | Alexander Orzechowski | |
This is in an effort to be more consistent with both already public getters: wlr_scene_buffer_from_node and wlr_scene_tree_from_node | |||
2023-05-30 | wlr_scene: Make scene_tree_from_node public | Alexander Orzechowski | |
This is to allow for compositors that want to be more implicit about how their scene is organized. Such a compositor may want to walk up at a certain scene node to find something such as a surface to focus on. | |||
2023-05-30 | wlr_scene: Add documentation to wlr_scene_buffer_from_node | Alexander Orzechowski | |
2023-05-30 | render/vulkan: implement render pass API | Simon Ser | |
2023-05-28 | renderer/gles2: Implement render pass interface | Alexander Orzechowski | |
2023-05-28 | renderer/gles2: Compute texture coordinates based off of vertex positions | Alexander Orzechowski | |
2023-05-26 | render/vulkan: drop unused vulkan_has_extension() | Simon Ser | |
2023-05-26 | render/vulkan: drop unused vulkan_change_layout_queue() | Simon Ser | |
2023-05-24 | render/vulkan: generalize YCbCr format support | Simon Ser | |
2023-05-24 | render/vulkan: add vulkan_get_pipeline_layout() | Simon Ser | |
Will make it easier to add more pipeline layouts for other YCbCr formats. | |||
2023-05-24 | render/vulkan: introduce struct wlr_vk_pipeline_layout | Simon Ser | |
This will make it easier to create one pipeline layout (plus related objects) per YCbCr format. | |||
2023-05-23 | util/box: always treat NULL boxes as empty | Kirill Primak | |
2023-05-21 | render/pixel-format: add support for block-based formats | Simon Ser | |
Some formats like sub-sampled YCbCr use a block of bytes to store the color values for more than one pixel. Update our format table to be able to handle such formats. |