mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-24 08:56:28 -05:00
render: expand wlr_renderer_get{,_dmabuf}_formats docs
Make it clear formats returned are only suitable for import/sampling. These formats can't be used to be rendered to.
This commit is contained in:
parent
44cea53e72
commit
c15ca3793e
2 changed files with 5 additions and 3 deletions
|
|
@ -123,7 +123,7 @@ EGLImageKHR wlr_egl_create_image_from_dmabuf(struct wlr_egl *egl,
|
|||
struct wlr_dmabuf_attributes *attributes, bool *external_only);
|
||||
|
||||
/**
|
||||
* Get the available dmabuf formats
|
||||
* Get DMA-BUF formats suitable for sampling usage.
|
||||
*/
|
||||
const struct wlr_drm_format_set *wlr_egl_get_dmabuf_formats(struct wlr_egl *egl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue