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 /render | |
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 'render')
-rw-r--r-- | render/allocator.c | 1 | ||||
-rw-r--r-- | render/drm_dumb_allocator.c | 1 | ||||
-rw-r--r-- | render/gbm_allocator.c | 1 | ||||
-rw-r--r-- | render/gles2/renderer.c | 1 | ||||
-rw-r--r-- | render/shm_allocator.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/render/allocator.c b/render/allocator.c index aade40a9..5b7e27ff 100644 --- a/render/allocator.c +++ b/render/allocator.c @@ -8,7 +8,6 @@ #include "render/shm_allocator.h" #include "render/drm_dumb_allocator.h" #include "render/wlr_renderer.h" -#include "types/wlr_buffer.h" void wlr_allocator_init(struct wlr_allocator *alloc, const struct wlr_allocator_interface *impl, uint32_t buffer_caps) { diff --git a/render/drm_dumb_allocator.c b/render/drm_dumb_allocator.c index 9713e078..c0038dff 100644 --- a/render/drm_dumb_allocator.c +++ b/render/drm_dumb_allocator.c @@ -15,7 +15,6 @@ #include "render/drm_dumb_allocator.h" #include "render/pixel_format.h" -#include "types/wlr_buffer.h" static const struct wlr_buffer_impl buffer_impl; diff --git a/render/gbm_allocator.c b/render/gbm_allocator.c index 8dd7b49c..154e5137 100644 --- a/render/gbm_allocator.c +++ b/render/gbm_allocator.c @@ -7,7 +7,6 @@ #include <wlr/util/log.h> #include <xf86drm.h> #include "render/gbm_allocator.h" -#include "types/wlr_buffer.h" static const struct wlr_buffer_impl buffer_impl; diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index 6862fe7d..2e1a1488 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -18,7 +18,6 @@ #include "render/egl.h" #include "render/gles2.h" #include "render/pixel_format.h" -#include "types/wlr_buffer.h" static const GLfloat verts[] = { 1, 0, // top right diff --git a/render/shm_allocator.c b/render/shm_allocator.c index 2066b125..1797433f 100644 --- a/render/shm_allocator.c +++ b/render/shm_allocator.c @@ -7,7 +7,6 @@ #include "render/pixel_format.h" #include "render/shm_allocator.h" #include "util/shm.h" -#include "types/wlr_buffer.h" static const struct wlr_buffer_impl buffer_impl; |