fcft: include <fcft/fcft.h>, and use fcft/stride.h instead of local copy

This commit is contained in:
Daniel Eklöf 2019-12-01 14:03:24 +01:00
parent 5919b0642c
commit 30335ef32a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 5 additions and 14 deletions

2
main.c
View file

@ -10,7 +10,7 @@
#include <sys/sysinfo.h>
#include <fcft.h>
#include <fcft/fcft.h>
#define LOG_MODULE "main"
#define LOG_ENABLE_DBG 0

View file

@ -10,7 +10,7 @@
#include <wayland-cursor.h>
#include <xdg-shell.h>
#include <fcft.h>
#include <fcft/fcft.h>
#define LOG_MODULE "render"
#define LOG_ENABLE_DBG 0

2
shm.c
View file

@ -9,12 +9,12 @@
#include <pixman.h>
#include <fcft/stride.h>
#include <tllist.h>
#define LOG_MODULE "shm"
#define LOG_ENABLE_DBG 0
#include "log.h"
#include "stride.h"
static tll(struct buffer) buffers;

View file

@ -1,9 +0,0 @@
#pragma once
#include <pixman.h>
static inline int
stride_for_format_and_width(pixman_format_code_t format, int width)
{
return (((PIXMAN_FORMAT_BPP(format) * width + 7) / 8 + 4 - 1) & -4);
}

@ -1 +1 @@
Subproject commit 6377db4464f9a411c17b681f4a41c36950f1a232
Subproject commit 8a5c30d2ffb67b52f139cad1dd3b40d86c65a332

View file

@ -9,7 +9,7 @@
#include <semaphore.h>
#include <tllist.h>
#include <fcft.h>
#include <fcft/fcft.h>
//#include "config.h"
#include "fdm.h"