Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nanosvg: update to 93ce879dc4c04a3ef1758428ec80083c38610b1f | Daniel Eklöf | 2024-04-27 | 2 | -7/+13 |
| | |||||
* | png: do alpha pre-multiplication manually | Daniel Eklöf | 2024-04-18 | 2 | -3/+31 |
| | | | | | | | | | Something's up with libpng's alpha-mode... it's required to get proper alpha (transparency) on some images, but at the same time, that breaks other images (they are rendered way too dark). Doing the pre-multiplication manually seems to handle all images correctly. | ||||
* | changelog: add new 'unreleased' section | Daniel Eklöf | 2024-04-17 | 1 | -0/+11 |
| | |||||
* | meson/pkgbuild: bump version to 1.2.0 | Daniel Eklöf | 2024-04-17 | 2 | -2/+2 |
| | |||||
* | changelog: prepare for 1.2.0 | Daniel Eklöf | 2024-04-17 | 1 | -5/+6 |
| | |||||
* | changelog: svg support | Daniel Eklöf | 2024-01-03 | 1 | -0/+1 |
| | |||||
* | svg: initial support for SVG images, using nanosvg | Leonardo Hernández Hernández | 2023-12-15 | 23 | -3/+6651 |
| | |||||
* | Merge branch 'zoom' | Daniel Eklöf | 2023-10-26 | 2 | -0/+14 |
|\ | | | | | | | Closes #6 | ||||
| * | changelog: zoom instead of stretch | Daniel Eklöf | 2023-10-26 | 1 | -0/+6 |
| | | |||||
| * | always zoom into the image instead of stretching | sewn | 2023-10-26 | 1 | -0/+8 |
|/ | |||||
* | shm: try with MFD_NOEXEC_SEAL first, then without | Daniel Eklöf | 2023-10-13 | 1 | -2/+31 |
| | | | | | | | | | | | | | MFD_NOEXEC_SEAL is only supported on kernels 6.3 and later. If we were compiled on linux >= 6.3, but run on linux < 6.3, we'd exit with an error, due to memfd_create() failing with EINVAL. This patch fixes the problem by first trying to call memfd_create() *with* MFD_NOEXEC_SEAL, and if that fails with EINVAL, we try again without it. Also seal the memory FD once mmap() has been called. | ||||
* | main: mark surface as opaque | Daniel Eklöf | 2023-07-03 | 2 | -0/+9 |
| | |||||
* | pkgbuild: add changelog | Daniel Eklöf | 2023-06-13 | 1 | -0/+1 |
| | |||||
* | main: implement layer_surface::closed() event | Daniel Eklöf | 2023-01-02 | 2 | -6/+33 |
| | | | | | | | | | | | | | | | Destroy the surface, and clear the ‘configured’ flag. Note that we need to take care we don’t reference a destroyed output object; if the compositor destroyed the output before calling the closed() event, the ‘data’ argument will be an invalid pointer. Since removing the output global _also_ destroys the surface, we can handle this by looping all known output globals, and explicitly destroy the surface if we find a match. If we don’t find a match, that means the output has already been destroyed, and we don’t have to do anything at all. | ||||
* | pkgbuild: add libwebp dependency | Daniel Eklöf | 2022-10-27 | 1 | -1/+1 |
| | |||||
* | changelog: add new ‘unreleased’ section | Daniel Eklöf | 2022-10-24 | 1 | -0/+11 |
| | |||||
* | main: log version at startup | Daniel Eklöf | 2022-10-24 | 1 | -0/+3 |
| | |||||
* | generate-version.sh: fuzzel -> wbg (oops!) | Daniel Eklöf | 2022-10-24 | 1 | -1/+1 |
| | |||||
* | meson/pkgbuild: bump version to 1.1.0 | Daniel Eklöf | 2022-10-24 | 2 | -2/+2 |
| | |||||
* | changelog: prepare for 1.1.0 release | Daniel Eklöf | 2022-10-24 | 1 | -6/+5 |
| | |||||
* | changelog: rough backport of all changes/fixes since 1.0.2 release | Daniel Eklöf | 2022-10-24 | 1 | -0/+10 |
| | |||||
* | changelog: new file, empty for now | Daniel Eklöf | 2022-10-24 | 1 | -0/+13 |
| | |||||
* | webp: don’t ignore fread() errors | Daniel Eklöf | 2022-10-05 | 1 | -2/+1 |
| | | | | | | Fixes: ../webp.c:38:5: error: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] | ||||
* | readme: add webp info | Leonardo Hernández Hernández | 2022-10-04 | 1 | -3/+5 |
| | |||||
* | webp: simplify error path | Leonardo Hernández Hernández | 2022-10-04 | 1 | -14/+13 |
| | |||||
* | webp: intial support for WebP images, using libwebp | Leonardo Hernández Hernández | 2022-10-04 | 5 | -2/+97 |
| | |||||
* | main: Do not render a frame on same-size configure | Leonardo Hernandez Hernandez | 2022-03-14 | 1 | -1/+13 |
| | | | | Based on https://github.com/emersion/mako/pull/410 | ||||
* | meson: stop using deprecated functions, require meson >= 0.58 | Daniel Eklöf | 2022-02-27 | 1 | -4/+4 |
| | | | | | * get_pkgconfig_variable() -> get_variable() * meson.build_root() -> meson.global_build_root() | ||||
* | main: check for errors in wl_display_dispatch() | Daniel Eklöf | 2022-01-09 | 1 | -2/+6 |
| | |||||
* | meson: generate-version: use CURRENT_SOURCE_DIR instead of SOURCE_ROOT | Daniel Eklöf | 2021-12-21 | 1 | -1/+1 |
| | |||||
* | meson: run generate_version.sh in a C locale | Daniel Eklöf | 2021-08-25 | 2 | -2/+3 |
| | | | | | | | | Previously, only the date command inside the script was run with LC_TIME=C. But there’s no reason to be that conservative; we absolutely do not want _anything_ in that script to generate locale dependent output. | ||||
* | wlr-layer-shell: bump | Daniel Eklöf | 2021-06-27 | 1 | -9/+88 |
| | |||||
* | meson: version.sh: SOURCE_DIR is not valid in custom_targets() | Daniel Eklöf | 2021-05-04 | 1 | -1/+1 |
| | |||||
* | readme: add https://codeberg.org/droc12345/wbg to list of derivative work | Daniel Eklöf | 2021-04-28 | 1 | -0/+6 |
| | | | | Closes #2 | ||||
* | main: fix errno check | Daniel Eklöf | 2021-04-18 | 1 | -1/+1 |
| | |||||
* | shm: fix copy-paste typo in memfd name; this is wbg, not fuzzel | Daniel Eklöf | 2021-04-18 | 1 | -1/+1 |
| | |||||
* | pkgbuild: makedepends: add wayland-protocols | Daniel Eklöf | 2021-04-18 | 1 | -1/+1 |
| | |||||
* | pkgbuild: add missing dependency ‘pixman’ | Daniel Eklöf | 2021-02-26 | 1 | -1/+1 |
| | |||||
* | readme: add “repology” badge | Daniel Eklöf | 2021-02-23 | 1 | -0/+2 |
| | |||||
* | wayland: handle output’s being registered before layer-shell | Daniel Eklöf | 2020-12-03 | 1 | -22/+42 |
| | |||||
* | main: fix “may be used uninitialized” error | Daniel Eklöf | 2020-11-30 | 1 | -2/+2 |
| | |||||
* | main: error handling, closes #1 | Daniel Eklöf | 2020-11-30 | 1 | -12/+29 |
| | |||||
* | shm: use XRGB8888 instead of ARGB8888 | Daniel Eklöf | 2020-11-30 | 2 | -7/+13 |
| | |||||
* | render: no need to pre-fill the surface with red | Daniel Eklöf | 2020-11-19 | 1 | -8/+4 |
| | |||||
* | meson/pkgbuild: bump version to 1.0.1 | Daniel Eklöf | 2020-11-17 | 2 | -2/+2 |
| | |||||
* | main: re-render when output’s scale factor changes | Daniel Eklöf | 2020-11-17 | 1 | -0/+4 |
| | |||||
* | render: fix pixman transform’s scale factor when output has a scale factor > 1 | Daniel Eklöf | 2020-11-17 | 1 | -2/+2 |
| | |||||
* | meson/pkgbuild: bump version to 1.0.0 | Daniel Eklöf | 2020-11-13 | 2 | -2/+2 |
| | |||||
* | main: use wl_output_release() instead of wl_output_destroy() | Daniel Eklöf | 2020-11-13 | 1 | -1/+1 |
| | |||||
* | shm: don’t cache buffers | Daniel Eklöf | 2020-10-06 | 3 | -82/+17 |
| | | | | | | | | wbg typically only renders a buffer once. If we *do* need to re-render, it’s because something changed: the scaling factor, or a new monitor came online etc. Thus, there’s no point in caching buffers; it just uses up memory. |