Moved headers

This commit is contained in:
Scott Anderson 2017-08-06 21:49:04 +12:00
parent d307c2f2c2
commit 5f7042a1f2
7 changed files with 6 additions and 6 deletions

View file

@ -12,8 +12,8 @@
#include <wlr/interfaces/wlr_output.h> #include <wlr/interfaces/wlr_output.h>
#include <wlr/util/list.h> #include <wlr/util/list.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>
#include <backend/udev.h> #include "backend/udev.h"
#include "drm.h" #include "backend/drm.h"
static bool wlr_drm_backend_init(struct wlr_backend_state *drm) { static bool wlr_drm_backend_init(struct wlr_backend_state *drm) {
wlr_drm_scan_connectors(drm); wlr_drm_scan_connectors(drm);

View file

@ -5,7 +5,7 @@
#include <xf86drm.h> #include <xf86drm.h>
#include <xf86drmMode.h> #include <xf86drmMode.h>
#include <wlr/util/log.h> #include <wlr/util/log.h>
#include "drm-properties.h" #include "backend/drm-properties.h"
/* /*
* Creates a mapping between property names and an array index where to store * Creates a mapping between property names and an array index where to store

View file

@ -2,7 +2,7 @@
#include <string.h> #include <string.h>
#include <drm.h> #include <drm.h>
#include <drm_mode.h> #include <drm_mode.h>
#include "drm-util.h" #include "backend/drm-util.h"
int32_t calculate_refresh_rate(drmModeModeInfo *mode) { int32_t calculate_refresh_rate(drmModeModeInfo *mode) {
int32_t refresh = (mode->clock * 1000000LL / mode->htotal + int32_t refresh = (mode->clock * 1000000LL / mode->htotal +

View file

@ -18,8 +18,8 @@
#include <wlr/render/matrix.h> #include <wlr/render/matrix.h>
#include <wlr/render/gles2.h> #include <wlr/render/gles2.h>
#include <wlr/render.h> #include <wlr/render.h>
#include "drm.h" #include "backend/drm.h"
#include "drm-util.h" #include "backend/drm-util.h"
bool wlr_drm_check_features(struct wlr_backend_state *drm) { bool wlr_drm_check_features(struct wlr_backend_state *drm) {
if (drmSetClientCap(drm->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1)) { if (drmSetClientCap(drm->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1)) {