Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-01-07 | remove unnecessary egl includes | Simon Zeni | |
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-15 | render: introduce wlr_renderer_get_drm_fd | Simon Ser | |
2020-11-15 | render: introduce wlr_renderer_bind_buffer | Simon Ser | |
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 | |||
2020-06-17 | render: add wlr_render_subtexture_with_matrix | Simon Ser | |
This renders only a subset of the texture, instead of the full texture. | |||
2020-06-08 | render: Add wlr_renderer_blit_dmabuf() | Andri Yngvason | |
2020-04-28 | render/texture: add width and height fields | Simon Ser | |
Instead of requiring compositors to call wlr_texture_get_size each time they want to access the texture's size, expose this information as wlr_texture fields. | |||
2020-03-23 | Return failure of wlr_renderer_init_wl_display() | Isaac Freund | |
This makes it easier for the user of this library to properly handle failure of this function. The signature of wlr_renderer_impl.init_wl_display was also modified to allow for proper error propagation. | |||
2020-01-24 | render: unconditionally disable implicit X11 includes | Simon Ser | |
Even if the X11 backend or Xwayland is enabled, we don't rely on EGL/egl.h including Xlib headers. | |||
2019-10-16 | Add new define EGL_NO_X11 for newer mesa library | Danilo Spinella | |
Define both MESA_EGL_NO_X11_HEADERS and EGL_NO_X11 for backward combatibility. | |||
2019-04-01 | render: switch wlr_renderer to wlr_drm_format_set | emersion | |
2018-12-22 | Protect against redefining MESA_EGL_NO_X11_HEADERS | Jente Hidskes | |
2018-11-12 | Use #if instead of #ifdef for wlroots config data | emersion | |
This prevents some annoying issues when e.g. not including wlr/config.h or making a typo in the guard name. | |||
2018-11-09 | Tell Mesa not to attempt X11 headers | Cedric Sodhi | |
If no X11 related things are being built, tell Mesa's eglplatform.h not to attempt inclusion of associated X11 header. | |||
2018-11-04 | render/gles2: remove assumptions about supported formats | emersion | |
We were assuming GL_BGRA_EXT was always supported. We now check that it's supported for rendering. We fail if it isn't because this format is specified as "always supported" by the Wayland protocol. We also check if it's supported for reading pixels. A new preferred_read_format function returns the preferred format that can be used to read pixels. This is used by the screencopy protocol. | |||
2018-10-15 | Remove fmt parameter from wlr_texture_write_pixels | nyorain | |
It's not allowed to change the format of a texture so remove the confusing parameter. | |||
2018-07-29 | Initial pass on API stability guarantees | Drew DeVault | |
This introduces -DWLR_USE_UNSTABLE and adds information regarding the stability status to all headers. I started with a conservative set of headers to mark as stable: - types/wlr_matrix.h - util/edges.h - util/log.h - util/region.h - xcursor.h | |||
2018-07-12 | render: add wlr_texture_is_opaque | emersion | |
2018-06-30 | screencopy: add support for frame flags | emersion | |
2018-06-17 | Merge branch 'master' into screencontent | emersion | |
2018-05-31 | Merge branch 'master' into screencontent | emersion | |
2018-05-30 | render: remove wlr_renderer_check_import_dmabuf | emersion | |
It's possible to implement it outside the renderer, by creating a texture and destroying it right away. This reduces the API surface of the renderer. | |||
2018-05-30 | Only allow one modifier per DMA-BUF, split attributes struct in render/ | emersion | |
2018-05-29 | render: add wlr_texture_to_dmabuf | emersion | |
2018-05-21 | render: bind wl_drm in renderer | emersion | |
2018-04-26 | Destroy wlr_surface with wlr_renderer | emersion | |
2018-04-08 | backend: remove wlr_backend_get_egl | emersion | |
2018-03-26 | Merge branch 'master' into texture-redesign | emersion | |
2018-03-26 | render: add simple functions to render rectangles and ellipses | emersion | |
2018-03-24 | Redesign wlr_texture | emersion | |
- Textures are now immutable (apart from those created from raw pixels), no more invalid textures - Move all wl_drm stuff in wlr_renderer - Most of wlr_texture fields are now private - Remove some duplicated DMA-BUF code in the DRM backend - Add more assertions - Stride is now always given as bytes rather than pixels - Drop wl_shm functions Fun fact: this patch has been written 10,000 meters up in the air. | |||
2018-03-21 | render/gles2: make wlr_renderer_begin take viewport size | emersion | |
This allows raw GL calls outside wlr_renderer to be removed. | |||
2018-03-20 | render/gles2: remove global state, use OpenGL debug extension | emersion | |
2018-03-19 | render: split render.h into wlr_renderer.h and wlr_texture.h | emersion | |
2018-03-15 | renderer: replace wlr_texture_get_matrix by wlr_render_texture | emersion | |
2018-03-15 | Merge branch 'master' into matrix-redesign | emersion | |
2018-03-15 | matrix: use 2D matrices | emersion | |
2018-03-15 | Add initial linux_dmabuf protocol support | Guido Günther | |
Tested with ./weston-simple-dmabuf-drm ./weston-simple-dmabuf-drm --import-immediate=1 ./weston-simple-dmabuf-drm --y-inverted=1 (and combinations) Supports only single plane XRGB dmabufs for now. | |||
2018-03-15 | matrix: unify API, don't use array pointers | emersion | |
2018-02-25 | Add alpha to wlr_render_with_matrix | Guido Günther | |
so we can use the alpha channel to e.g. blend in textures | |||
2018-02-12 | Reformat all #include directives | emersion | |
2018-02-03 | render: make wlr_renderer_clear take a float[4] for the color | emersion | |