diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-30 08:39:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-30 08:39:45 -0400 |
commit | 5d8e38702175fcc7cb991effeadca1f5a9308e6d (patch) | |
tree | 9cbc288ea690b5a038ac0ad7cf198c04d992c89f /include/wlr/render/egl.h | |
parent | 8c9d0f15ce416029256ebb437c99b93f34edba18 (diff) | |
parent | 28020ff57728d07ae0715fc15696b8fe40337b3d (diff) |
Merge pull request #1015 from emersion/dmabuf-single-modifier
Only allow one modifier per DMA-BUF, split attributes struct in render/
Diffstat (limited to 'include/wlr/render/egl.h')
-rw-r--r-- | include/wlr/render/egl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 4d837138..7cd5c5ca 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -6,7 +6,7 @@ #include <pixman.h> #include <stdbool.h> #include <wayland-server.h> -#include <wlr/types/wlr_linux_dmabuf.h> +#include <wlr/render/dmabuf.h> struct wlr_egl { EGLDisplay display; @@ -65,14 +65,14 @@ 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_buffer_attribs *attributes); + struct wlr_dmabuf_attributes *attributes); /** * Try to import the given dmabuf. On success return true false otherwise. * If this succeeds the dmabuf can be used for rendering on a texture */ bool wlr_egl_check_import_dmabuf(struct wlr_egl *egl, - struct wlr_dmabuf_buffer *dmabuf); + struct wlr_dmabuf_attributes *attributes); /** * Get the available dmabuf formats |