mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render/drm_format_set: add wlr_drm_format_{create,add}
This commit is contained in:
parent
253f447329
commit
d37214cb16
2 changed files with 50 additions and 39 deletions
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include <wlr/render/drm_format_set.h>
|
||||
|
||||
struct wlr_drm_format *wlr_drm_format_create(uint32_t format);
|
||||
bool wlr_drm_format_add(struct wlr_drm_format **fmt_ptr, uint64_t modifier);
|
||||
struct wlr_drm_format *wlr_drm_format_dup(const struct wlr_drm_format *format);
|
||||
/**
|
||||
* Intersect modifiers for two DRM formats.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue