Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-11 | render: document wlr_buffer_pass_options.timer | Simon Ser | |
2023-07-11 | render: constify struct wlr_buffer_pass_options | Simon Ser | |
Let's not allow renderer implementations to mutate the passed in options. | |||
2023-07-10 | scene_output: optionally record and report timings | Rose Hudson | |
2023-07-09 | xwayland: document event data | Simon Ser | |
2023-07-09 | xwayland: drop struct wlr_xwayland_move_event | Simon Ser | |
This only contains the xsurface, which isn't particularly useful. | |||
2023-07-09 | xwayland: document associate/dissociate events | Simon Ser | |
2023-07-03 | output: drop wlr_output_cursor_set_image() | Simon Ser | |
This function takes a pointer to memory with a hardcoded format and many parameters to describe the pixel buffer. wlr_output_cursor_set_buffer() can be used instead. | |||
2023-07-02 | cursor: remove wlr_cursor_set_image() | Simon Ser | |
Superseded by wlr_cursor_set_buffer(). | |||
2023-07-02 | xcursor-manager: drop wlr_xcursor_manager_set_cursor_image() | Simon Ser | |
2023-07-02 | cursor: add wlr_cursor_set_buffer() | Simon Ser | |
A saner replacement for wlr_cursor_set_image(): - Takes a wlr_buffer instead of numerous parameters and a hardcoded format. - The scale is not used to filter outputs. - A ref to the buffer is kept to apply it to new outputs. | |||
2023-06-30 | output-layer: add wlr_output_layer_state.damage | Simon Ser | |
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3593 | |||
2023-06-27 | wlr_scene_buffer: Publicize some state | Alexander Orzechowski | |
The sway scene port relies on this to create a copy of the buffer for saved surface purposes. | |||
2023-06-23 | output: add wlr_output_state_init() | Simon Ser | |
This changes the semantics of wlr_output_state. Instead of having fields with uninitialized memory when missing from the committed bitflag, all fields are always initialized (and maybe NULL/empty), just like we do in wlr_surface_state. This reduces the chances of footguns when reading a field, and removes the need to check for the committed bitfield everywhere. A new wlr_output_state_init() function takes care of initializing the Pixman region. | |||
2023-06-23 | compositor: listen to role_resource destroy signal | Simon Ser | |
Call wlr_surface_destroy_role_object() when the role_resource is destroyed. | |||
2023-06-23 | compositor: replace role_data with role_resource | Simon Ser | |
This increases type safety, makes it more obvious that role_data must represent the role object, and will allow for automatic cleanup when the resource is destroyed. | |||
2023-06-23 | compositor: don't call role unmap hook without an object | Kirill Primak | |
2023-06-23 | compositor: introduce wlr_surface_set_role_object() | Kirill Primak | |
2023-06-22 | output: Introduce wlr_output_state_copy() | Alexander Orzechowski | |
2023-06-20 | wlr_scene: Introduce wlr_scene_buffer_set_filter_mode | Alexander Orzechowski | |
2023-06-19 | render: Introduce wlr_render_texture_options.blend_mode | Alexander Orzechowski | |
2023-06-19 | renderer: Introduce wlr_scale_filter_mode | Alexander Orzechowski | |
2023-06-15 | cursor: add wlr_cursor_unset_image() | Simon Ser | |
It's pretty awkward to call wlr_cursor_set_image() with 6 zeroes. Hide that awkwardness in wlroots. | |||
2023-06-15 | cursor: add wlr_cursor_set_xcursor() | Simon Ser | |
This keeps track of the last set XCursor. If it hasn't changed, skip the texture upload. In the future, support for animated XCursors can be added. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3436 | |||
2023-06-15 | output: add documentation for wlr_output_state | Alexander Orzechowski | |
2023-06-14 | compositor: add wlr_surface_role.no_object | Kirill Primak | |
This commit allows to make a role as not represented by an object, which fixes calling role commit handlers for roles like cursor surfaces. Fixes: 099b9de752f9cc212140533a8a2e20b31aa9028f | |||
2023-06-13 | output: add wlr_output_state_set_layers() | Simon Ser | |
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 | 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-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 | |