Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-01 | render: use wlr_dmabuf_buffer in wlr_texture_from_dmabuf | Simon Ser | |
2021-07-01 | render: use wlr_readonly_data_buffer in wlr_texture_from_pixels | Simon Ser | |
2021-05-19 | render: relax stride check in wlr_texture_from_pixels | Simon Ser | |
Some formats have a byte-per-pixel lower than 1. Let's not encode an arbitrary limitation into the wlr_renderer API. | |||
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-20 | render: Assert that texture dimensions are > 0 | nyorain | |
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-02-23 | render: use DRM formats in wlr_texture_from_pixels | Simon Ser | |
2020-04-28 | render/texture: make write_pixels optional | Simon Ser | |
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. | |||
2019-11-25 | render: remove return in wlr_texture_get_size | Simon Ser | |
Otherwise this error happens: ../subprojects/wlroots/render/wlr_texture.c: In function ‘wlr_texture_get_size’: ../subprojects/wlroots/render/wlr_texture.c:47:9: error: ISO C forbids ‘return’ with expression, in function returning void [-Werror=pedantic] 47 | return texture->impl->get_size(texture, width, height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../subprojects/wlroots/render/wlr_texture.c:45:6: note: declared here 45 | void wlr_texture_get_size(struct wlr_texture *texture, int *width, | ^~~~~~~~~~~~~~~~~~~~ | |||
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-12 | render: add wlr_texture_is_opaque | emersion | |
2018-05-31 | Merge branch 'master' into screencontent | emersion | |
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-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-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-19 | Revert "ELF Visibility" | Drew DeVault | |
2018-02-19 | Explicitly export EFL symbols | Scott Anderson | |
2018-02-12 | Reformat all #include directives | emersion | |
2017-10-01 | Multi-GPU DRM | Scott Anderson | |
2017-08-15 | implement texture get buffer size | Tony Crisci | |
2017-08-14 | impl->destroy cleanup: | Dominique Martinet | |
- remove trivial destroy() function - make sure we check impl and impl->destroy before calling - always call free if not implemented | |||
2017-08-14 | Fix software cursors | Drew DeVault | |
2017-08-14 | Refactor out wlr_texture_state | Drew DeVault | |
2017-08-10 | Implement drm (egl) buffer attaching | nyorain | |
2017-08-09 | Implement partial texture uploads | Drew DeVault | |
2017-08-08 | Rename wlr_surface -> wlr_texture; attach -> upload | nyorain | |