Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-19 | render/pixman: add wlr_*_is_pixman and wlr_pixman_texture_get_image | zccrs | |
Add the following functions: - wlr_renderer_is_pixman - wlr_texture_is_pixman - wlr_pixman_texture_get_image | |||
2021-06-19 | render/gles2: add wlr_renderer_is_gles2 | zccrs | |
Export the interface used to determine whether the wlr_renderer object is gles2. | |||
2021-06-09 | render: add missing arg to wlr_renderer_impl.get_buffer_caps | Simon Ser | |
The types of buffers supported by the renderer might depend on the renderer's instance. For instance, a renderer might only support DMA-BUFs if the necessary EGL extensions are available. Pass the wlr_renderer to get_buffer_caps so that the renderer can perform such checks. Fixes: 982498fab3c4 ("render: introduce renderer_get_render_buffer_caps") | |||
2021-06-01 | render: add wlr_renderer_begin_with_buffer | Simon Ser | |
This allows compositors to choose a wlr_buffer to render to. This is a less awkward interface than having to call bind_buffer() before and after begin() and end(). Closes: https://github.com/swaywm/wlroots/issues/2618 | |||
2021-05-17 | render: introduce wlr_texture_from_buffer | Simon Ser | |
This adds a a function to create a wlr_texture from a wlr_buffer. The main motivation for this is to allow the renderer to create a single wlr_texture per wlr_buffer. This can avoid needless imports by re-using existing textures. | |||
2021-05-17 | render: remove wlr_texture_get_size | Simon Ser | |
Users can just access the width/height fields directly. | |||
2021-04-28 | render: introduce renderer_get_render_buffer_caps | Simon Zeni | |
2021-04-20 | render/gles2: introduce wlr_gles2_renderer_create_with_drm_fd | Simon Zeni | |
2021-04-17 | render: introduce pixman renderer | Simon Zeni | |
2021-04-15 | render: rename get_dmabuf_render_formats into get_render_formats | Simon Zeni | |
2021-04-08 | render: drop support for ellipses | Simon Ser | |
For anything more complicated than quads, compositors can easily ship their own shaders. Closes: https://github.com/swaywm/wlroots/issues/2759 | |||
2021-04-08 | render: remove wlr_texture_to_dmabuf | Simon Ser | |
This is unused in wlroots, and the use-cases for compositors are pretty niche since they can access the original DMA-BUF via the wlr_buffer. | |||
2021-04-08 | render: drop wlr_renderer_blit_dmabuf | Simon Ser | |
It can be replaced with wlr_renderer_bind_buffer. blit_dmabuf is broken as-is (dies on an assertion). | |||
2021-02-23 | Remove unnecessary wayland-server-protocol.h includes | Simon Ser | |
2021-02-23 | render: use DRM formats in wlr_texture_from_pixels | Simon Ser | |
2021-02-23 | render: use DRM formats in wlr_renderer_read_pixels | Simon Ser | |
2021-02-23 | output: use DRM format in wlr_output_preferred_read_format | Simon Ser | |
2021-02-23 | render: use DRM formats in wlr_renderer_get_shm_texture_formats | Simon Ser | |
2021-02-02 | render/dmabuf: make src arg const in wlr_dmabuf_attributes_copy | Simon Ser | |
2021-01-29 | render/egl: remove *config_attribs and wlr_egl->config | Brandon Dowdy | |
Breaking changes: Both "EGLint *config_attribs" and "wlr_egl->config" no longer exist. | |||
2021-01-29 | render/egl: remove wlr_egl_{create,destroy}_surface | Brandon Dowdy | |
Breaking changes: wlr_egl_create_surface and wlr_egl_destroy_surface have been removed and no longer exist. | |||
2021-01-20 | Revert "render: add wlr_egl_create_from_drm_fd function" | Simon Ser | |
This reverts commit ee31be167b4e2c4682f3da6f22bddc23796f213d. | |||
2021-01-20 | Revert "render/egl: remove unused gbm_device member" | Simon Ser | |
This reverts commit 306cf11d8702c82be61e027a9bb76e27e89b34d3. | |||
2021-01-20 | render/egl: remove unused gbm_device member | Simon Zeni | |
2021-01-20 | render: add wlr_egl_create_from_drm_fd function | Simon Zeni | |
2021-01-16 | render: remove egl include from wlr_renderer | Simon Zeni | |
2021-01-16 | render: drop egl parameters from wlr_renderer_autocreate | Simon Zeni | |
2021-01-12 | render/egl: remove surface and buffer age args from make_current | Simon Ser | |
These aren't used anymore. | |||
2021-01-12 | render/egl: replace init/finish with create/destroy | Simon Ser | |
This ensures wlr_gles2_renderer can properly take ownership of the wlr_egl. Closes: https://github.com/swaywm/wlroots/issues/2612 | |||
2021-01-12 | render/egl: remove wlr_egl_swap_buffers | Simon Ser | |
2021-01-12 | render/egl: remove support for EGL_NATIVE_VISUAL_ID | Simon Ser | |
Nobody uses it anymore. | |||
2021-01-09 | render/egl: document NULL config_attribs passed to wlr_egl_init | Simon Ser | |
2021-01-09 | render/egl: use KHR function pointer type | Simon Ser | |
KHR is more "core" than EXT. | |||
2021-01-09 | render/egl: document that config may be zero | Simon Ser | |
2021-01-07 | remove unnecessary egl includes | Simon Zeni | |
2021-01-07 | backend: remove wlr_egl from all backends | Simon Zeni | |
2021-01-06 | render: remove EGL config and visual from wlr_renderer_autocreate | Simon Ser | |
This isn't used anymore by any backend. Some examples still provide an EGL config to wlr_egl_init, so we can't drop it yet there. | |||
2020-11-30 | render/egl: remove wlr_egl.external_only_dmabuf_formats | Simon Ser | |
Replace it with wlr_egl.dmabuf_render_formats. | |||
2020-11-30 | render: rename wlr_renderer_get_formats | Simon Ser | |
Rename wlr_renderer_get_formats to wlr_renderer_get_shm_texture_formats. This makes it clear those formats are only suitable for shm import. | |||
2020-11-30 | render: rename wlr_renderer_get_dmabuf_formats | Simon Ser | |
Rename wlr_renderer_get_dmabuf_formats to wlr_renderer_get_dmabuf_texture_formats. This makes it clear the formats are only suitable for creating wlr_textures. | |||
2020-11-30 | render: introduce wlr_renderer_get_dmabuf_render_formats | Simon Ser | |
It describes which DMA-BUF formats can be used to render. | |||
2020-11-30 | render: remove wlr_renderer_format_supported | Simon Ser | |
Instead, callers can just use wlr_renderer_get_formats and iterate over the list. This function was unused in wlroots. | |||
2020-11-30 | render: expand wlr_renderer_get{,_dmabuf}_formats docs | Simon Ser | |
Make it clear formats returned are only suitable for import/sampling. These formats can't be used to be rendered to. | |||
2020-11-19 | texture: document that functions should not be called while rendering | Ilia Bozhinov | |
2020-11-19 | render/egl: stop including eglmesaext.h | Simon Ser | |
This is a Mesa-specific header that was needed because some Wayland EGL extensions were missing from the Khronos registry. Now that this has been fixed [1] and Mesa [2] & glvnd [3] have sync'ed their headers, we can drop this workaround. [1]: https://github.com/KhronosGroup/EGL-Registry/pull/95 [2]: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4953 [3]: https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/225 | |||
2020-11-15 | render: introduce wlr_renderer_get_drm_fd | Simon Ser | |
2020-11-15 | render/egl: introduce wlr_egl_dup_drm_fd | Simon Ser | |
2020-11-15 | render: introduce wlr_renderer_bind_buffer | Simon Ser | |
2020-11-11 | Use uint32_t in wlr_renderer_begin signature | Isaac Freund | |
This matches the signature of wlr_renderer_impl.begin | |||
2020-11-02 | render: define EGL_NO_PLATFORM_SPECIFIC_TYPES (#2452) | Simon Ser | |
This avoids Xlib.h inclusion via EGL headers. See [1] for discussion. This change is based on a Weston commit [2]. [1]: https://github.com/KhronosGroup/EGL-Registry/pull/111 [2]: https://gitlab.freedesktop.org/wayland/weston/commit/526765ddfdfd |