aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-07-01 16:36:01 -0400
committerSimon Ser <contact@emersion.fr>2021-07-06 21:43:17 +0200
commite192d8773181681baa5f189b3375992ff41bc5e0 (patch)
tree26c46595336cf93d3f05ed9f2522b4750617d73a /include/wlr/render
parentd975f35bba6e128218de2696d5bce26656e3fd5f (diff)
move wlr_box from /types to /util
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/interface.h4
-rw-r--r--include/wlr/render/wlr_renderer.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index 1e355d43..b3a21b0b 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -13,10 +13,12 @@
#include <wayland-server-core.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/render/wlr_texture.h>
-#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_output.h>
#include <wlr/render/dmabuf.h>
+struct wlr_box;
+struct wlr_fbox;
+
struct wlr_renderer_impl {
bool (*bind_buffer)(struct wlr_renderer *renderer,
struct wlr_buffer *buffer);
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h
index 4a98443f..bae2fa97 100644
--- a/include/wlr/render/wlr_renderer.h
+++ b/include/wlr/render/wlr_renderer.h
@@ -13,7 +13,6 @@
#include <wayland-server-core.h>
#include <wlr/backend.h>
#include <wlr/render/wlr_texture.h>
-#include <wlr/types/wlr_box.h>
enum wlr_renderer_read_pixels_flags {
WLR_RENDERER_READ_PIXELS_Y_INVERT = 1,
@@ -22,6 +21,8 @@ enum wlr_renderer_read_pixels_flags {
struct wlr_renderer_impl;
struct wlr_drm_format_set;
struct wlr_buffer;
+struct wlr_box;
+struct wlr_fbox;
struct wlr_renderer {
const struct wlr_renderer_impl *impl;