aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/drm/drm.c1
-rw-r--r--backend/drm/renderer.c2
-rw-r--r--backend/wayland/output.c1
-rw-r--r--include/wlr/render/swapchain.h (renamed from include/render/swapchain.h)4
-rw-r--r--render/swapchain.c2
-rw-r--r--types/output/cursor.c2
-rw-r--r--types/output/output.c2
-rw-r--r--types/output/render.c2
8 files changed, 7 insertions, 9 deletions
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 <string.h>
#include <unistd.h>
#include <wayland-util.h>
+#include <wlr/render/swapchain.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/util/log.h>
@@ -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,
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index fbbfc205..28567502 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -18,7 +18,6 @@
#include "backend/wayland.h"
#include "render/pixel_format.h"
-#include "render/swapchain.h"
#include "render/wlr_renderer.h"
#include "linux-dmabuf-unstable-v1-client-protocol.h"
diff --git a/include/render/swapchain.h b/include/wlr/render/swapchain.h
index 243f0404..38b1fb8b 100644
--- a/include/render/swapchain.h
+++ b/include/wlr/render/swapchain.h
@@ -1,5 +1,5 @@
-#ifndef RENDER_SWAPCHAIN_H
-#define RENDER_SWAPCHAIN_H
+#ifndef WLR_RENDER_SWAPCHAIN_H
+#define WLR_RENDER_SWAPCHAIN_H
#include <stdbool.h>
#include <wayland-server-core.h>
diff --git a/render/swapchain.c b/render/swapchain.c
index 8d3b55f0..943879bb 100644
--- a/render/swapchain.c
+++ b/render/swapchain.c
@@ -1,10 +1,10 @@
#include <assert.h>
#include <stdlib.h>
#include <wlr/util/log.h>
+#include <wlr/render/swapchain.h>
#include <wlr/types/wlr_buffer.h>
#include "render/allocator/allocator.h"
#include "render/drm_format_set.h"
-#include "render/swapchain.h"
static void swapchain_handle_allocator_destroy(struct wl_listener *listener,
void *data) {
diff --git a/types/output/cursor.c b/types/output/cursor.c
index 2ddff8cd..6ab557b5 100644
--- a/types/output/cursor.c
+++ b/types/output/cursor.c
@@ -2,12 +2,12 @@
#include <drm_fourcc.h>
#include <stdlib.h>
#include <wlr/interfaces/wlr_output.h>
+#include <wlr/render/swapchain.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/util/log.h>
#include "render/allocator/allocator.h"
-#include "render/swapchain.h"
#include "types/wlr_buffer.h"
#include "types/wlr_output.h"
diff --git a/types/output/output.c b/types/output/output.c
index dc9aa6ad..c6b90a1d 100644
--- a/types/output/output.c
+++ b/types/output/output.c
@@ -4,12 +4,12 @@
#include <drm_fourcc.h>
#include <stdlib.h>
#include <wlr/interfaces/wlr_output.h>
+#include <wlr/render/swapchain.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/types/wlr_output_layer.h>
#include <wlr/util/log.h>
#include "render/allocator/allocator.h"
-#include "render/swapchain.h"
#include "types/wlr_output.h"
#include "util/env.h"
#include "util/global.h"
diff --git a/types/output/render.c b/types/output/render.c
index 8e0895a6..d3121af1 100644
--- a/types/output/render.c
+++ b/types/output/render.c
@@ -3,12 +3,12 @@
#include <stdlib.h>
#include <wlr/interfaces/wlr_output.h>
#include <wlr/render/interface.h>
+#include <wlr/render/swapchain.h>
#include <wlr/util/log.h>
#include <xf86drm.h>
#include "backend/backend.h"
#include "render/allocator/allocator.h"
#include "render/drm_format_set.h"
-#include "render/swapchain.h"
#include "render/wlr_renderer.h"
#include "render/pixel_format.h"
#include "types/wlr_output.h"