Simon Ser
|
cb6b1193c8
|
render/allocator/gbm: use internal_config
Removes a project argument.
|
2 years ago |
Simon Ser
|
80cb89acee
|
render/allocator/gbm: log human-readable format and modifier
|
2 years ago |
Simon Ser
|
39b68ea47a
|
buffer: extract interface to separate header
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3389
|
3 years ago |
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
|
3 years ago |
Simon Zeni
|
02a1ae169e
|
render/allocator: make wlr_allocator part of the public API
|
3 years ago |
Simon Ser
|
1d7e438d8a
|
Revert "Require INVALID for implicit format modifiers"
This reverts commit ea7357b703 .
|
3 years ago |
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
|
3 years ago |
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
|
3 years ago |
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
|
3 years ago |
Simon Ser
|
3ce2ea9e16
|
Move allocator stuff into new directory
Add render/allocator/ and include/render/allocator/ to hold
everything allocator-related.
|
3 years ago |