diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-11-09 09:42:22 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-11-09 15:26:36 +0000 |
commit | 02a1ae169e66f53f2174add581c19d165d8ba882 (patch) | |
tree | 5468f7f8d49c058265da009700474e21015882be /render | |
parent | ab16861e8670c9d80a6188e7d878bb095c9b56ad (diff) |
render/allocator: make wlr_allocator part of the public API
Diffstat (limited to 'render')
-rw-r--r-- | render/allocator/allocator.c | 1 | ||||
-rw-r--r-- | render/allocator/drm_dumb.c | 6 | ||||
-rw-r--r-- | render/allocator/gbm.c | 3 | ||||
-rw-r--r-- | render/allocator/shm.c | 3 |
4 files changed, 11 insertions, 2 deletions
diff --git a/render/allocator/allocator.c b/render/allocator/allocator.c index 0244e07a..15d55a0d 100644 --- a/render/allocator/allocator.c +++ b/render/allocator/allocator.c @@ -3,6 +3,7 @@ #include <fcntl.h> #include <stdlib.h> #include <unistd.h> +#include <wlr/render/allocator.h> #include <wlr/util/log.h> #include <xf86drm.h> #include <xf86drmMode.h> diff --git a/render/allocator/drm_dumb.c b/render/allocator/drm_dumb.c index 170d9c33..5b47462b 100644 --- a/render/allocator/drm_dumb.c +++ b/render/allocator/drm_dumb.c @@ -7,11 +7,13 @@ #include <string.h> #include <sys/mman.h> #include <unistd.h> +#include <wlr/backend.h> +#include <wlr/backend/session.h> +#include <wlr/render/allocator.h> +#include <wlr/render/drm_format_set.h> #include <wlr/util/log.h> #include <xf86drm.h> #include <xf86drmMode.h> -#include <wlr/backend.h> -#include <wlr/backend/session.h> #include "render/allocator/drm_dumb.h" #include "render/pixel_format.h" diff --git a/render/allocator/gbm.c b/render/allocator/gbm.c index 86e4749b..b546e412 100644 --- a/render/allocator/gbm.c +++ b/render/allocator/gbm.c @@ -4,8 +4,11 @@ #include <fcntl.h> #include <stdlib.h> #include <unistd.h> +#include <wlr/render/allocator.h> +#include <wlr/render/drm_format_set.h> #include <wlr/util/log.h> #include <xf86drm.h> + #include "render/allocator/gbm.h" static const struct wlr_buffer_impl buffer_impl; diff --git a/render/allocator/shm.c b/render/allocator/shm.c index 77054dbe..044d5eb1 100644 --- a/render/allocator/shm.c +++ b/render/allocator/shm.c @@ -3,7 +3,10 @@ #include <stdlib.h> #include <sys/mman.h> #include <unistd.h> +#include <wlr/render/allocator.h> +#include <wlr/render/drm_format_set.h> #include <wlr/util/log.h> + #include "render/pixel_format.h" #include "render/allocator/shm.h" #include "util/shm.h" |