aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
AgeCommit message (Collapse)Author
2024-01-27scene: release shm buffers once uploadedSimon Ser
Once a shm buffer is uploaded there's no reason for wlr_scene_buffer to keep it locked any further. Allow the compositor to re-use it.
2024-01-27compositor: introduce wlr_surface_reject_pending()Kirill Primak
2024-01-25backend: take wl_event_loop instead of wl_display in wlr_backend_autocreate()Simon Ser
2024-01-25backend/multi: take wl_event_loop instead of wl_displaySimon Ser
2024-01-25backend/drm: drop wl_display argumentSimon Ser
We can grab the event loop from the wlr_session instead.
2024-01-25backend/x11: take wl_event_loop instead of wl_displaySimon Ser
2024-01-25backend/wayland: take wl_event_loop instead of wl_displaySimon Ser
2024-01-25backend/libinput: drop wl_display argumentSimon Ser
We can grab the event loop from the wlr_session instead.
2024-01-25backend/headless: take wl_event_loop instead of wl_displaySimon Ser
2024-01-25backend: destroy multi backend when primary backend isSimon Ser
This makes it easy for compositors to handle situations where the DRM or libinput backend becomes unavailable. Compositors can listen the destroy event of the multi backend returned by wlr_backend_autocreate() and decide what to do.
2024-01-24output: Drop pending stateAlexander Orzechowski
2024-01-23seat/pointer: add support for axis_relative_direction eventSimon Ser
2024-01-23pointer: add support for axis relative directionSimon Ser
2024-01-17keyboard: fix type of wlr_keyboard_modifiers.groupIsaac Freund
This isn't a breaking change since both of these typedefs are uint32_t but this should make things a bit less confusing for readers.
2024-01-07fix outdated comment in wlr_output.hMaxVerevkin
2024-01-03wl_drm: add deprecation noticeSimon Ser
2024-01-03region: add docs for wlr_region_scale_xy() and wlr_region_confine()Simon Ser
2023-12-27scene: drop wlr_scene_set_presentation()Simon Ser
2023-12-27presentation-time: drop wlr_presentation argSimon Ser
There can only be a single presentation-time global advertised to clients, this it's unnecessary to pass around the wlr_presentation pointer.
2023-12-25tearing-control-v1: synchronize state with surfaceSimon Ser
2023-12-25session-lock-v1: use wlr_surface_syncedSimon Ser
2023-12-25pointer-constraints-v1: use wlr_surface_syncedSimon Ser
2023-12-25layer-shell-v1: use wlr_surface_syncedSimon Ser
2023-12-25xdg-decoration: use wlr_surface_synced for toplevelSimon Ser
2023-12-25subcompositor: use wlr_surface_syncedSimon Ser
2023-12-25xdg-shell: use wlr_surface_synced for popupsSimon Ser
2023-12-25xdg-shell: use wlr_surface_synced for toplevelSimon Ser
2023-12-25xdg-shell: use wlr_surface_synced for wlr_xdg_surfaceSimon Ser
2023-12-25compositor: add wlr_surface_role.client_commitSimon Ser
2023-12-25compositor: add wlr_surface_syncedSimon Ser
A lot of protocols extend the wl_surface state. Such protocols need to synchronize their extended state with wl_surface.commit and cached states. Add a new utility for this purpose.
2023-12-25compositor: add wlr_surface_state_has_buffer()Simon Ser
2023-12-25compositor: fix wlr_surface_has_buffer() doc commentSimon Ser
The function does not check whether the upload succeeded: it does not check the wlr_client_buffer.
2023-12-25compositor: remove unnecessary wlr_surface.has_bufferSimon Ser
No need to store this bit, we can infer it from buffer_width and buffer_height.
2023-12-25pointer-constraints-v1: add cursor_hint.enabledSimon Ser
This allows compositors to check whether the cursor hint is set.
2023-12-12backend/drm: add wlr_drm_backend_get_parent()Simon Ser
Allows compositors to figure out whether a DRM backend is secondary on a multi-GPU setup.
2023-12-11render/pixman: add wlr_pixman_renderer_get_buffer_image()Roman Gilg
This is similar to wlr_pixman_texture_get_image and can be useful for compositors to access the rendering data.
2023-12-05render/gles2: add wlr_gles2_renderer_get_buffer_fbo()Simon Ser
Replacement for wlr_gles2_renderer_get_current_fbo(). Wayfire uses it for instance.
2023-12-04compositor: drop surface precommit eventSimon Ser
This is unused.
2023-12-03wlr_scene: Track output damage separatelyAlexander Orzechowski
The damage ring is only supposed to keep track of damage within the swapchain
2023-12-03swapchain: Add wlr_swapchain_has_bufferAlexander Orzechowski
2023-11-30renderer: Drop buffer bindingAlexander Orzechowski
2023-11-30render: Nuke old read pixels APIAlexander Orzechowski
Sadly, the new API is not backwards compatible with the old API. Since we have already switched all users in wlroots to the new API compositors are already practically mandated to implement the new API. Let's get rid of the old one since there is no point.
2023-11-30wlr_texture: Introduce wlr_texture_preferred_read_formatAlexander Orzechowski
2023-11-30wlr_texture: Introduce wlr_texture_read_pixels_options helpersAlexander Orzechowski
2023-11-30wlr_texture: Introduce wlr_texture_read_pixelsAlexander Orzechowski
2023-11-30output: replace wlr_render_timer arg with wlr_buffer_pass_optionsSimon Ser
This scales better when more render pass options are added.
2023-11-30render/gles2: save/restore context when creating/submitting a render passSimon Ser
This is useful for e.g. lazily blitting a texture for readback purposes while rendering.
2023-11-30render/gles2: document EGL context gotchasSimon Ser
2023-11-30output: drop stale references to wlr_output_attach_render()Simon Ser
It turns out we forgot about the function declaration in the header. Also some docs were still referring to that function. Move the wlr_output_attach_render() docs to wlr_output_begin_render_pass().
2023-11-29render: Drop rendering_with_bufferAlexander Orzechowski
This is always true now that we can only render with a buffer.