37 Commits (6e6c4408d36ddad705458ca4b2e301192f7963fd)

Author SHA1 Message Date
Simon Ser ebef710746 renderer: replace get_render_buffer_caps() with struct field
8 months ago
Simon Ser 842093bb84 Define _POSIX_C_SOURCE globally
11 months ago
Austin Shafer d368028bd5 allocator: remove backend parameter in allocator_autocreate_with_drm_fd
11 months ago
Simon Ser 0b15b4a6ae render/allocator: log message when GBM is disabled
1 year ago
Simon Ser c74f89d4f8 Avoid using memcpy() to copy structs
1 year ago
Simon Ser fe06e5f49a Use wl_container_of() instead of casts
1 year ago
Simon Ser 7a9f8d8d6b Use struct initializers instead of memset()
1 year ago
Simon Ser be73da28b2 allocator: only use DRM auth if we are master
2 years ago
Simon Ser 96f3f3c92e render/pixel-format: add support for block-based formats
2 years ago
Simon Ser 86fc2199f8 build: unify naming for HAVE_* defines
2 years ago
Simon Ser cb6b1193c8 render/allocator/gbm: use internal_config
2 years ago
Simon Ser fdb24d19ca allocator/drm_dumb: use libdrm dumb buffer helpers
2 years ago
Simon Ser 58d4cfaca3 render/allocator/drm_dumb: drop finish_buffer()
2 years ago
Simon Ser c659792d7b render/allocator/drm_dumb: fix error handling
2 years ago
Simon Ser 3e7ea8715b render/allocator/drm_dumb: get format info before allocating
2 years ago
Simon Ser d81f68d2b4 render/allocator/drm_dumb: check modifier list
2 years ago
Simon Ser 5ef8a18a29 render/allocator/drm_dumb: advertise LINEAR instead of INVALID modifier
2 years ago
Simon Ser 80cb89acee render/allocator/gbm: log human-readable format and modifier
2 years ago
Alexander Orzechowski ef4baea0e2 Use wl_signal_emit_mutable
2 years ago
Simon Ser e26c3a02df build: fix enabled GBM when allocators=auto and auto_features=disabled
3 years ago
Simon Ser 99f63b03e7 Remove remaining wl_signal_emit calls
3 years ago
Simon Ser bb2946f737 build: make GBM optional
3 years ago
Simon Ser 6c350799b2 Zero-initialize structs in init functions
3 years ago
Samuel Čavoj 5c17452ae0
Pass O_CLOEXEC to drmModeCreateLease calls
3 years ago
Simon Ser 39b68ea47a buffer: extract interface to separate header
3 years ago
Simon Ser affe9eda57 Require INVALID for implicit format modifiers
3 years ago
Simon Ser e4f748c6e9 render/allocator: fallback to renderer DRM FD in autocreate
3 years ago
Simon Zeni 02a1ae169e render/allocator: make wlr_allocator part of the public API
3 years ago
Simon Ser 1b65a80e9d render/allocator: use empty DRM lease to re-open node
3 years ago
Simon Ser 13cdb84ee8 render/allocator: use render node if available in reopen_drm_node
3 years ago
Simon Ser 1d7e438d8a Revert "Require INVALID for implicit format modifiers"
3 years ago
Simon Ser ea7357b703 Require INVALID for implicit format modifiers
3 years ago
Simon Ser 4e7a8707cc buffer: add data_ptr access flags
3 years ago
Simon Ser 38cd1b4f4f render/allocator/gbm: add log message for gbm_bo_get_fd_for_plane
3 years ago
Simon Ser 7df2ae88fa render/allocator: use legacy authentication for primary nodes
3 years ago
Simon Ser d9d8fc1ab9 render/allocator: re-open GBM FD
3 years ago
Simon Ser 3ce2ea9e16 Move allocator stuff into new directory
3 years ago