diff options
author | Simon Ser <contact@emersion.fr> | 2021-07-01 22:12:32 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-07-01 16:40:19 -0400 |
commit | a38baec1f89d423dea4be85a6233fed26d13732f (patch) | |
tree | 97803d29bafb5205981d9d1a7e3075a245a1f87b /backend | |
parent | 29be2d47e44bd1ac74b91f393f6b1e60f01ffa51 (diff) |
buffer: make enum wlr_buffer_cap public
Custom backends and renderers need to implement
wlr_backend_impl.get_buffer_caps and
wlr_renderer_impl.get_render_buffer_caps. They can't if enum
wlr_buffer_cap isn't made public.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/backend.c | 1 | ||||
-rw-r--r-- | backend/drm/drm.c | 1 | ||||
-rw-r--r-- | backend/headless/backend.c | 1 | ||||
-rw-r--r-- | backend/wayland/backend.c | 1 | ||||
-rw-r--r-- | backend/wayland/output.c | 1 | ||||
-rw-r--r-- | backend/x11/backend.c | 1 | ||||
-rw-r--r-- | backend/x11/output.c | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index dffd01c0..1b840a9e 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -12,7 +12,6 @@ #include <wlr/util/log.h> #include <xf86drm.h> #include "backend/drm/drm.h" -#include "types/wlr_buffer.h" #include "util/signal.h" struct wlr_drm_backend *get_drm_backend_from_backend( diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 3a5ad1b9..6cfdb648 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -28,7 +28,6 @@ #include "render/drm_format_set.h" #include "render/swapchain.h" #include "render/wlr_renderer.h" -#include "types/wlr_buffer.h" #include "util/signal.h" static const uint32_t SUPPORTED_OUTPUT_STATE = diff --git a/backend/headless/backend.c b/backend/headless/backend.c index a49a515f..cf7f6026 100644 --- a/backend/headless/backend.c +++ b/backend/headless/backend.c @@ -14,7 +14,6 @@ #include "render/drm_format_set.h" #include "render/gbm_allocator.h" #include "render/wlr_renderer.h" -#include "types/wlr_buffer.h" #include "util/signal.h" struct wlr_headless_backend *headless_backend_from_backend( diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c index 771f4405..079f6400 100644 --- a/backend/wayland/backend.c +++ b/backend/wayland/backend.c @@ -21,7 +21,6 @@ #include "render/drm_format_set.h" #include "render/pixel_format.h" #include "render/wlr_renderer.h" -#include "types/wlr_buffer.h" #include "util/signal.h" #include "drm-client-protocol.h" diff --git a/backend/wayland/output.c b/backend/wayland/output.c index 542185ce..d0f5f6dd 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -19,7 +19,6 @@ #include "render/pixel_format.h" #include "render/swapchain.h" #include "render/wlr_renderer.h" -#include "types/wlr_buffer.h" #include "util/signal.h" #include "linux-dmabuf-unstable-v1-client-protocol.h" diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 6c0e5a0b..478583f0 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -33,7 +33,6 @@ #include "backend/x11.h" #include "render/allocator.h" #include "render/drm_format_set.h" -#include "types/wlr_buffer.h" #include "util/signal.h" // See dri2_format_for_depth in mesa diff --git a/backend/x11/output.c b/backend/x11/output.c index 15d1d9a0..44219dde 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -21,7 +21,6 @@ #include <wlr/util/log.h> #include "backend/x11.h" -#include "types/wlr_buffer.h" #include "util/signal.h" #include "util/time.h" |