Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-07 | tinywl: check initialized instead of initial_commit | Kirill Primak | |
oops | |||
2023-12-07 | tinywl: don't send configures to uninitialized xdg_surfaces | Kirill Primak | |
2023-12-05 | render/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-04 | compositor: drop surface precommit event | Simon Ser | |
This is unused. | |||
2023-12-04 | cursor: send surface scale events | Simon Ser | |
wlr_cursor is responsible for sending enter/leave events, but doesn't send fractional-scale-v1 and wl_surface.preferred_buffer_scale events. This is not an easy thing to do from a compositor, so let's just do it in wlr_cursor itself. | |||
2023-12-04 | render: disable linux-dmabuf without DRM FD | Simon Ser | |
linux-dmabuf used to not need a DRM FD, however since v4 a DRM FD is required for the main_device event. | |||
2023-12-04 | render/vulkan: use _SRGB image view when possible | Manuel Stoeckl | |
This is the last of a set of commits which ensures that both textures and render buffers can be accessed through _UNORM and _SRGB image views. While _UNORM image views are not yet used for 8-bpc image formats, they will be needed in the future to support color transforms for both textures and render buffers. | |||
2023-12-04 | render/vulkan: constify vulkan_format_props_find_modifier | Manuel Stoeckl | |
2023-12-04 | render/vulkan: create VkImage with option for _SRGB view, if possible | Manuel Stoeckl | |
2023-12-04 | render/vulkan: detect which _UNORM formats support _SRGB views | Manuel Stoeckl | |
2023-12-04 | render/vulkan: extract shm texture format query into function | Manuel Stoeckl | |
2023-12-04 | render/vulkan: track and use _UNORM variants of _SRGB formats | Manuel Stoeckl | |
Later commits will start using _SRGB image views again, where appropriate. | |||
2023-12-04 | wlr_damage_ring: Fix inverted conditional | Alexander Orzechowski | |
2023-12-04 | wlr_scene: fix transformed outputs backend damage clearing | Alexander Orzechowski | |
When we cleared the pending backend damage when the output committed, we would not take into account the output transform. It's easiest to fix this by just changing pending_commit_damage to always have transformed coordinates. | |||
2023-12-04 | wlr_scene: Apply output damage once | Alexander Orzechowski | |
We would apply it twice if we failed direct scanout. Once when we attempt direct scanout and again when we composite. | |||
2023-12-03 | wlr_scene: Don't damage whole damage ring when exiting direct scanout | Alexander Orzechowski | |
Direct scanout damage will just accumulate on the damage ring while in direct scanout and properly damage when we exit anyway. On the flip side since we now manage backend damage submission ourselves, this won't break that either. | |||
2023-12-03 | wlr_scene: Use wlr_damage_ring_rotate_buffer() | Alexander Orzechowski | |
Compositors who use _build_state are no longer required to call damage_ring_rotate themselves. This is a minor breaking change. | |||
2023-12-03 | wlr_scene: Track output damage separately | Alexander Orzechowski | |
The damage ring is only supposed to keep track of damage within the swapchain | |||
2023-12-03 | swapchain: Add wlr_swapchain_has_buffer | Alexander Orzechowski | |
2023-11-30 | renderer: Drop buffer binding | Alexander Orzechowski | |
2023-11-30 | render: Nuke old read pixels API | Alexander 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-30 | screencopy_v1: Use new read pixels API | Alexander Orzechowski | |
2023-11-30 | backend/x11: Use wlr_texture_read_pixels | Alexander Orzechowski | |
2023-11-30 | render: Implement texture_preferred_read_format | Alexander Orzechowski | |
2023-11-30 | wlr_texture: Introduce wlr_texture_preferred_read_format | Alexander Orzechowski | |
2023-11-30 | render/vulkan: Implement texture_read_pixels | Alexander Orzechowski | |
2023-11-30 | render/gles2: Implement texture_read_pixels | Alexander Orzechowski | |
Also get rid of gles2_texture.owns_texture. We only use the tex/fbo | |||
2023-11-30 | render/pixman: Implement texture_read_pixels | Alexander Orzechowski | |
2023-11-30 | wlr_texture: Introduce wlr_texture_read_pixels_options helpers | Alexander Orzechowski | |
2023-11-30 | wlr_texture: Introduce wlr_texture_read_pixels | Alexander Orzechowski | |
2023-11-30 | output: replace wlr_render_timer arg with wlr_buffer_pass_options | Simon Ser | |
This scales better when more render pass options are added. | |||
2023-11-30 | types/output: emit destroy event before destroying global | Simon Zeni | |
2023-11-30 | render/gles2: save/restore context when creating/submitting a render pass | Simon Ser | |
This is useful for e.g. lazily blitting a texture for readback purposes while rendering. | |||
2023-11-30 | render/gles2: document EGL context gotchas | Simon Ser | |
2023-11-30 | output: 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-30 | render/gles2: reword wlr_gles2_texture comments | Simon Ser | |
These comments were a bit misleading: - "GL_TEXTURE_2D == mutable": not really, imported non-external-only DMA-BUFs would also use this target, but are not mutable. - "Only affects target == GL_TEXTURE_2D": same here. - "If imported from a wlr_buffer": not really, would be NULL if imported from a shm wlr_buffer. Adjust these comments to better reflect reality and adjust the check in gles2_texture_update_from_buffer(). | |||
2023-11-30 | render/gles2: Inline texture invalidation | Alexander Orzechowski | |
Let's us share more code with the other code path | |||
2023-11-30 | render/gles2: Don't attach texture as buffer addon | Alexander Orzechowski | |
Since wlr_gles2_buffer is now managing importing for us, there is no reason for us to continue doing this. | |||
2023-11-30 | render/gles2: Don't track image in texture | Alexander Orzechowski | |
We can get it from the buffer | |||
2023-11-30 | render/gles2: Don't double import dmabuf | Alexander Orzechowski | |
We can double import a dmabuf if we use it as a texture target and a render target. Instead, let's unify render targets and texture dmabuf imports to use wlr_gles2_buffer which manages the EGLImageKHR | |||
2023-11-30 | render/gles2: Destroy textures first | Alexander Orzechowski | |
Since imported textures will be based off of gles2_buffer we have to destroy textures first or else they will have an invalid reference to the buffers they are imported from. | |||
2023-11-30 | renderer/gles2: Bail rendering to external buffers when binding them | Alexander Orzechowski | |
We can't do it while we're creating them because we'll want to use gles2 buffers for textures soon. | |||
2023-11-30 | render/gles2: Lazily create buffer fbo | Alexander Orzechowski | |
2023-11-30 | backend/drm: remove wlr_drm_renderer.backend | Simon Ser | |
This is unused. | |||
2023-11-30 | backend/drm: move drm_plane_finish_surface() to drm.c | Simon Ser | |
This function touches queued_fb/current_fb, which the renderer has nothing to do with. | |||
2023-11-30 | backend/drm: split wlr_drm_fb related functions into separate file | Simon Ser | |
2023-11-29 | render: Drop rendering_with_buffer | Alexander Orzechowski | |
This is always true now that we can only render with a buffer. | |||
2023-11-29 | output: Drop back_buffer | Alexander Orzechowski | |
2023-11-29 | output: Drop wlr_output_attach_render | Alexander Orzechowski | |
2023-11-29 | renderer: Drop wlr_renderer_begin | Alexander Orzechowski | |