mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-14 06:59:43 -05:00
Move allocator stuff into new directory
Add render/allocator/ and include/render/allocator/ to hold everything allocator-related.
This commit is contained in:
parent
b37731cdbb
commit
3ce2ea9e16
17 changed files with 35 additions and 34 deletions
|
|
@ -1,9 +1,8 @@
|
|||
#ifndef RENDER_ALLOCATOR
|
||||
#define RENDER_ALLOCATOR
|
||||
#ifndef RENDER_ALLOCATOR_ALLOCATOR_H
|
||||
#define RENDER_ALLOCATOR_ALLOCATOR_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/render/dmabuf.h>
|
||||
#include <wlr/render/drm_format_set.h>
|
||||
|
||||
struct wlr_allocator;
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
#ifndef RENDER_DRM_DUMB_ALLOCATOR_H
|
||||
#define RENDER_DRM_DUMB_ALLOCATOR_H
|
||||
|
||||
#include "render/allocator.h"
|
||||
#ifndef RENDER_ALLOCATOR_DRM_DUMB_H
|
||||
#define RENDER_ALLOCATOR_DRM_DUMB_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;
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
#ifndef RENDER_GBM_ALLOCATOR_H
|
||||
#define RENDER_GBM_ALLOCATOR_H
|
||||
#ifndef RENDER_ALLOCATOR_GBM_H
|
||||
#define RENDER_ALLOCATOR_GBM_H
|
||||
|
||||
#include <gbm.h>
|
||||
#include <wlr/render/dmabuf.h>
|
||||
#include <wlr/types/wlr_buffer.h>
|
||||
#include "render/allocator.h"
|
||||
#include "render/allocator/allocator.h"
|
||||
|
||||
struct wlr_gbm_buffer {
|
||||
struct wlr_buffer base;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef RENDER_SHM_ALLOCATOR_H
|
||||
#define RENDER_SHM_ALLOCATOR_H
|
||||
#ifndef RENDER_ALLOCATOR_SHM_H
|
||||
#define RENDER_ALLOCATOR_SHM_H
|
||||
|
||||
#include <wlr/types/wlr_buffer.h>
|
||||
#include "render/allocator.h"
|
||||
#include "render/allocator/allocator.h"
|
||||
|
||||
struct wlr_shm_buffer {
|
||||
struct wlr_buffer base;
|
||||
Loading…
Add table
Add a link
Reference in a new issue