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.
This commit is contained in:
Simon Ser 2021-07-01 22:12:32 +02:00 committed by Simon Zeni
parent 29be2d47e4
commit a38baec1f8
14 changed files with 12 additions and 24 deletions

View file

@ -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(

View file

@ -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 =