mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render/allocator: make wlr_allocator part of the public API
This commit is contained in:
parent
ab16861e86
commit
02a1ae169e
6 changed files with 70 additions and 48 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue