diff options
author | Simon Ser <contact@emersion.fr> | 2020-11-18 13:40:08 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-11-30 11:08:44 +0100 |
commit | c15ca3793e35ae1cf755dd04d06f6c504b484350 (patch) | |
tree | 96cec7a931dce00b560001ddae38e2fb479f76c5 /include/wlr/render/egl.h | |
parent | 44cea53e7285fe25a81b3ce2dfb470daec27e6e4 (diff) |
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.
Diffstat (limited to 'include/wlr/render/egl.h')
-rw-r--r-- | include/wlr/render/egl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 46af0cf8..4ab672d3 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -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); |