Simon Ser
|
fe06e5f49a
|
Use wl_container_of() instead of casts
This slightly improves type safety.
The culprits were found with:
git grep -E '\([a-z0-9_ ]+ \*\)\W?[a-z]'
|
2023-07-11 20:16:17 +02:00 |
Simon Ser
|
86fc2199f8
|
build: unify naming for HAVE_* defines
We sometimes used HAS_, sometimes polluted the LIBINPUT_ namespace,
etc.
|
2022-12-06 22:39:45 +00:00 |
Simon Ser
|
cb6b1193c8
|
render/allocator/gbm: use internal_config
Removes a project argument.
|
2022-12-06 22:39:45 +00:00 |
Simon Ser
|
80cb89acee
|
render/allocator/gbm: log human-readable format and modifier
|
2022-09-14 12:13:17 +02:00 |
Simon Ser
|
39b68ea47a
|
buffer: extract interface to separate header
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3389
|
2022-03-03 15:39:05 +01:00 |
Simon Ser
|
affe9eda57
|
Require INVALID for implicit format modifiers
See [1] for the motivation.
[1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/75
|
2021-11-26 16:40:53 +00:00 |
Simon Zeni
|
02a1ae169e
|
render/allocator: make wlr_allocator part of the public API
|
2021-11-09 15:26:36 +00:00 |
Simon Ser
|
1d7e438d8a
|
Revert "Require INVALID for implicit format modifiers"
This reverts commit ea7357b703 .
|
2021-10-01 09:26:05 -06:00 |
Simon Ser
|
ea7357b703
|
Require INVALID for implicit format modifiers
See [1] for the motivation.
[1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/75
|
2021-10-01 09:21:50 -06:00 |
Simon Ser
|
38cd1b4f4f
|
render/allocator/gbm: add log message for gbm_bo_get_fd_for_plane
Makes it easier to find out which branch is taken when debugging
issues like [1].
[1]: https://github.com/swaywm/wlroots/issues/3156
|
2021-09-03 22:13:38 +02:00 |
Simon Ser
|
d9d8fc1ab9
|
render/allocator: re-open GBM FD
Using the same DRM file description for the DRM backend and for the
GBM allocator will result in GEM handle ref'counting issues [1].
Re-open the DRM FD to fix these issues.
[1]: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/110
|
2021-09-01 15:17:05 -04:00 |
Simon Ser
|
3ce2ea9e16
|
Move allocator stuff into new directory
Add render/allocator/ and include/render/allocator/ to hold
everything allocator-related.
|
2021-08-25 09:57:20 -04:00 |