all: use public <wlr/render/allocator.h>

We don't need to use the private header in these files.
This commit is contained in:
Simon Ser 2024-11-07 18:48:20 +01:00
parent baeecc8dbd
commit 4ec1defb3e
8 changed files with 7 additions and 8 deletions

View file

@ -1,9 +1,9 @@
#ifndef RENDER_ALLOCATOR_DRM_DUMB_H
#define RENDER_ALLOCATOR_DRM_DUMB_H
#include <wlr/render/allocator.h>
#include <wlr/render/dmabuf.h>
#include <wlr/types/wlr_buffer.h>
#include "render/allocator/allocator.h"
struct wlr_drm_dumb_buffer {
struct wlr_buffer base;

View file

@ -2,9 +2,9 @@
#define RENDER_ALLOCATOR_GBM_H
#include <gbm.h>
#include <wlr/render/allocator.h>
#include <wlr/render/dmabuf.h>
#include <wlr/types/wlr_buffer.h>
#include "render/allocator/allocator.h"
struct wlr_gbm_buffer {
struct wlr_buffer base;

View file

@ -1,8 +1,8 @@
#ifndef RENDER_ALLOCATOR_SHM_H
#define RENDER_ALLOCATOR_SHM_H
#include <wlr/render/allocator.h>
#include <wlr/types/wlr_buffer.h>
#include "render/allocator/allocator.h"
struct wlr_shm_buffer {
struct wlr_buffer base;