From b33ab26fe7138f16dedd12ed360548e886408f30 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 20 Feb 2023 19:04:20 +0100 Subject: render/swapchain: make public We've had this struct for a while. It'd be useful for compositors if they want to manage the swap chains themselves instead of being forced to use wlr_output's. Some compositors might also want to use a swapchain without an output. --- backend/drm/drm.c | 1 - backend/drm/renderer.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'backend/drm') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 2c660b8e..7eacb2f0 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -27,7 +27,6 @@ #include "backend/drm/util.h" #include "render/pixel_format.h" #include "render/drm_format_set.h" -#include "render/swapchain.h" #include "render/wlr_renderer.h" #include "util/env.h" #include "config.h" diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index 4a9181e4..c24ff73d 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -15,7 +16,6 @@ #include "render/drm_format_set.h" #include "render/allocator/allocator.h" #include "render/pixel_format.h" -#include "render/swapchain.h" #include "render/wlr_renderer.h" bool init_drm_renderer(struct wlr_drm_backend *drm, -- cgit v1.2.3