Commit graph

9 commits

Author SHA1 Message Date
Simon Ser
ef3cf54af4 Merge branch 'gbm-flags' into 'master'
Draft: render/allocator/gbm: add bo_flags arg to create function

See merge request wlroots/wlroots!4472
2024-08-18 19:27:22 +00:00
Austin Shafer
d368028bd5 allocator: remove backend parameter in allocator_autocreate_with_drm_fd
Since we only use the backend capabilities here we can simply pass
them in directly. This allows other locations to create an allocator
even if they don't have a backend. They can simply specify the caps
they want instead.
2024-02-02 16:36:31 -05:00
Simon Ser
a245201dad render/allocator/gbm: add bo_flags arg to create function
This allows callers to opt out of SCANOUT, for instance.
2023-11-30 21:10:31 +01:00
Simon Ser
bf75706555 render/allocator/gbm: add _with_drm_fd to create function name
Reserve wlr_gbm_allocator_create() for a potential future function
which takes an already-existing gbm_device as input.
2023-11-30 21:07:48 +01:00
Kirill Primak
a09d649439 docs: replace the less commonly used "::" with "." 2023-10-02 22:10:16 +03:00
Simon Zeni
02a1ae169e render/allocator: make wlr_allocator part of the public API 2021-11-09 15:26:36 +00:00
Elyes HAOUAS
dc3d1530bf Fix spelling errors
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
2021-10-02 10:22:13 +02:00
Simon Ser
ee6c841d47 render/allocator/gbm: fix create() docs for FD ownership
Fixes: d9d8fc1ab9 ("render/allocator: re-open GBM FD")
2021-09-01 21:34:34 +02: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