aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/egl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/render/egl.h')
-rw-r--r--include/wlr/render/egl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index 627e9aaf..98435d91 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -65,6 +65,7 @@ struct wlr_egl {
struct wl_display *wl_display;
struct wlr_drm_format_set dmabuf_formats;
+ EGLBoolean **external_only_dmabuf_formats;
};
// TODO: Allocate and return a wlr_egl
@@ -106,7 +107,7 @@ EGLImageKHR wlr_egl_create_image_from_wl_drm(struct wlr_egl *egl,
* of the dmabuf with wlr_egl_check_import_dmabuf once first.
*/
EGLImageKHR wlr_egl_create_image_from_dmabuf(struct wlr_egl *egl,
- struct wlr_dmabuf_attributes *attributes);
+ struct wlr_dmabuf_attributes *attributes, bool *external_only);
/**
* Get the available dmabuf formats