38 Commits (fcc55ca1d0fabd9e7c29f2daeedbc9c7782f09ff)

Author SHA1 Message Date
Simon Ser 7a9f8d8d6b Use struct initializers instead of memset()
1 year ago
Tobias Predel e449c1dec8 wlr_drm_format_set_copy: Do not allocate heap
2 years ago
Alexander Orzechowski 47e175ae7f wlr_drm_format_set_intersect: Clear destination before trying to write to it
2 years ago
Alexander Orzechowski 300bd80772 wlr_drm_format_set: Store formats on array
2 years ago
Alexander Orzechowski 90d08f8f1c wlr_drm_format: Rework wlr_drm_format_intersect
2 years ago
Alexander Orzechowski 340700cb70 wlr_drm_format: Change wlr_drm_format_dup to copy
2 years ago
Alexander Orzechowski 099a147439 wlr_drm_format: Change wlr_drm_format_create to init
2 years ago
Alexander Orzechowski e427e019c4 wlr_drm_format: Don't take double pointer in wlr_drm_format_add
2 years ago
Alexander Orzechowski e6879616e7 wlr_drm_format: Make structure constant length
2 years ago
Alexander Orzechowski b45396c790 wlr_drm_format: Introduce drm_format_finish
2 years ago
Alexander Orzechowski 5adb1be3a7 drm_format_set_intersect: Require initialized dst and remove assert
2 years ago
Alexander Orzechowski 1ee75786b4 drm_format_set_union: Require initialized dst and remove assert
2 years ago
Austin Shafer ec37d55a5e Add union function for format sets
2 years ago
Brett Ernst 7d9938c957 drm_format_set: fix realloc size
2 years ago
Simon Zeni 4b3bbb0c4f render/drm_format_set: fill dst in wlr_drm_format_set_copy
2 years ago
Simon Ser c9b378d21a render/drm-format-set: add wlr_drm_format_set_copy()
2 years ago
Simon Ser 7201aae3d6 render/drm-format-set: add wlr_drm_format_set_intersect
3 years ago
Simon Ser 98f2efde98 render/drm_format_set: remove special LINEAR case
3 years ago
Simon Ser affe9eda57 Require INVALID for implicit format modifiers
3 years ago
Simon Ser d78cb808b1 render/drm_format_set: add wlr_drm_format_has
3 years ago
Demi Marie Obenour b5d4bc3c62 Improve wlr_drm_format documentation
3 years ago
Simon Ser 323b8498ad Revert "render/drm_format_set: add wlr_drm_format_has"
3 years ago
Simon Ser 1d7e438d8a Revert "Require INVALID for implicit format modifiers"
3 years ago
Simon Ser 42138a073b Revert "render/drm_format_set: remove special LINEAR case"
3 years ago
Simon Ser 6d281d96cb render/drm_format_set: remove special LINEAR case
3 years ago
Simon Ser ea7357b703 Require INVALID for implicit format modifiers
3 years ago
Simon Ser 833437d592 render/drm_format_set: add wlr_drm_format_has
3 years ago
Simon Ser c4635c68d2 render/drm_format_set: add special case for LINEAR-only formats
4 years ago
Simon Ser d37214cb16 render/drm_format_set: add wlr_drm_format_{create,add}
4 years ago
Simon Ser 8a6930c138
render/drm_format_set: assert len <= cap when duplicating
4 years ago
Simon Ser 29da97c185
render/drm_format_set: allocate using cap when duplicating
4 years ago
Simon Ser 82443ea46b render/drm_format_set: introduce wlr_drm_format_intersect
4 years ago
Simon Ser 7c6212a0f7 render/drm_format_set: introduce wlr_drm_format_dup
4 years ago
Simon Ser 01d4506253 render/drm_format_set: disallow DRM_FORMAT_INVALID
5 years ago
Drew DeVault 540e23d102 Revert "render/drm: keep old drm_format if realloc fails"
5 years ago
Antonin Décimo c1be9b6945 render/drm: keep old drm_format if realloc fails
5 years ago
Simon Ser e516ea4c79 backend/drm: check format when scanning out DMA-BUF
6 years ago
Scott Anderson c01b81c99c
render: introduce wlr_drm_format_set
6 years ago