render/allocator: make wlr_allocator part of the public API

This commit is contained in:
Simon Zeni 2021-11-09 09:42:22 -05:00 committed by Simon Ser
parent ab16861e86
commit 02a1ae169e
6 changed files with 70 additions and 48 deletions

View file

@ -3,6 +3,7 @@
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <wlr/render/allocator.h>
#include <wlr/util/log.h>
#include <xf86drm.h>
#include <xf86drmMode.h>

View file

@ -7,11 +7,13 @@
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
#include <wlr/backend.h>
#include <wlr/backend/session.h>
#include <wlr/render/allocator.h>
#include <wlr/render/drm_format_set.h>
#include <wlr/util/log.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <wlr/backend.h>
#include <wlr/backend/session.h>
#include "render/allocator/drm_dumb.h"
#include "render/pixel_format.h"

View file

@ -4,8 +4,11 @@
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <wlr/render/allocator.h>
#include <wlr/render/drm_format_set.h>
#include <wlr/util/log.h>
#include <xf86drm.h>
#include "render/allocator/gbm.h"
static const struct wlr_buffer_impl buffer_impl;

View file

@ -3,7 +3,10 @@
#include <stdlib.h>
#include <sys/mman.h>
#include <unistd.h>
#include <wlr/render/allocator.h>
#include <wlr/render/drm_format_set.h>
#include <wlr/util/log.h>
#include "render/pixel_format.h"
#include "render/allocator/shm.h"
#include "util/shm.h"